summaryrefslogtreecommitdiff
path: root/svl/source/filepicker
diff options
context:
space:
mode:
authorMathias Bauer <mba@openoffice.org>2010-07-19 22:05:23 +0200
committerMathias Bauer <mba@openoffice.org>2010-07-19 22:05:23 +0200
commita3cfa6f635948c67ccb34ad4040230de2ec38da1 (patch)
treee894e1ce86984fe71f67bc23c4cdc2074e4888e6 /svl/source/filepicker
parente05c938a71a1e9698d036a8e6dae5d2a208ddd07 (diff)
CWS changehid: #i111784#: SetDialogHelpId changed
Diffstat (limited to 'svl/source/filepicker')
-rw-r--r--svl/source/filepicker/pickerhelper.cxx8
1 files changed, 4 insertions, 4 deletions
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 ) );
}
}