diff options
author | Miklos Vajna <vmiklos@suse.cz> | 2012-06-26 16:52:04 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@suse.cz> | 2012-06-27 14:58:03 +0200 |
commit | 6556179c639cf9db5b33bb405e969fb6bbc458a2 (patch) | |
tree | ad923120ea6cc558149367feabd164e73a72c6d8 /sw/source/filter | |
parent | 9537551a49d5f221e87a0e2b42ef973c58e542c8 (diff) |
fdo#48335 don't export zoom factor when zoom type is not percent
Change-Id: I1fb7e3d9d65f2f3388bb4851f5ad517ed1681f04
Diffstat (limited to 'sw/source/filter')
-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 efcea5b458ce..eca168e97780 100644 --- a/sw/source/filter/ww8/rtfexport.cxx +++ b/sw/source/filter/ww8/rtfexport.cxx @@ -508,7 +508,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()); |