summaryrefslogtreecommitdiff
path: root/sw/source/ui/app/docshini.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-10-14 13:37:23 +0200
committerNoel Grandin <noel@peralex.com>2013-10-15 12:25:48 +0200
commitfa469b2e00d83459faebe4c1fcb3ea1aac5fb20d (patch)
tree75796ca997b6142fa36c5ca9a1fcc4836cb2923a /sw/source/ui/app/docshini.cxx
parent6e788be6d378c33c3562bcff3df83b8ed96cda56 (diff)
convert sw/source/ui/app/*.cxx from String to OUString
Change-Id: I08cb425ae4be64116c3f88dad73d330a953af77a
Diffstat (limited to 'sw/source/ui/app/docshini.cxx')
-rw-r--r--sw/source/ui/app/docshini.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/sw/source/ui/app/docshini.cxx b/sw/source/ui/app/docshini.cxx
index 7910a1a5c3d1..fa6cba6a62b3 100644
--- a/sw/source/ui/app/docshini.cxx
+++ b/sw/source/ui/app/docshini.cxx
@@ -134,7 +134,7 @@ sal_Bool SwDocShell::InitNew( const uno::Reference < embed::XStorage >& xStor )
SwStdFontConfig* pStdFont = SW_MOD()->GetStdFontConfig();
SfxPrinter* pPrt = pDoc->getPrinter( false );
- String sEntry;
+ OUString sEntry;
sal_uInt16 aFontWhich[] =
{ RES_CHRATR_FONT,
RES_CHRATR_CJK_FONT,
@@ -574,8 +574,7 @@ sal_Bool SwDocShell::LoadFrom( SfxMedium& rMedium )
do { // middle check loop
sal_uInt32 nErr = ERR_SWG_READ_ERROR;
- String aStreamName;
- aStreamName = OUString("styles.xml");
+ OUString aStreamName = "styles.xml";
uno::Reference < container::XNameAccess > xAccess( rMedium.GetStorage(), uno::UNO_QUERY );
if ( xAccess->hasByName( aStreamName ) && rMedium.GetStorage()->isStreamElement( aStreamName ) )
{