diff options
author | Pierre-Eric Pelloux-Prayer <pierre-eric@lanedo.com> | 2013-01-23 14:26:02 +0100 |
---|---|---|
committer | Pierre-Eric Pelloux-Prayer <pierre-eric@lanedo.com> | 2013-01-23 14:31:07 +0100 |
commit | 5923e540d4eab0dc331ea439377ec1eb407400b9 (patch) | |
tree | c11006c413b791b17a4103086b674fa167dfb67e | |
parent | cd97df31f28d8941b53929493c9651fbfda46395 (diff) |
docx export: use 'nil' instead of 'none' to express no border
Word2007 writes nil too, and doesn't properly import none.
Change-Id: I32147bbf8c94f8dcf079bcecad48ffaaf3aa1968
-rw-r--r-- | sw/source/filter/ww8/docxattributeoutput.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/docxattributeoutput.cxx b/sw/source/filter/ww8/docxattributeoutput.cxx index 0031b7fa1566..6300dddef952 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()) |