diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-01-28 22:11:52 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-01-30 22:58:50 +0100 |
commit | 43bb42619694d57ab857121db96c248c6dd447fe (patch) | |
tree | 4a3f2b5cd101240e543da49760a67fef903c6722 /lotuswordpro | |
parent | 30f6a34591a1689818069ce2e190c1d4fce149b0 (diff) |
cppcheck: remove unused variable TextSizeIsCellHeight.
Diffstat (limited to 'lotuswordpro')
-rw-r--r-- | lotuswordpro/source/filter/lwpdrawobj.cxx | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/lotuswordpro/source/filter/lwpdrawobj.cxx b/lotuswordpro/source/filter/lwpdrawobj.cxx index 92c6cc292ed5..3c5d5cb30e12 100644 --- a/lotuswordpro/source/filter/lwpdrawobj.cxx +++ b/lotuswordpro/source/filter/lwpdrawobj.cxx @@ -1037,12 +1037,8 @@ void LwpDrawTextBox::Read() m_pStream->Read(&m_aTextRec.nTextSize, sizeof(m_aTextRec.nTextSize)); - bool TextSizeIsCellHeight = true; if (m_aTextRec.nTextSize < 0) - { - TextSizeIsCellHeight = false; m_aTextRec.nTextSize = -m_aTextRec.nTextSize; - } //color m_pStream->Read(&m_aTextRec.aTextColor.nR, 1); @@ -1287,12 +1283,9 @@ void LwpDrawTextArt::Read() m_pStream->SeekRel(1);// PitchAndFamily m_pStream->Read(&m_aTextArtRec.nTextSize, sizeof(m_aTextArtRec.nTextSize)); - bool TextSizeIsCellHeight = true; + if (m_aTextArtRec.nTextSize < 0) - { - TextSizeIsCellHeight = false; m_aTextArtRec.nTextSize = -m_aTextArtRec.nTextSize; - } m_pStream->Read(&m_aTextArtRec.nTextAttrs, sizeof(m_aTextArtRec.nTextAttrs)); m_pStream->Read(&m_aTextArtRec.nTextCharacterSet, sizeof(m_aTextArtRec.nTextCharacterSet)); |