summaryrefslogtreecommitdiff
path: root/sfx2/source/appl
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-08-27 13:31:45 +0200
committerNoel Grandin <noel@peralex.com>2013-08-29 09:30:09 +0200
commitfd7ef5f6386d6ba6951c88ebfafb107f1fa63400 (patch)
treea33a3997f30d70f1012e5fcc45eb711e4207be54 /sfx2/source/appl
parente7cd49ebb08a839161429519d6a0e0eda4839d41 (diff)
convert include/sfx2/doctempl.hxx from String to OUString
Change-Id: I0d4232afa37539bafd779b1cc9a323aabb1d6b0e
Diffstat (limited to 'sfx2/source/appl')
-rw-r--r--sfx2/source/appl/appopen.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/sfx2/source/appl/appopen.cxx b/sfx2/source/appl/appopen.cxx
index a88300ed0be5..c4c0d779c087 100644
--- a/sfx2/source/appl/appopen.cxx
+++ b/sfx2/source/appl/appopen.cxx
@@ -483,7 +483,7 @@ void SfxApplication::NewDocExec_Impl( SfxRequest& rReq )
SfxObjectShellLock xDoc;
- String aTemplateRegion, aTemplateName, aTemplateFileName;
+ OUString aTemplateRegion, aTemplateName, aTemplateFileName;
sal_Bool bDirect = sal_False; // through FileName instead of Region/Template
SfxErrorContext aEc(ERRCTX_SFX_NEWDOC);
if ( !pTemplNameItem && !pTemplFileNameItem )
@@ -535,10 +535,10 @@ void SfxApplication::NewDocExec_Impl( SfxRequest& rReq )
if ( !bDirect )
{
SfxDocumentTemplates aTmpFac;
- if( !aTemplateFileName.Len() )
+ if( aTemplateFileName.isEmpty() )
aTmpFac.GetFull( aTemplateRegion, aTemplateName, aTemplateFileName );
- if( !aTemplateFileName.Len() )
+ if( aTemplateFileName.isEmpty() )
lErr = ERRCODE_SFX_TEMPLATENOTFOUND;
}
@@ -558,7 +558,7 @@ void SfxApplication::NewDocExec_Impl( SfxRequest& rReq )
const SfxPoolItem *pRet=0;
SfxStringItem aReferer( SID_REFERER, "private:user" );
SfxStringItem aTarget( SID_TARGETNAME, "_default" );
- if ( aTemplateFileName.Len() )
+ if ( !aTemplateFileName.isEmpty() )
{
DBG_ASSERT( aObj.GetProtocol() != INET_PROT_NOT_VALID, "Illegal URL!" );