[Libreoffice-commits] .: sw/source

Miklos Vajna vmiklos at kemper.freedesktop.org
Wed May 2 02:16:13 PDT 2012


 sw/source/filter/ww8/docxexport.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit bdbc1328a31da9b86a7e4862ae12a079310f38d2
Author: Miklos Vajna <vmiklos at suse.cz>
Date:   Wed May 2 11:15:48 2012 +0200

    DocxExport::WriteSettings: add missing cast
    
    Change-Id: I8eb74f3ed20254df767de689005819e8237da784

diff --git a/sw/source/filter/ww8/docxexport.cxx b/sw/source/filter/ww8/docxexport.cxx
index ab67736..de50add 100644
--- a/sw/source/filter/ww8/docxexport.cxx
+++ b/sw/source/filter/ww8/docxexport.cxx
@@ -684,7 +684,7 @@ void DocxExport::WriteSettings()
             FSEND );
 
     // Zoom
-    rtl::OString aZoom(rtl::OString::valueOf(pViewShell->GetViewOptions()->GetZoom()));
+    rtl::OString aZoom(rtl::OString::valueOf(sal_Int32(pViewShell->GetViewOptions()->GetZoom())));
     pFS->singleElementNS(XML_w, XML_zoom, FSNS(XML_w, XML_percent), aZoom.getStr(), FSEND);
 
     if( settings.evenAndOddHeaders )


More information about the Libreoffice-commits mailing list