summaryrefslogtreecommitdiff
path: root/cui/source/tabpages/tpbitmap.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-06-28 12:18:31 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-06-28 13:53:36 +0100
commitba23ece286671f8f9b5baf245239996e1e1fabdb (patch)
tree7314f9c83e9c92a72563856459c4a217fc42227e /cui/source/tabpages/tpbitmap.cxx
parent2ee701afd333ef01bc5d4f62543aaf0f5ac5ed3c (diff)
probably the last uses of the one argument String::CreateFromAscii variant
Change-Id: I36aab317da2f69f12aaefc24895ad9eaa6b69a7c
Diffstat (limited to 'cui/source/tabpages/tpbitmap.cxx')
-rw-r--r--cui/source/tabpages/tpbitmap.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/cui/source/tabpages/tpbitmap.cxx b/cui/source/tabpages/tpbitmap.cxx
index 01adb764584b..80880f172a58 100644
--- a/cui/source/tabpages/tpbitmap.cxx
+++ b/cui/source/tabpages/tpbitmap.cxx
@@ -706,7 +706,7 @@ IMPL_LINK_NOARG(SvxBitmapTabPage, ClickAddHdl_Impl)
IMPL_LINK_NOARG(SvxBitmapTabPage, ClickImportHdl_Impl)
{
ResMgr& rMgr = CUI_MGR();
- SvxOpenGraphicDialog aDlg( UniString::CreateFromAscii( RTL_CONSTASCII_STRINGPARAM( "Import" ) ) );
+ SvxOpenGraphicDialog aDlg(rtl::OUString("Import"));
aDlg.EnableLink(sal_False);
if( !aDlg.Execute() )
@@ -1014,7 +1014,7 @@ IMPL_LINK_NOARG(SvxBitmapTabPage, ClickSaveHdl_Impl)
aFile.Append( pBitmapList->GetName() );
if( aFile.getExtension().isEmpty() )
- aFile.SetExtension( UniString::CreateFromAscii( RTL_CONSTASCII_STRINGPARAM( "sob" ) ) );
+ aFile.SetExtension(rtl::OUString("sob"));
}
aDlg.SetDisplayDirectory( aFile.GetMainURL( INetURLObject::NO_DECODE ) );