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

Stephan Bergmann sbergman at redhat.com
Mon Jul 4 06:17:14 UTC 2016


 sfx2/source/control/unoctitm.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit b60a5dc5b8551ba0144be965873fb78f8db5acce
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon Jul 4 08:16:39 2016 +0200

    loplugin:stringconstant
    
    Change-Id: I09f4dc83cd1408c4286a11a94f592b8e3d2b027c

diff --git a/sfx2/source/control/unoctitm.cxx b/sfx2/source/control/unoctitm.cxx
index 116d7b6..138a82b 100644
--- a/sfx2/source/control/unoctitm.cxx
+++ b/sfx2/source/control/unoctitm.cxx
@@ -1066,7 +1066,7 @@ static void InterceptLOKStateChangeEvent(const SfxViewFrame* pViewFrame, const c
 
         if (aEvent.IsEnabled && (aEvent.State >>= aPoint))
         {
-            aBuffer.append(OUString::number(aPoint.X) + OUString(" / ") + OUString::number(aPoint.Y));
+            aBuffer.append(OUString::number(aPoint.X) + " / " + OUString::number(aPoint.Y));
         }
     }
     else if (aEvent.FeatureURL.Path == "StatusBarFunc" ||
@@ -1076,7 +1076,7 @@ static void InterceptLOKStateChangeEvent(const SfxViewFrame* pViewFrame, const c
 
         if (aEvent.IsEnabled && (aEvent.State >>= aSize))
         {
-            aBuffer.append(OUString::number(aSize.Width) + OUString(" x ") + OUString::number(aSize.Height));
+            aBuffer.append(OUString::number(aSize.Width) + " x " + OUString::number(aSize.Height));
         }
     }
     else


More information about the Libreoffice-commits mailing list