summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-01-07 09:26:48 +0000
committerCaolán McNamara <caolanm@redhat.com>2016-01-07 19:27:28 +0000
commitc9be2744d8ebe673d9cd4b0b7b680565bc544329 (patch)
tree23fd666cfefe4dc9e70d557e9890fe02b87b6d80 /filter
parent7994b77819a5de7a6da46ab01386883559e7a7d1 (diff)
cppcheck: noExplicitConstructor
Change-Id: Ifdcb1cc12645d6cdba81d16f94f0268696187cde Reviewed-on: https://gerrit.libreoffice.org/21201 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 'filter')
-rw-r--r--filter/source/msfilter/msdffimp.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/filter/source/msfilter/msdffimp.cxx b/filter/source/msfilter/msdffimp.cxx
index 309cee31b1eb..39552a012bb2 100644
--- a/filter/source/msfilter/msdffimp.cxx
+++ b/filter/source/msfilter/msdffimp.cxx
@@ -154,8 +154,10 @@ static sal_uInt32 nMSOleObjCntr = 0;
struct SvxMSDffBLIPInfo
{
sal_uLong nFilePos; ///< offset of the BLIP in data strem
- SvxMSDffBLIPInfo(sal_uLong nFPos):
- nFilePos( nFPos ) {}
+ explicit SvxMSDffBLIPInfo(sal_uLong nFPos)
+ : nFilePos(nFPos)
+ {
+ }
};
/// the following will be sorted by the order of their appearance: