diff options
author | Michael Stahl <mstahl@redhat.com> | 2012-06-25 17:55:31 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-06-25 20:13:20 +0200 |
commit | 6fadb99a0bf97a5e96f6702ab626fee5d13a3b2e (patch) | |
tree | ad939be97b341e7db93967bb4c117cb33f94954a /sw | |
parent | Convert fields in class SwUpdFtnEndNtAtEnd from Svptrarr to std::vector (diff) | |
download | core-6fadb99a0bf97a5e96f6702ab626fee5d13a3b2e.tar.gz core-6fadb99a0bf97a5e96f6702ab626fee5d13a3b2e.zip |
remove some unnecessary but harmless vector(0)
Change-Id: I756f3c601e7eafd22946998963c9fd73e754643a
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/inc/tblrwcl.hxx | 2 | ||||
-rw-r--r-- | sw/source/filter/ww8/wrtw8esh.cxx | 4 | ||||
-rw-r--r-- | sw/source/filter/ww8/wrtw8sty.cxx | 2 |
3 files changed, 3 insertions, 5 deletions
diff --git a/sw/source/core/inc/tblrwcl.hxx b/sw/source/core/inc/tblrwcl.hxx index bbd6cbd00e6c..98ee2a623a8f 100644 --- a/sw/source/core/inc/tblrwcl.hxx +++ b/sw/source/core/inc/tblrwcl.hxx @@ -163,7 +163,7 @@ class SwShareBoxFmt public: SwShareBoxFmt( const SwFrmFmt& rFmt ) - : pOldFmt( &rFmt ), aNewFmts() + : pOldFmt( &rFmt ) {} const SwFrmFmt& GetOldFormat() const { return *pOldFmt; } diff --git a/sw/source/filter/ww8/wrtw8esh.cxx b/sw/source/filter/ww8/wrtw8esh.cxx index 54154a840cde..d2205e2d7da8 100644 --- a/sw/source/filter/ww8/wrtw8esh.cxx +++ b/sw/source/filter/ww8/wrtw8esh.cxx @@ -857,9 +857,7 @@ void WW8Export::AppendFlyInFlys(const sw::Frame& rFrmFmt, MSWord_SdrAttrIter::MSWord_SdrAttrIter( MSWordExportBase& rWr, const EditTextObject& rEditObj, sal_uInt8 nTyp ) - : MSWordAttrIter( rWr ), pEditObj(&rEditObj), pEditPool(0), - aTxtAtrArr(), aChrTxtAtrArr( 0 ), aChrSetArr( 0 ), - mnTyp(nTyp) + : MSWordAttrIter( rWr ), pEditObj(&rEditObj), pEditPool(0), mnTyp(nTyp) { NextPara( 0 ); } diff --git a/sw/source/filter/ww8/wrtw8sty.cxx b/sw/source/filter/ww8/wrtw8sty.cxx index ac6c51493894..26eef0bc734e 100644 --- a/sw/source/filter/ww8/wrtw8sty.cxx +++ b/sw/source/filter/ww8/wrtw8sty.cxx @@ -1907,7 +1907,7 @@ void MSWordExportBase::WriteHeaderFooterText( const SwFmt& rFmt, bool bHeader ) // WW8_WrPlcFtnEdn ist die Klasse fuer Fuss- und Endnoten //------------------------------------------------------------------------------ WW8_WrPlcSubDoc::WW8_WrPlcSubDoc() - : aCntnt( 0 ), pTxtPos( 0 ) + : pTxtPos( 0 ) { } |