summaryrefslogtreecommitdiff
path: root/xmloff
diff options
context:
space:
mode:
authorCédric Bosdonnat <cedricbosdo@openoffice.org>2011-01-17 22:07:36 +0100
committerCédric Bosdonnat <cedricbosdo@openoffice.org>2011-03-19 17:57:17 +0100
commit5aa3e4a3d93f1cc8fff2ee42353390a307ce08a2 (patch)
tree5ad9d6de3dc6b5d191e79ac731abd457ad05ab97 /xmloff
parentb624e6e6cf2ecfc6e6e983af45212fce5e731006 (diff)
Embossed and engraved to fit ODF specs
Diffstat (limited to 'xmloff')
-rwxr-xr-xxmloff/source/style/bordrhdl.cxx8
1 files changed, 6 insertions, 2 deletions
diff --git a/xmloff/source/style/bordrhdl.cxx b/xmloff/source/style/bordrhdl.cxx
index 9d328a0b1063..0d6e3e2eae3e 100755
--- a/xmloff/source/style/bordrhdl.cxx
+++ b/xmloff/source/style/bordrhdl.cxx
@@ -37,6 +37,10 @@
#include <com/sun/star/uno/Any.hxx>
#include <com/sun/star/table/BorderLine2.hpp>
+#if DEBUG
+#include <cstdio>
+#endif
+
using ::rtl::OUString;
using ::rtl::OUStringBuffer;
@@ -344,10 +348,10 @@ sal_Bool XMLBorderHdl::exportXML( OUString& rStrExpValue, const uno::Any& rValue
eStyleToken = XML_DOUBLE;
break;
case API_LINE_EMBOSSED:
- eStyleToken = XML_EMBOSSED;
+ eStyleToken = XML_RIDGE;
break;
case API_LINE_ENGRAVED:
- eStyleToken = XML_ENGRAVED;
+ eStyleToken = XML_GROOVE;
break;
case API_LINE_OUTSET:
eStyleToken = XML_OUTSET;