From c491f941baf69697f5812a26654881b35ad426e2 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Wed, 26 Aug 2015 23:44:02 +0200 Subject: Use a more meaningful name for the out-arg of GetHelpId Change-Id: I5fca36f79aa98606770c77dad5b757288bd47842 --- sd/source/core/stlpool.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sd') 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 aNameList; CreateLayoutSheetNames(rLayoutName,aNameList); - OUString sEmpty; for (std::vector::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 ) ) ); } -- cgit