summaryrefslogtreecommitdiff
path: root/sfx2/source/dialog/splitwin.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-07-02 16:02:38 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-07-03 21:24:35 +0100
commitbccf34c19ae022b67565e212fa4ec0d5213947de (patch)
tree73c2d2e29ad8d15999cbfb2ff554efa1e502a35e /sfx2/source/dialog/splitwin.cxx
parent285289275d1cf1769080a208b55be984cd269e1e (diff)
ditch String::CreateFromAscii
Change-Id: I2b482bd323ac510629c5ee31868010b7cd6ce691
Diffstat (limited to 'sfx2/source/dialog/splitwin.cxx')
-rw-r--r--sfx2/source/dialog/splitwin.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/dialog/splitwin.cxx b/sfx2/source/dialog/splitwin.cxx
index 72a043ad6f8d..1e3b37e56e1e 100644
--- a/sfx2/source/dialog/splitwin.cxx
+++ b/sfx2/source/dialog/splitwin.cxx
@@ -242,7 +242,7 @@ SfxSplitWindow::SfxSplitWindow( Window* pParent, SfxChildAlignment eAl,
if ( bWithButtons )
{
// Read Configuration
- String aWindowId = String::CreateFromAscii("SplitWindow");
+ String aWindowId = rtl::OUString("SplitWindow");
aWindowId += String::CreateFromInt32( (sal_Int32) eTbxAlign );
SvtViewOptions aWinOpt( E_WINDOW, aWindowId );
String aWinData;
@@ -344,7 +344,7 @@ void SfxSplitWindow::SaveConfig_Impl()
aWinData += String::CreateFromInt32( pDock->nType);
}
- String aWindowId = String::CreateFromAscii("SplitWindow");
+ String aWindowId = rtl::OUString("SplitWindow");
aWindowId += String::CreateFromInt32( (sal_Int32) GetAlign() );
SvtViewOptions aWinOpt( E_WINDOW, aWindowId );
aWinOpt.SetUserItem( USERITEM_NAME, makeAny( OUString( aWinData ) ) );