From 1e49bb2d7fc7dcdf02833a189f2962c607967ba6 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Fri, 18 Oct 2013 22:16:41 +0300 Subject: [PATCH] Hopefully fix Android build Change-Id: I85170f2d65dd17e0a04a261b0680f693e2917131 --- sw/source/core/crsr/viscrs.cxx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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(); @@ -281,6 +282,9 @@ void SwSelPaintRects::Show() size.Width(), size.Height()); } 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();