[Libreoffice-commits] core.git: writerfilter/source

Stephan Bergmann sbergman at redhat.com
Mon Oct 14 23:37:15 PDT 2013


 writerfilter/source/doctok/Dff.cxx |    8 +++-----
 writerfilter/source/doctok/Dff.hxx |    1 -
 2 files changed, 3 insertions(+), 6 deletions(-)

New commits:
commit 3e770e3294ee70864329a79f8aaf3834c487d412
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue Oct 15 08:36:47 2013 +0200

    -Werror,-Wunused-private-field
    
    Change-Id: I0b203dd65f659533dd3db9f25a1d42569473df31

diff --git a/writerfilter/source/doctok/Dff.cxx b/writerfilter/source/doctok/Dff.cxx
index 026e92f..aaf7763 100644
--- a/writerfilter/source/doctok/Dff.cxx
+++ b/writerfilter/source/doctok/Dff.cxx
@@ -325,21 +325,19 @@ Sprm::Kind DffRecord::getKind()
 
 DffBlock::DffBlock(WW8Stream & rStream, sal_uInt32 nOffset,
                    sal_uInt32 nCount, sal_uInt32 nPadding)
-: WW8StructBase(rStream, nOffset, nCount), bInitialized(false),
-  mnPadding(nPadding)
+: WW8StructBase(rStream, nOffset, nCount), mnPadding(nPadding)
 {
 }
 
 DffBlock::DffBlock(WW8StructBase * pParent, sal_uInt32 nOffset,
                    sal_uInt32 nCount, sal_uInt32 nPadding)
-: WW8StructBase(pParent, nOffset, nCount), bInitialized(false),
-  mnPadding(nPadding)
+: WW8StructBase(pParent, nOffset, nCount), mnPadding(nPadding)
 {
 }
 
 DffBlock::DffBlock(const DffBlock & rSrc)
 : WW8StructBase(rSrc), writerfilter::Reference<Properties>(rSrc),
-  bInitialized(false), mnPadding(rSrc.mnPadding)
+  mnPadding(rSrc.mnPadding)
 {
 }
 
diff --git a/writerfilter/source/doctok/Dff.hxx b/writerfilter/source/doctok/Dff.hxx
index 7225367..87daaef 100644
--- a/writerfilter/source/doctok/Dff.hxx
+++ b/writerfilter/source/doctok/Dff.hxx
@@ -98,7 +98,6 @@ typedef vector<DffRecord::Pointer_t> Records_t;
 class DffBlock : public WW8StructBase,
                  public writerfilter::Reference<Properties>
 {
-    bool bInitialized;
     sal_uInt32 mnPadding;
 
     Records_t mRecords;


More information about the Libreoffice-commits mailing list