summaryrefslogtreecommitdiff
path: root/sw/source/filter/ww8/rtfattributeoutput.hxx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@suse.cz>2013-04-13 13:34:20 +0200
committerMiklos Vajna <vmiklos@suse.cz>2013-04-13 13:40:14 +0200
commit42e57f463ed46c64560e6b27a75cc1e9ad519743 (patch)
treeb65ae6b83bf106fde3a9a2e7628aeb50d0d0bd02 /sw/source/filter/ww8/rtfattributeoutput.hxx
parent41807e779f93cc3dc7cb338a13b19195a77d11af (diff)
sw: fix frame size of textboxes in DOCX/RTF export
In case the frame is AutoSize and the nominal height is less than the real height, we used to end up with textboxes having height small enough that some of the content was unreadable. Instead, do what the WW8 export does and relay on sw::Frame to provide the layout size. Change-Id: I2a6cf4373c8565eef780273745a6ef27ddc65753
Diffstat (limited to 'sw/source/filter/ww8/rtfattributeoutput.hxx')
-rw-r--r--sw/source/filter/ww8/rtfattributeoutput.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/filter/ww8/rtfattributeoutput.hxx b/sw/source/filter/ww8/rtfattributeoutput.hxx
index b3f0ee3f54f4..9035b554fc4a 100644
--- a/sw/source/filter/ww8/rtfattributeoutput.hxx
+++ b/sw/source/filter/ww8/rtfattributeoutput.hxx
@@ -552,8 +552,8 @@ private:
unsigned int m_nPostitFieldsMaxId;
- /// Set by FormatFrameSize(), read by Format*Orientation().
- const SwFmtFrmSize* m_pFmtFrmSize;
+ /// When exporting fly frames, this holds the real size of the frame.
+ const Size* m_pFlyFrameSize;
std::vector< std::pair<OString, OString> > m_aFlyProperties;