summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/docshell/tablink.cxx2
-rw-r--r--sc/source/ui/unoobj/scdetect.cxx4
2 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/docshell/tablink.cxx b/sc/source/ui/docshell/tablink.cxx
index f42810fc9a7b..e71e38763f05 100644
--- a/sc/source/ui/docshell/tablink.cxx
+++ b/sc/source/ui/docshell/tablink.cxx
@@ -482,7 +482,7 @@ bool ScDocumentLoader::GetFilterName( const String& rFileName,
if ( bWithInteraction )
pMedium->UseInteractionHandler(true); // #i73992# no longer called from GuessFilter
- SfxFilterMatcher aMatcher( rtl::OUString("scalc") );
+ SfxFilterMatcher aMatcher("scalc");
if( bWithContent )
aMatcher.GuessFilter( *pMedium, &pSfxFilter );
else
diff --git a/sc/source/ui/unoobj/scdetect.cxx b/sc/source/ui/unoobj/scdetect.cxx
index 998e2011446d..20cd22ce8b4a 100644
--- a/sc/source/ui/unoobj/scdetect.cxx
+++ b/sc/source/ui/unoobj/scdetect.cxx
@@ -320,7 +320,7 @@ static sal_Bool lcl_MayBeDBase( SvStream& rStream )
else
{
// container for Calc filters
- SfxFilterMatcher aMatcher( rtl::OUString("scalc") );
+ SfxFilterMatcher aMatcher("scalc");
if ( aPreselectedFilterName.Len() )
pFilter = SfxFilter::GetFilterByName( aPreselectedFilterName );
else if( aTypeName.Len() )
@@ -425,7 +425,7 @@ static sal_Bool lcl_MayBeDBase( SvStream& rStream )
}
if ( aTypeName.Len() )
- pFilter = SfxFilterMatcher( rtl::OUString("scalc") ).GetFilter4EA( aTypeName );
+ pFilter = SfxFilterMatcher("scalc").GetFilter4EA( aTypeName );
}
}
else