summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
authorPtyl Dragon <ptyl@cloudon.com>2013-10-29 16:11:29 +0200
committerJan Holesovsky <kendy@collabora.com>2013-11-15 16:51:54 +0100
commit641d79b388c26390a6b17d57ecf992458c2a9223 (patch)
tree6468ed55fa548e81ab7f2a6e0fd6a86143f99e5a /sw/source
parent486106308116b6c7cfae206cdd122acf825c65c6 (diff)
added Size touch_lo_get_content_size()
Change-Id: I0874f511e217713ba695e55d07133378a33fced9
Diffstat (limited to 'sw/source')
-rw-r--r--sw/source/core/view/viewsh.cxx10
1 files changed, 10 insertions, 0 deletions
diff --git a/sw/source/core/view/viewsh.cxx b/sw/source/core/view/viewsh.cxx
index 5c2263bae620..c6cf0d324a9b 100644
--- a/sw/source/core/view/viewsh.cxx
+++ b/sw/source/core/view/viewsh.cxx
@@ -1813,6 +1813,16 @@ void touch_lo_draw_tile(void * context, int contextWidth, int contextHeight, int
}
}
+extern "C"
+Size touch_lo_get_content_size()
+{
+ SwWrtShell *pViewShell = GetActiveWrtShell();
+ Size contentSize(0,0);
+ if (pViewShell)
+ {
+ }
+ return contentSize;
+}
#endif
extern "C" void touch_ui_selection_none() {}