sfx2: change variable jan to aUsageInfoMessage for clarity

Change-Id: Icc9d9b277ce2dca5ee13c381a105c387a42525c7
Reviewed-on: https://gerrit.libreoffice.org/21337
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
This commit is contained in:
Chris Sherlock 2016-01-11 16:02:35 +11:00
parent 7546390fb8
commit 07bb3d99e7

View File

@ -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();
}