summaryrefslogtreecommitdiff
path: root/sal/osl/w32/path_helper.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-01-08 09:56:18 +0000
committerCaolán McNamara <caolanm@redhat.com>2016-01-08 17:15:04 +0000
commit0aa5414015813eda46dbfd7c3bcf259485ac1968 (patch)
treeba552e8e27c00f0d2d49564ed3dd98b829b04186 /sal/osl/w32/path_helper.hxx
parent13e0ec9f38736557d9b4737298ca9a858919e6e3 (diff)
cppcheck: noExplicitConstructor
Change-Id: If1ddb112c85f127295eb55566360b066e7173ba2 Reviewed-on: https://gerrit.libreoffice.org/21245 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sal/osl/w32/path_helper.hxx')
-rw-r--r--sal/osl/w32/path_helper.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/osl/w32/path_helper.hxx b/sal/osl/w32/path_helper.hxx
index 6f75fca3f94b..ee77791781c2 100644
--- a/sal/osl/w32/path_helper.hxx
+++ b/sal/osl/w32/path_helper.hxx
@@ -74,7 +74,7 @@ class LongPathBuffer
LongPathBuffer& operator=( const LongPathBuffer& );
public:
- LongPathBuffer( sal_uInt32 nCharNum )
+ explicit LongPathBuffer( sal_uInt32 nCharNum )
: m_pBuffer( reinterpret_cast<T*>( rtl_allocateMemory( nCharNum * sizeof( T ) ) ) )
, m_nCharNum( nCharNum )
{