summaryrefslogtreecommitdiffstats
path: root/sw/source/core/text/porfly.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-05-27 10:53:55 +0100
committerCaolán McNamara <caolanm@redhat.com>2015-05-27 13:54:54 +0100
commitafe5672fbc87ae2bc7fb72fac4bb5b837b646dea (patch)
tree1e78a6dcce4c7313ab4d9109b53077e687909606 /sw/source/core/text/porfly.hxx
parenttdf#91544: fix freezing of Data source window (diff)
downloadcore-afe5672fbc87ae2bc7fb72fac4bb5b837b646dea.tar.gz
core-afe5672fbc87ae2bc7fb72fac4bb5b837b646dea.zip
cppcheck: noExplicitConstructor
Change-Id: I27c24d3284a8e0678fc5c041426b4a7e71cbd363
Diffstat (limited to 'sw/source/core/text/porfly.hxx')
-rw-r--r--sw/source/core/text/porfly.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/core/text/porfly.hxx b/sw/source/core/text/porfly.hxx
index ff31005315dd..9b9aef0373bc 100644
--- a/sw/source/core/text/porfly.hxx
+++ b/sw/source/core/text/porfly.hxx
@@ -32,7 +32,7 @@ class SwFlyPortion : public SwFixPortion
{
sal_uInt16 nBlankWidth;
public:
- inline SwFlyPortion( const SwRect &rFlyRect )
+ explicit SwFlyPortion( const SwRect &rFlyRect )
: SwFixPortion(rFlyRect), nBlankWidth( 0 ) { SetWhichPor( POR_FLY ); }
inline sal_uInt16 GetBlankWidth( ) const { return nBlankWidth; }
inline void SetBlankWidth( const sal_uInt16 nNew ) { nBlankWidth = nNew; }