summaryrefslogtreecommitdiffstats
path: root/desktop/source/app
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-12-30 14:36:04 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-12-31 16:03:43 +0100
commit17ee20b161cf5825e25d120c84675d11f7282256 (patch)
tree8151eee99d8864a0cdff485a440f93e5607b09b0 /desktop/source/app
parentofz#4848 Null-dereference READ (diff)
downloadcore-17ee20b161cf5825e25d120c84675d11f7282256.tar.gz
core-17ee20b161cf5825e25d120c84675d11f7282256.zip
loplugin:passstuffbyref improved return in emfio,writerfilter
Change-Id: I237936d62d0f1b17574dd88b5c9de932dc03238e Reviewed-on: https://gerrit.libreoffice.org/47214 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'desktop/source/app')
-rw-r--r--desktop/source/app/cmdlineargs.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/desktop/source/app/cmdlineargs.hxx b/desktop/source/app/cmdlineargs.hxx
index 6bf2e0e1c6af..94600ed40972 100644
--- a/desktop/source/app/cmdlineargs.hxx
+++ b/desktop/source/app/cmdlineargs.hxx
@@ -115,7 +115,7 @@ class CommandLineArgs
std::vector< OUString > GetConversionList() const;
const OUString& GetConversionParams() const { return m_conversionparams;}
OUString GetConversionOut() const;
- OUString GetImageConversionType() const { return m_convertimages; }
+ OUString const & GetImageConversionType() const { return m_convertimages; }
const OUString& GetPidfileName() const { return m_pidfile;}
// Special analyzed states (does not match directly to a command line parameter!)