[Libreoffice-commits] .: writerfilter/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Tue Oct 2 02:26:44 PDT 2012


 writerfilter/source/dmapper/DomainMapperTableHandler.cxx |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 12c220ae8e55a033ab6aeca27c0e26a643d2001a
Author: Miklos Vajna <vmiklos at suse.cz>
Date:   Tue Oct 2 12:25:41 2012 +0300

    Make Clang happy
    
    Change-Id: I69c886d0a1875ec674f40c2422dc1490418c1da3

diff --git a/writerfilter/source/dmapper/DomainMapperTableHandler.cxx b/writerfilter/source/dmapper/DomainMapperTableHandler.cxx
index 2690105..f8786c9 100644
--- a/writerfilter/source/dmapper/DomainMapperTableHandler.cxx
+++ b/writerfilter/source/dmapper/DomainMapperTableHandler.cxx
@@ -393,8 +393,8 @@ TableStyleSheetEntry * DomainMapperTableHandler::endTableGetTableStyle(TableInfo
 
         // Set table above/bottom spacing to 0.
         // TODO: handle 'Around' text wrapping mode
-        m_aTableProperties->Insert( PropertyIds::PROP_TOP_MARGIN, true, uno::makeAny( 0 ) );
-        m_aTableProperties->Insert( PropertyIds::PROP_BOTTOM_MARGIN, true, uno::makeAny( 0 ) );
+        m_aTableProperties->Insert( PROP_TOP_MARGIN, true, uno::makeAny( sal_Int32( 0 ) ) );
+        m_aTableProperties->Insert( PROP_BOTTOM_MARGIN, true, uno::makeAny( sal_Int32( 0 ) ) );
 
         //table border settings
         table::TableBorder aTableBorder;


More information about the Libreoffice-commits mailing list