diff --git a/sfx2/source/control/unoctitm.cxx b/sfx2/source/control/unoctitm.cxx index 1a8290638aae..5b4b8af3625f 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(); }