summaryrefslogtreecommitdiff
path: root/sfx2/source/doc/objstor.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-08-23 12:34:38 +0200
committerNoel Grandin <noel@peralex.com>2013-08-29 09:30:02 +0200
commit7c9188659d0882906ed917d5251d5faaf007a477 (patch)
tree74b7ab7be808657179820283fdbea0a973051fd1 /sfx2/source/doc/objstor.cxx
parent99af8b070c5bff885511b29faf3c9df937297f81 (diff)
convert include/sfx2/objsh.hxx from String to OUString
Change-Id: I9587190cea24da93ec0496f2eccf0d32d98980ee
Diffstat (limited to 'sfx2/source/doc/objstor.cxx')
-rw-r--r--sfx2/source/doc/objstor.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sfx2/source/doc/objstor.cxx b/sfx2/source/doc/objstor.cxx
index e8c7eeff80f1..eaef29f73300 100644
--- a/sfx2/source/doc/objstor.cxx
+++ b/sfx2/source/doc/objstor.cxx
@@ -2587,7 +2587,7 @@ sal_Bool SfxObjectShell::Save_Impl( const SfxItemSet* pSet )
sal_Bool SfxObjectShell::CommonSaveAs_Impl
(
const INetURLObject& aURL,
- const String& aFilterName,
+ const OUString& aFilterName,
SfxItemSet* aParams
)
{
@@ -2732,9 +2732,9 @@ sal_Bool SfxObjectShell::CommonSaveAs_Impl
sal_Bool SfxObjectShell::PreDoSaveAs_Impl
(
- const String& rFileName,
- const String& aFilterName,
- SfxItemSet* pParams
+ const OUString& rFileName,
+ const OUString& aFilterName,
+ SfxItemSet* pParams
)
{
// copy all items stored in the itemset of the current medium
@@ -2779,7 +2779,7 @@ sal_Bool SfxObjectShell::PreDoSaveAs_Impl
SfxMedium *pNewFile = new SfxMedium( rFileName, STREAM_READWRITE | STREAM_SHARE_DENYWRITE | STREAM_TRUNC, 0, pParams );
// set filter; if no filter is given, take the default filter of the factory
- if ( aFilterName.Len() )
+ if ( !aFilterName.isEmpty() )
pNewFile->SetFilter( GetFactory().GetFilterContainer()->GetFilter4FilterName( aFilterName ) );
else
pNewFile->SetFilter( GetFactory().GetFilterContainer()->GetAnyFilter( SFX_FILTER_IMPORT | SFX_FILTER_EXPORT ) );