From 6556179c639cf9db5b33bb405e969fb6bbc458a2 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Tue, 26 Jun 2012 16:52:04 +0200 Subject: fdo#48335 don't export zoom factor when zoom type is not percent Change-Id: I1fb7e3d9d65f2f3388bb4851f5ad517ed1681f04 --- sw/source/filter/ww8/rtfexport.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sw') 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()); -- cgit v1.2.1