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

New commits:
commit bdbc1328a31da9b86a7e4862ae12a079310f38d2
Author: Miklos Vajna <vmik...@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 )
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to