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

Chris Sherlock chris.sherlock79 at gmail.com
Sun Jan 10 23:15:33 PST 2016


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

New commits:
commit 07bb3d99e7ea969f3543f2209d721c8c18fd33fe
Author: Chris Sherlock <chris.sherlock79 at gmail.com>
Date:   Mon Jan 11 16:02:35 2016 +1100

    sfx2: change variable jan to aUsageInfoMessage for clarity
    
    Change-Id: Icc9d9b277ce2dca5ee13c381a105c387a42525c7
    Reviewed-on: https://gerrit.libreoffice.org/21337
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Chris Sherlock <chris.sherlock79 at gmail.com>

diff --git a/sfx2/source/control/unoctitm.cxx b/sfx2/source/control/unoctitm.cxx
index 1a82906..5b4b8af 100644
--- a/sfx2/source/control/unoctitm.cxx
+++ b/sfx2/source/control/unoctitm.cxx
@@ -650,14 +650,14 @@ void UsageInfo::save()
 
     if( file.open(osl_File_OpenFlag_Read | osl_File_OpenFlag_Write | osl_File_OpenFlag_Create) == osl::File::E_None )
     {
-        OString jan = "Usage information:\n";
+        OString aUsageInfoMsg = "Usage information:\n";
 
         for (UsageMap::const_iterator it = maUsage.begin(); it != maUsage.end(); ++it)
-            jan += "\n" + it->first.toUtf8() + ";" + OString::number(it->second);
+            aUsageInfoMsg += "\n" + it->first.toUtf8() + ";" + OString::number(it->second);
 
-        jan += "\nUsage information end\n";
+        aUsageInfoMsg += "\nUsage information end\n";
         sal_uInt64 written = 0;
-        file.write(jan.pData->buffer, jan.getLength(), written);
+        file.write(aUsageInfoMsg.pData->buffer, aUsageInfoMsg.getLength(), written);
         file.close();
     }
 


More information about the Libreoffice-commits mailing list