summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-08-26 23:44:02 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-08-27 08:00:34 +0200
commitc491f941baf69697f5812a26654881b35ad426e2 (patch)
tree65fc3ee51085ed755610ac85e2f02ad95e98b21b /sd
parentb71b5c85f1a9ebd30fb23e3ea0fc6db235586da3 (diff)
Use a more meaningful name for the out-arg of GetHelpId
Change-Id: I5fca36f79aa98606770c77dad5b757288bd47842
Diffstat (limited to 'sd')
-rw-r--r--sd/source/core/stlpool.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/core/stlpool.cxx b/sd/source/core/stlpool.cxx
index a45bbaa706ed..a5949a8b52fd 100644
--- a/sd/source/core/stlpool.cxx
+++ b/sd/source/core/stlpool.cxx
@@ -748,7 +748,6 @@ void SdStyleSheetPool::CopyLayoutSheets(const OUString& rLayoutName, SdStyleShee
std::vector<OUString> aNameList;
CreateLayoutSheetNames(rLayoutName,aNameList);
- OUString sEmpty;
for (std::vector<OUString>::const_iterator it = aNameList.begin(); it != aNameList.end(); ++it)
{
pSheet = Find(*it, SD_STYLE_FAMILY_MASTERPAGE);
@@ -760,7 +759,8 @@ void SdStyleSheetPool::CopyLayoutSheets(const OUString& rLayoutName, SdStyleShee
{
// In the case one comes with Methusalem-Docs.
SfxStyleSheetBase& rNewSheet = Make(*it, SD_STYLE_FAMILY_MASTERPAGE);
- rNewSheet.SetHelpId( sEmpty, pSourceSheet->GetHelpId( sEmpty ) );
+ OUString file;
+ rNewSheet.SetHelpId( file, pSourceSheet->GetHelpId( file ) );
rNewSheet.GetItemSet().Put(pSourceSheet->GetItemSet());
rCreatedSheets.push_back( SdStyleSheetRef( static_cast< SdStyleSheet* >( &rNewSheet ) ) );
}