Add routine for checking out-of-memory on get_surrounding_text
[platform/core/uifw/libscl-core.git] / src / sclcoreimpl.h
old mode 100644 (file)
new mode 100755 (executable)
index 78c84be..5a20507
@@ -101,7 +101,7 @@ public:
 
     void set_selection(sclint start, sclint end);
     void send_private_command(const sclchar *command);
-    void get_surrounding_text(sclint maxlen_before, sclint maxlen_after, sclchar **text, int &cursor);
+    sclint get_surrounding_text(sclint maxlen_before, sclint maxlen_after, sclchar **text, int &cursor);
     void get_selection_text(sclchar **text);
 
 private: