diff options
Diffstat (limited to 'helpcompiler/source/HelpLinker.cxx')
-rw-r--r-- | helpcompiler/source/HelpLinker.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/helpcompiler/source/HelpLinker.cxx b/helpcompiler/source/HelpLinker.cxx index 166ff9918f76..b272d2c010e5 100644 --- a/helpcompiler/source/HelpLinker.cxx +++ b/helpcompiler/source/HelpLinker.cxx @@ -848,7 +848,7 @@ bool compileExtensionHelp ( const OUString& aOfficeHelpPath, std::u16string_view aExtensionName, - const OUString& aExtensionLanguageRoot, + std::u16string_view aExtensionLanguageRoot, sal_Int32 nXhpFileCount, const OUString* pXhpFiles, std::u16string_view aDestination, HelpProcessingErrorInfo& o_rHelpProcessingErrorInfo @@ -905,7 +905,7 @@ bool compileExtensionHelp // The following basically checks if the help.tree is well formed XML. // Apparently there have been cases when translations contained // non-well-formed XML in the past. - OUString aTreeFileURL = aExtensionLanguageRoot + "/help.tree"; + OUString aTreeFileURL = OUString::Concat(aExtensionLanguageRoot) + "/help.tree"; osl::DirectoryItem aTreeFileItem; osl::FileBase::RC rcGet = osl::DirectoryItem::get( aTreeFileURL, aTreeFileItem ); osl::FileStatus aFileStatus( osl_FileStatus_Mask_FileSize ); |