summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre-Eric Pelloux-Prayer <pierre-eric@lanedo.com>2013-01-23 14:26:02 +0100
committerPierre-Eric Pelloux-Prayer <pierre-eric@lanedo.com>2013-01-23 14:31:07 +0100
commit5923e540d4eab0dc331ea439377ec1eb407400b9 (patch)
treec11006c413b791b17a4103086b674fa167dfb67e
parentcd97df31f28d8941b53929493c9651fbfda46395 (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.cxx2
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())