summaryrefslogtreecommitdiff
path: root/cui/source/dialogs/pastedlg.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-09-26 08:30:52 +0200
committerNoel Grandin <noel@peralex.com>2013-10-01 10:08:42 +0200
commitea2c80bdcd862f91dd7429184aea29d9a77f9774 (patch)
treebe34aa41cac74b86ae6bcdd4e9b6b3563121a9b3 /cui/source/dialogs/pastedlg.cxx
parent183f260e7ed86c30d99313cdb3267c18abb65bd3 (diff)
convert CUI module from String to OUString
Change-Id: I79bdab414d448a0d619b80857d7b31633c116f81
Diffstat (limited to 'cui/source/dialogs/pastedlg.cxx')
-rw-r--r--cui/source/dialogs/pastedlg.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/cui/source/dialogs/pastedlg.cxx b/cui/source/dialogs/pastedlg.cxx
index 3b4ffb73cb82..87c672cb5061 100644
--- a/cui/source/dialogs/pastedlg.cxx
+++ b/cui/source/dialogs/pastedlg.cxx
@@ -84,7 +84,7 @@ SvPasteObjectDialog::~SvPasteObjectDialog()
/*************************************************************************
|* SvPasteObjectDialog::Insert()
*************************************************************************/
-void SvPasteObjectDialog::Insert( SotFormatStringId nFormat, const String& rFormatName )
+void SvPasteObjectDialog::Insert( SotFormatStringId nFormat, const OUString& rFormatName )
{
aSupplementMap.insert( ::std::make_pair( nFormat, rFormatName ) );
}
@@ -177,7 +177,7 @@ sal_uLong SvPasteObjectDialog::GetFormat( const TransferableDataHelper& rHelper,
ResMgr* pMgr = ResMgr::CreateResMgr( "svt", Application::GetSettings().GetUILanguageTag() );
// global resource from svtools (former so3 resource)
if( pMgr )
- aSourceName = String( ResId( STR_UNKNOWN_SOURCE, *pMgr ) );
+ aSourceName = OUString( ResId( STR_UNKNOWN_SOURCE, *pMgr ) );
delete pMgr;
}
}
@@ -204,7 +204,7 @@ sal_uLong SvPasteObjectDialog::GetFormat( const TransferableDataHelper& rHelper,
return nSelFormat;
}
-void SvPasteObjectDialog::SetObjName( const SvGlobalName & rClass, const String & rObjName )
+void SvPasteObjectDialog::SetObjName( const SvGlobalName & rClass, const OUString & rObjName )
{
aObjClassName = rClass;
aObjName = rObjName;