summaryrefslogtreecommitdiff
path: root/xmloff/source
diff options
context:
space:
mode:
authorCédric Bosdonnat <cedricbosdo@openoffice.org>2011-01-20 15:22:01 +0100
committerCédric Bosdonnat <cedricbosdo@openoffice.org>2011-03-19 17:57:18 +0100
commitd13469c38ba3e88219c918425b106e2ef83608c5 (patch)
tree59f8f60fbc1a57c7a210bc212f84564eec77f9d2 /xmloff/source
parent5aa3e4a3d93f1cc8fff2ee42353390a307ce08a2 (diff)
Fixed lines width guessing: gap are no smaller than 1pt
Diffstat (limited to 'xmloff/source')
-rwxr-xr-xxmloff/source/style/bordrhdl.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/xmloff/source/style/bordrhdl.cxx b/xmloff/source/style/bordrhdl.cxx
index 0d6e3e2eae3e..299d56ec421a 100755
--- a/xmloff/source/style/bordrhdl.cxx
+++ b/xmloff/source/style/bordrhdl.cxx
@@ -272,6 +272,7 @@ sal_Bool XMLBorderHdl::importXML( const OUString& rStrImpValue, uno::Any& rValue
aBorderLine.InnerLineWidth = 0;
aBorderLine.OuterLineWidth = 0;
aBorderLine.LineDistance = 0;
+ aBorderLine.LineWidth = 0;
}
// first of all, delete an empty line
@@ -281,6 +282,7 @@ sal_Bool XMLBorderHdl::importXML( const OUString& rStrImpValue, uno::Any& rValue
aBorderLine.InnerLineWidth = 0;
aBorderLine.OuterLineWidth = 0;
aBorderLine.LineDistance = 0;
+ aBorderLine.LineWidth = 0;
}
else if( bHasWidth )
{