summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-08-27 13:38:27 +0200
committerNoel Grandin <noel@peralex.com>2013-08-29 09:30:09 +0200
commit22db6f1c225e92b0c6ea43dbc5d18b824e393a66 (patch)
tree968c65d964a3d2d8b68802bb0ad6be8c119e8b8b /sfx2
parentfd7ef5f6386d6ba6951c88ebfafb107f1fa63400 (diff)
convert include/sfx2/docinsert.hxx from String to OUString
Change-Id: I07b498f2a90399c8ee208de2bc4c780427fe4c17
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/doc/docinsert.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/doc/docinsert.cxx b/sfx2/source/doc/docinsert.cxx
index a59b43506823..7ebf2b56a593 100644
--- a/sfx2/source/doc/docinsert.cxx
+++ b/sfx2/source/doc/docinsert.cxx
@@ -50,7 +50,7 @@ extern sal_uInt32 CheckPasswd_Impl( SfxObjectShell* pDoc, SfxItemPool &rPool, Sf
namespace sfx2 {
DocumentInserter::DocumentInserter(
- const String& rFactory, bool const bEnableMultiSelection) :
+ const OUString& rFactory, bool const bEnableMultiSelection) :
m_sDocFactory ( rFactory )
, m_nDlgFlags ( (bEnableMultiSelection)
@@ -92,7 +92,7 @@ SfxMedium* DocumentInserter::CreateMedium()
SFX_APP()->GetFilterMatcher().GetFilter4FilterName( m_sFilter ), m_pItemSet );
pMedium->UseInteractionHandler( sal_True );
SfxFilterMatcher* pMatcher = NULL;
- if ( m_sDocFactory.Len() )
+ if ( !m_sDocFactory.isEmpty() )
pMatcher = new SfxFilterMatcher( m_sDocFactory );
else
pMatcher = new SfxFilterMatcher();