diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-09-15 10:43:33 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-09-15 10:44:00 +0100 |
commit | 3c68751f6beecccda7857e414b39c8cc8db6e57a (patch) | |
tree | 62f7f2152dc0fbe8100f96b44594d7b6ff212946 /extensions/source/ole/ole2uno.hxx | |
parent | 1ed0f437679d702b633e381eaf6f6d6f9aecdd9b (diff) |
cppcheck: noExplicitConstructor
Change-Id: If00a2de2c23271baaee126230c6bf9e657666ff4
Diffstat (limited to 'extensions/source/ole/ole2uno.hxx')
-rw-r--r-- | extensions/source/ole/ole2uno.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/source/ole/ole2uno.hxx b/extensions/source/ole/ole2uno.hxx index ae96a6932a8d..346de1e95496 100644 --- a/extensions/source/ole/ole2uno.hxx +++ b/extensions/source/ole/ole2uno.hxx @@ -71,9 +71,9 @@ void o2u_attachCurrentThread(); class BridgeRuntimeError { public: - BridgeRuntimeError(const OUString& sMessage) + explicit BridgeRuntimeError(const OUString& sMessage) + : message(sMessage) { - message = sMessage; } OUString message; }; |