summaryrefslogtreecommitdiff
path: root/sfx2/source/dialog/mailmodel.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/dialog/mailmodel.cxx')
-rw-r--r--sfx2/source/dialog/mailmodel.cxx8
1 files changed, 3 insertions, 5 deletions
diff --git a/sfx2/source/dialog/mailmodel.cxx b/sfx2/source/dialog/mailmodel.cxx
index a31b8ac13158..352babf489ba 100644
--- a/sfx2/source/dialog/mailmodel.cxx
+++ b/sfx2/source/dialog/mailmodel.cxx
@@ -324,9 +324,8 @@ SfxMailModel::SaveResult SfxMailModel::SaveDocumentAsFormat(
OUString aExtension;
css::uno::Reference< css::container::XContainerQuery > xContainerQuery(
- xSMGR->createInstance( OUString(
- "com.sun.star.document.FilterFactory" )),
- css::uno::UNO_QUERY );
+ xSMGR->createInstance( "com.sun.star.document.FilterFactory" ),
+ css::uno::UNO_QUERY );
if ( bStoreTo )
{
@@ -428,8 +427,7 @@ SfxMailModel::SaveResult SfxMailModel::SaveDocumentAsFormat(
else
{
css::uno::Reference< container::XNameAccess > xTypeDetection(
- xSMGR->createInstance( OUString(
- "com.sun.star.document.TypeDetection" )),
+ xSMGR->createInstance( "com.sun.star.document.TypeDetection" ),
css::uno::UNO_QUERY );