[Libreoffice-commits] core.git: sw/source

Tor Lillqvist tml at collabora.com
Mon Feb 16 10:05:25 PST 2015


 sw/source/core/crsr/viscrs.cxx |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit 9da730a8fe253aad1778bba908f503a43081711b
Author: Tor Lillqvist <tml at collabora.com>
Date:   Mon Feb 16 16:42:15 2015 +0200

    WaE: unused function 'lcl_getLayoutRect'
    
    Change-Id: I1892d6c0c0466eea266b653f0b5907236cb84624

diff --git a/sw/source/core/crsr/viscrs.cxx b/sw/source/core/crsr/viscrs.cxx
index 46b740b..8ad7b07 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();


More information about the Libreoffice-commits mailing list