summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2015-02-16 16:42:15 +0200
committerTor Lillqvist <tml@collabora.com>2015-02-16 20:04:23 +0200
commit9da730a8fe253aad1778bba908f503a43081711b (patch)
tree02969cbcf8706a0a1d62bff81330dc5c56830f8b /sw
parent28474dcd834b04b851f25f8ec5840d0e72de3c71 (diff)
WaE: unused function 'lcl_getLayoutRect'
Change-Id: I1892d6c0c0466eea266b653f0b5907236cb84624
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/crsr/viscrs.cxx4
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();