diff options
author | Miklos Vajna <vmiklos@suse.cz> | 2012-06-26 16:52:04 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@suse.cz> | 2012-06-26 17:55:10 +0200 |
commit | 9ad4c4835614fe1c1cf82a9cf02d3069fd8bff2a (patch) | |
tree | b42652aff7c02609552fa06c6385add6c60c7aeb | |
parent | 5d505e5b1edee7f709e4baff70a971cb3fe851c2 (diff) |
fdo#48335 don't export zoom factor when zoom type is not percent
Change-Id: I1fb7e3d9d65f2f3388bb4851f5ad517ed1681f04
-rw-r--r-- | sw/source/filter/ww8/rtfexport.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/rtfexport.cxx b/sw/source/filter/ww8/rtfexport.cxx index b50fd3e3fcda..f816eb139da3 100644 --- a/sw/source/filter/ww8/rtfexport.cxx +++ b/sw/source/filter/ww8/rtfexport.cxx @@ -506,7 +506,7 @@ void RtfExport::ExportDocument_Impl() Strm() << m_pAttrOutput->m_aTabStop.makeStringAndClear().getStr() << sNewLine; // Zoom ViewShell *pViewShell(pDoc->GetCurrentViewShell()); - if (pViewShell) + if (pViewShell && pViewShell->GetViewOptions()->GetZoomType() == SVX_ZOOM_PERCENT) { Strm() << OOO_STRING_SVTOOLS_RTF_VIEWSCALE; OutULong(pViewShell->GetViewOptions()->GetZoom()); |