summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2013-10-18 22:16:41 +0300
committerTor Lillqvist <tml@collabora.com>2013-10-18 22:17:02 +0300
commit1e49bb2d7fc7dcdf02833a189f2962c607967ba6 (patch)
tree8c9390d1f33e9138bcc971a128a6afd8f411f94c /sw
parentccbebd991b6bbce30d10b88f464140338f706c5b (diff)
Hopefully fix Android build
Change-Id: I85170f2d65dd17e0a04a261b0680f693e2917131
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/crsr/viscrs.cxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/sw/source/core/crsr/viscrs.cxx b/sw/source/core/crsr/viscrs.cxx
index a369f65778b2..ab2e2f863b88 100644
--- a/sw/source/core/crsr/viscrs.cxx
+++ b/sw/source/core/crsr/viscrs.cxx
@@ -267,7 +267,8 @@ void SwSelPaintRects::Show()
#endif
else if(!empty())
{
-#if !HAVE_FEATURE_DESKTOP && defined IOS
+#if !HAVE_FEATURE_DESKTOP
+#ifdef IOS
const OutputDevice* pOut = GetShell()->GetWin();
if ( ! pOut )
pOut = GetShell()->GetOut();
@@ -282,6 +283,9 @@ void SwSelPaintRects::Show()
}
touch_ui_selection_start(MLOSelectionText, GetShell(), rects, size(), NULL);
#else
+ // Not yet implemented
+#endif
+#else
SdrPaintWindow* pCandidate = pView->GetPaintWindow(0);
rtl::Reference< ::sdr::overlay::OverlayManager > xTargetOverlay = pCandidate->GetOverlayManager();