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

Tor Lillqvist tml at collabora.com
Tue Oct 22 15:17:29 PDT 2013


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

New commits:
commit 1533952b46abaafdc6f05356d2d5a71749146b7c
Author: Tor Lillqvist <tml at collabora.com>
Date:   Wed Oct 23 01:16:50 2013 +0300

    WaE: declaration shadows a member of 'this'
    
    Change-Id: I1f5b3ffccb89a5b9111e60c0a1943e1642c3499b

diff --git a/sw/source/core/crsr/viscrs.cxx b/sw/source/core/crsr/viscrs.cxx
index e766fa5..68e6a5b 100644
--- a/sw/source/core/crsr/viscrs.cxx
+++ b/sw/source/core/crsr/viscrs.cxx
@@ -297,12 +297,14 @@ void SwSelPaintRects::Show()
                 for (size_t i = 0; i < size(); ++i)
                 {
                     Point origin = pOut->LogicToPixel((*this)[i].Pos());
-                    Size size = pOut->LogicToPixel((*this)[i].SSize());
+                    Size ssize = pOut->LogicToPixel((*this)[i].SSize());
 #ifdef IOS
                     rects[i] = CGRectMake(origin.X(), origin.Y(),
-                                          size.Width(), size.Height());
+                                          ssize.Width(), ssize.Height());
 #else
                     // Not yet implemented
+                    (void) origin;
+                    (void) ssize;
 #endif
                 }
                 // GetShell returns a SwCrsrShell which actually is a SwWrtShell


More information about the Libreoffice-commits mailing list