diff options
author | Ptyl Dragon <ptyl@cloudon.com> | 2013-10-23 18:35:40 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2013-11-15 16:51:51 +0100 |
commit | 2ffb7509ecee55209beae73c3bc8df60e44d3e35 (patch) | |
tree | 34e14dfae02fd074295821c8db60c45e49a5656b /sw | |
parent | 9c253aeea11bdce01d96c52623ea04697ed9840f (diff) |
refactored to allow copying FixedImage to ios
Change-Id: Icecdae8ea2bb68c228f038758af8fb688ce9dd4a
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/view/viewsh.cxx | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/sw/source/core/view/viewsh.cxx b/sw/source/core/view/viewsh.cxx index 1cdfd53c8568..b219ef02573b 100644 --- a/sw/source/core/view/viewsh.cxx +++ b/sw/source/core/view/viewsh.cxx @@ -17,6 +17,12 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ +#ifdef IOS + +#include <touch/touch.h> + +#endif + #include <com/sun/star/accessibility/XAccessible.hpp> #include <sfx2/viewfrm.hxx> #include <sfx2/progress.hxx> @@ -1761,7 +1767,7 @@ void SwViewShell::PaintTile(OutputDevice *pOut, const Rectangle &rRect) #if !HAVE_FEATURE_DESKTOP extern "C" -void touch_lo_draw_tile(void * /*context*/, int contextWidth, int contextHeight, int tilePosX, int tilePosY, int tileWidth, int tileHeight) +void touch_lo_draw_tile(void * context, int contextWidth, int contextHeight, int tilePosX, int tilePosY, int tileWidth, int tileHeight) { // Currently we expect that only one document is open, so we are using the // current shell. Should it turn out that we need to have more documents @@ -1788,6 +1794,8 @@ void touch_lo_draw_tile(void * /*context*/, int contextWidth, int contextHeight, #endif +extern "C" void touch_ui_selection_none() {} + void SwViewShell::SetBrowseBorder( const Size& rNew ) { if( rNew != maBrowseBorder ) |