diff options
author | Jan-Marek Glogowski <glogow@fbihome.de> | 2016-07-22 17:50:52 +0200 |
---|---|---|
committer | Jan-Marek Glogowski <glogow@fbihome.de> | 2016-08-29 13:13:14 +0200 |
commit | 0bcc5b3daebeb2a7d2b5ba132af4745cc6c78cd0 (patch) | |
tree | 4fcff9413879a6dd789cee6e8450db5496785c75 /sw/source/filter/ww8/rtfsdrexport.cxx | |
parent | 5bed080c77f99f22fd52ad6cf2d6274e7c1e12a8 (diff) |
Switch isTextBox to use the format pointers
This replaces all possible occurences of the text box format
maps, which just want to know, if a SwFrameFormat is part of a
text box to use the direct lookup via the isTextBox, which is
now a cheap call.
Change-Id: I3b4e2301f816aead1b719cd70a8ef118e685ccfc
Diffstat (limited to 'sw/source/filter/ww8/rtfsdrexport.cxx')
-rw-r--r-- | sw/source/filter/ww8/rtfsdrexport.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/rtfsdrexport.cxx b/sw/source/filter/ww8/rtfsdrexport.cxx index 0786f7713339..d7a050666ade 100644 --- a/sw/source/filter/ww8/rtfsdrexport.cxx +++ b/sw/source/filter/ww8/rtfsdrexport.cxx @@ -640,7 +640,7 @@ void RtfSdrExport::AddSdrObject(const SdrObject& rObj) bool RtfSdrExport::isTextBox(const SwFrameFormat& rFrameFormat) { - return m_aTextBoxes.find(&rFrameFormat) != m_aTextBoxes.end(); + return SwTextBoxHelper::isTextBox(&rFrameFormat, RES_FLYFRMFMT); } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |