diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-03-18 14:32:43 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2014-03-18 14:38:55 +0100 |
commit | 2736674aa1eca906ba5f726e47279266cce2149e (patch) | |
tree | 62ab3eb0d73029177d689ade7dab1dbe145afc01 /sw | |
parent | e584d38f75db115edf5e07e479665336ea7a4d54 (diff) |
sw: not used getter / setter methods
Change-Id: Id357ee22d041cd191d06b0dc2dbf162312a4df0a
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/filter/ww8/docxsdrexport.cxx | 16 | ||||
-rw-r--r-- | sw/source/filter/ww8/docxsdrexport.hxx | 2 |
2 files changed, 3 insertions, 15 deletions
diff --git a/sw/source/filter/ww8/docxsdrexport.cxx b/sw/source/filter/ww8/docxsdrexport.cxx index 72f57243dff2..be0baa1b2149 100644 --- a/sw/source/filter/ww8/docxsdrexport.cxx +++ b/sw/source/filter/ww8/docxsdrexport.cxx @@ -572,7 +572,7 @@ void DocxSdrExport::writeDMLDrawing(const SdrObject* pSdrObject, const SwFrmFmt* * was originally a Locked Canvas and is now inside a Text Frame. */ - bLockedCanvas = getIsInDMLTextFrame(); + bLockedCanvas = m_pImpl->m_bIsInDMLTextFrame; break; } } @@ -1027,7 +1027,7 @@ void DocxSdrExport::writeDiagram(const SdrObject* sdrObject, const SwFrmFmt& rFr void DocxSdrExport::writeDMLTextFrame(sw::Frame* pParentFrame, int nAnchorId) { - setIsInDMLTextFrame(true); + m_pImpl->m_bIsInDMLTextFrame = true; sax_fastparser::FSHelperPtr pFS = m_pImpl->m_pSerializer; const SwFrmFmt& rFrmFmt = pParentFrame->GetFrmFmt(); const SwNodeIndex* pNodeIndex = rFrmFmt.GetCntnt().GetCntntIdx(); @@ -1189,7 +1189,7 @@ void DocxSdrExport::writeDMLTextFrame(sw::Frame* pParentFrame, int nAnchorId) } endDMLAnchorInline(&rFrmFmt); - setIsInDMLTextFrame(false); + m_pImpl->m_bIsInDMLTextFrame = false; } void DocxSdrExport::writeVMLTextFrame(sw::Frame* pParentFrame) @@ -1315,14 +1315,4 @@ bool DocxSdrExport::checkFrameBtlr(SwNode* pStartNode, sax_fastparser::FastAttri return false; } -bool DocxSdrExport::getIsInDMLTextFrame() -{ - return m_pImpl->m_bIsInDMLTextFrame; -} - -void DocxSdrExport::setIsInDMLTextFrame(bool bIsInDMLTextFrame) -{ - m_pImpl->m_bIsInDMLTextFrame = bIsInDMLTextFrame; -} - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sw/source/filter/ww8/docxsdrexport.hxx b/sw/source/filter/ww8/docxsdrexport.hxx index 73c981f34c20..dced28cdcae6 100644 --- a/sw/source/filter/ww8/docxsdrexport.hxx +++ b/sw/source/filter/ww8/docxsdrexport.hxx @@ -90,8 +90,6 @@ public: com::sun::star::uno::Reference< com::sun::star::io::XOutputStream > xOutStream, const OUString& sGrabBagProperyName); /// Writes text frame in DML format. void writeDMLTextFrame(sw::Frame* pParentFrame, int nAnchorId); - bool getIsInDMLTextFrame(); - void setIsInDMLTextFrame(bool bIsInDMLTextFrame); /// Writes text frame in VML format. void writeVMLTextFrame(sw::Frame* pParentFrame); /// Undo the text direction mangling done by the frame btLr handler in writerfilter::dmapper::DomainMapper::lcl_startCharacterGroup() |