summaryrefslogtreecommitdiff
path: root/sd/source/ui/view/drviews2.cxx
diff options
context:
space:
mode:
authorIvan Timofeev <timofeev.i.s@gmail.com>2013-08-15 16:56:09 +0400
committerIvan Timofeev <timofeev.i.s@gmail.com>2013-08-15 16:56:46 +0400
commit1edb495a45fde1d788b409fd1a9a839bd370c426 (patch)
tree3f113ad6c8232843816ea1bebe4daa5fd8a842f9 /sd/source/ui/view/drviews2.cxx
parent7cab33ab66e08f5757635b2989f83bbb7f9ebc67 (diff)
convert GetName/Title/Description methods to OUString
Change-Id: Id16a2b29b1d6cf02b94cc6c423e2475a9cbeb8a3
Diffstat (limited to 'sd/source/ui/view/drviews2.cxx')
-rw-r--r--sd/source/ui/view/drviews2.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sd/source/ui/view/drviews2.cxx b/sd/source/ui/view/drviews2.cxx
index f4f6eeb2136d..d1d96b32dbeb 100644
--- a/sd/source/ui/view/drviews2.cxx
+++ b/sd/source/ui/view/drviews2.cxx
@@ -445,9 +445,9 @@ void DrawViewShell::FuTemporary(SfxRequest& rReq)
if( aNameDlg->Execute() == RET_OK )
{
- String aNewName;
+ OUString aNewName;
aNameDlg->GetName( aNewName );
- if( ! aNewName.Equals( aPageName ) )
+ if (aNewName != aPageName)
{
#ifdef DBG_UTIL
bool bResult =
@@ -2036,7 +2036,7 @@ void DrawViewShell::FuTemporary(SfxRequest& rReq)
// #i68101#
SdrObject* pSelected = mpDrawView->GetMarkedObjectByIndex(0L);
OSL_ENSURE(pSelected, "DrawViewShell::FuTemp03: nMarkCount, but no object (!)");
- String aName(pSelected->GetName());
+ OUString aName(pSelected->GetName());
SvxAbstractDialogFactory* pFact = SvxAbstractDialogFactory::Create();
OSL_ENSURE(pFact, "Dialogdiet fail!");
@@ -2070,8 +2070,8 @@ void DrawViewShell::FuTemporary(SfxRequest& rReq)
{
SdrObject* pSelected = mpDrawView->GetMarkedObjectByIndex(0L);
OSL_ENSURE(pSelected, "DrawViewShell::FuTemp03: nMarkCount, but no object (!)");
- String aTitle(pSelected->GetTitle());
- String aDescription(pSelected->GetDescription());
+ OUString aTitle(pSelected->GetTitle());
+ OUString aDescription(pSelected->GetDescription());
SvxAbstractDialogFactory* pFact = SvxAbstractDialogFactory::Create();
OSL_ENSURE(pFact, "Dialogdiet fail!");