diff options
-rw-r--r-- | svl/inc/pickerhelper.hxx | 4 | ||||
-rw-r--r-- | svl/source/filepicker/pickerhelper.cxx | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/svl/inc/pickerhelper.hxx b/svl/inc/pickerhelper.hxx index 307031b578d1..0c4215a1fb83 100644 --- a/svl/inc/pickerhelper.hxx +++ b/svl/inc/pickerhelper.hxx @@ -56,11 +56,11 @@ namespace svt SVL_DLLPUBLIC void SetDialogHelpId( ::com::sun::star::uno::Reference < ::com::sun::star::ui::dialogs::XFilePicker > _mxFileDlg, - sal_Int32 _nHelpId ); + const rtl::OString& _nHelpId ); SVL_DLLPUBLIC void SetDialogHelpId( ::com::sun::star::uno::Reference < ::com::sun::star::ui::dialogs::XFolderPicker > _mxFileDlg, - sal_Int32 _nHelpId ); + const rtl::OString& _nHelpId ); } diff --git a/svl/source/filepicker/pickerhelper.cxx b/svl/source/filepicker/pickerhelper.cxx index 72096c1bc56a..2d38d395f8f7 100644 --- a/svl/source/filepicker/pickerhelper.cxx +++ b/svl/source/filepicker/pickerhelper.cxx @@ -45,7 +45,7 @@ using rtl::OUString; namespace svt { void SetDialogHelpId( - Reference < css::ui::dialogs::XFilePicker > _mxFileDlg, sal_Int32 _nHelpId ) + Reference < css::ui::dialogs::XFilePicker > _mxFileDlg, const rtl::OString& _nHelpId ) { try { @@ -60,7 +60,7 @@ namespace svt if( xInfo.is() && xInfo->hasPropertyByName( sHelpURLPropertyName ) ) { // yep OUString sId( RTL_CONSTASCII_USTRINGPARAM( "HID:" ) ); - sId += OUString::valueOf( _nHelpId ); + sId += rtl::OStringToOUString( _nHelpId, RTL_TEXTENCODING_UTF8 ); xDialogProps->setPropertyValue( sHelpURLPropertyName, css::uno::makeAny( sId ) ); } } @@ -71,7 +71,7 @@ namespace svt } void SetDialogHelpId( - Reference< css::ui::dialogs::XFolderPicker > _mxFileDlg, sal_Int32 _nHelpId ) + Reference< css::ui::dialogs::XFolderPicker > _mxFileDlg, const rtl::OString& _nHelpId ) { try { @@ -86,7 +86,7 @@ namespace svt if( xInfo.is() && xInfo->hasPropertyByName( sHelpURLPropertyName ) ) { // yep OUString sId( RTL_CONSTASCII_USTRINGPARAM( "HID:" ) ); - sId += OUString::valueOf( _nHelpId ); + sId += rtl::OStringToOUString( _nHelpId, RTL_TEXTENCODING_UTF8 ); xDialogProps->setPropertyValue( sHelpURLPropertyName, css::uno::makeAny( sId ) ); } } |