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

Tor Lillqvist tml at collabora.com
Mon Oct 30 14:39:18 UTC 2017


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

New commits:
commit 4913a117f8be045b3b1e2f2ef09d7f6a85ff076b
Author: Tor Lillqvist <tml at collabora.com>
Date:   Mon Oct 30 12:34:25 2017 +0200

    'r' means C++ reference, but this mormal local OUString variable is not that
    
    Change-Id: I56d21c3dc09f972a415bbd74dc635b231373d9f3

diff --git a/sfx2/source/appl/childwin.cxx b/sfx2/source/appl/childwin.cxx
index 8ce0dda592e4..37391b4c3dee 100644
--- a/sfx2/source/appl/childwin.cxx
+++ b/sfx2/source/appl/childwin.cxx
@@ -286,12 +286,12 @@ void SfxChildWindow::SaveStatus(const SfxChildWinInfo& rInfo)
 {
     sal_uInt16 nID = GetType();
 
-    OUString rInfoVisible = rInfo.bVisible ? OUString("V") : OUString("H");
+    OUString aInfoVisible = rInfo.bVisible ? OUString("V") : OUString("H");
 
     OUString aWinData = "V"
                       + OUString::number(static_cast<sal_Int32>(nVersion))
                       + ","
-                      + rInfoVisible
+                      + aInfoVisible
                       + ","
                       + OUString::number(static_cast<sal_Int32>(rInfo.nFlags));
 


More information about the Libreoffice-commits mailing list