summaryrefslogtreecommitdiff
path: root/sd
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-01-31 13:24:13 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-02-01 07:57:16 +0000
commitdce867e8c4863c969eea3515a988630b74708a43 (patch)
tree340cb8408241fe34bf1c76f54b9ca41ca95a72ab /sd
parent27832947f0d9406c1757182ffa57262f3f03af4b (diff)
loplugin:stringconstant handle calls to constructors with one arg
Change-Id: Ide9148a908bef46ba14640dfa6f556beaf6e3f60 Reviewed-on: https://gerrit.libreoffice.org/33772 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd')
-rw-r--r--sd/source/ui/dlg/navigatr.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/dlg/navigatr.cxx b/sd/source/ui/dlg/navigatr.cxx
index c12529f830ec..9d67660ba6e9 100644
--- a/sd/source/ui/dlg/navigatr.cxx
+++ b/sd/source/ui/dlg/navigatr.cxx
@@ -499,7 +499,7 @@ bool SdNavigatorWin::InsertFile(const OUString& rFileName)
if (aFileName != maDropFileName)
{
SfxMedium aMed(aFileName, (StreamMode::READ | StreamMode::SHARE_DENYNONE));
- SfxFilterMatcher aMatch( OUString("simpress") );
+ SfxFilterMatcher aMatch( "simpress" );
aMed.UseInteractionHandler( true );
nErr = aMatch.GuessFilter(aMed, pFilter);
}