diff options
author | Noel Grandin <noel@peralex.com> | 2013-08-27 13:31:45 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2013-08-29 09:30:09 +0200 |
commit | fd7ef5f6386d6ba6951c88ebfafb107f1fa63400 (patch) | |
tree | a33a3997f30d70f1012e5fcc45eb711e4207be54 /sfx2/source/view | |
parent | e7cd49ebb08a839161429519d6a0e0eda4839d41 (diff) |
convert include/sfx2/doctempl.hxx from String to OUString
Change-Id: I0d4232afa37539bafd779b1cc9a323aabb1d6b0e
Diffstat (limited to 'sfx2/source/view')
-rw-r--r-- | sfx2/source/view/frmload.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/view/frmload.cxx b/sfx2/source/view/frmload.cxx index d901cdb1e4dd..fc47a787baf4 100644 --- a/sfx2/source/view/frmload.cxx +++ b/sfx2/source/view/frmload.cxx @@ -323,7 +323,7 @@ bool SfxFrameLoader_Impl::impl_determineTemplateDocument( ::comphelper::NamedVal const OUString sURL = io_rDescriptor.getOrDefault( "URL", OUString() ); // determine the full URL of the template to use, if any - String sTemplateURL; + OUString sTemplateURL; if ( !sTemplateRegioName.isEmpty() && !sTemplateName.isEmpty() ) { SfxDocumentTemplates aTmpFac; @@ -337,7 +337,7 @@ bool SfxFrameLoader_Impl::impl_determineTemplateDocument( ::comphelper::NamedVal sTemplateURL = SfxObjectFactory::GetStandardTemplate( SfxObjectShell::GetServiceNameFromFactory( sURL ) ); } - if ( sTemplateURL.Len() > 0 ) + if ( !sTemplateURL.isEmpty() ) { // detect the filter for the template. Might still be NULL (if the template is broken, or does not // exist, or some such), but this is handled by our caller the same way as if no template/URL was present. |