diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-05-27 10:53:55 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-05-27 13:54:54 +0100 |
commit | afe5672fbc87ae2bc7fb72fac4bb5b837b646dea (patch) | |
tree | 1e78a6dcce4c7313ab4d9109b53077e687909606 /sw/source/core/text/porfly.hxx | |
parent | tdf#91544: fix freezing of Data source window (diff) | |
download | core-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.hxx | 2 |
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; } |