[Libreoffice-commits] .: sw/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Wed Jan 23 05:35:43 PST 2013


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

New commits:
commit 5923e540d4eab0dc331ea439377ec1eb407400b9
Author: Pierre-Eric Pelloux-Prayer <pierre-eric at lanedo.com>
Date:   Wed Jan 23 14:26:02 2013 +0100

    docx export: use 'nil' instead of 'none' to express no border
    
    Word2007 writes nil too, and doesn't properly import none.
    
    Change-Id: I32147bbf8c94f8dcf079bcecad48ffaaf3aa1968

diff --git a/sw/source/filter/ww8/docxattributeoutput.cxx b/sw/source/filter/ww8/docxattributeoutput.cxx
index 0031b7f..6300ddd 100644
--- a/sw/source/filter/ww8/docxattributeoutput.cxx
+++ b/sw/source/filter/ww8/docxattributeoutput.cxx
@@ -1419,7 +1419,7 @@ static void impl_borderLine( FSHelperPtr pSerializer, sal_Int32 elementToken, co
     // OOXml also supports those types of borders, but we'll try to play with the first ones.
     //      thickThinMediumGap, thickThinLargeGap, thickThinSmallGap
     //      thinThickLargeGap, thinThickMediumGap, thinThickSmallGap
-    const char* pVal = "none";
+    const char* pVal = "nil";
     if ( pBorderLine && !pBorderLine->isEmpty( ) )
     {
         switch (pBorderLine->GetBorderLineStyle())


More information about the Libreoffice-commits mailing list