diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-05-25 09:35:57 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-05-25 12:32:54 +0100 |
commit | acad8441cc40b7b0f91681d6827f8364de05046e (patch) | |
tree | 2be1315764dc269557a60fb36a48d86b7ed23402 /vcl/workben | |
parent | 12b6bca821a7b0137fcac243f8aa078ba1a152ad (diff) |
cppcheck: noExplicitConstructor
Change-Id: I62076450ab77472bfd09b3fb9824f54b6ea1e0f7
Diffstat (limited to 'vcl/workben')
-rw-r--r-- | vcl/workben/mtfdemo.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/workben/mtfdemo.cxx b/vcl/workben/mtfdemo.cxx index e7da7a91724b..8f5171ea064c 100644 --- a/vcl/workben/mtfdemo.cxx +++ b/vcl/workben/mtfdemo.cxx @@ -40,10 +40,10 @@ class DemoMtfWin : public WorkWindow GDIMetaFile maMtf; public: - DemoMtfWin(OUString& aFileName) + explicit DemoMtfWin(const OUString& rFileName) : WorkWindow(NULL, WB_APP | WB_STDWORK) { - SvFileStream aFileStream(aFileName, StreamMode::READ); + SvFileStream aFileStream(rFileName, StreamMode::READ); if (aFileStream.IsOpen()) { |