diff options
-rw-r--r-- | sw/source/core/crsr/viscrs.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sw/source/core/crsr/viscrs.cxx b/sw/source/core/crsr/viscrs.cxx index 46b740ba5a7f..8ad7b07f4602 100644 --- a/sw/source/core/crsr/viscrs.cxx +++ b/sw/source/core/crsr/viscrs.cxx @@ -257,6 +257,8 @@ void SwSelPaintRects::Hide() SwRects::clear(); } +#if HAVE_FEATURE_DESKTOP || defined(ANDROID) + /** * Return a layout rectangle (typically with minimal width) that represents a * cursor at rPosition. @@ -274,6 +276,8 @@ static SwRect lcl_getLayoutRect(const Point& rPoint, const SwPosition& rPosition return aRect; } +#endif + void SwSelPaintRects::Show() { SdrView* pView = (SdrView*)pCShell->GetDrawView(); |