diff options
author | slideon <adamkasztenny@gmail.com> | 2016-04-01 10:36:33 -0400 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2016-04-27 12:16:56 +0000 |
commit | fd0d4f845da5c247be0543db34de9615be8f81a7 (patch) | |
tree | a465d01e4dc47338a17b904884b3515fdcb10c2c /reportdesign | |
parent | 1520d0d6f3fdb78a09dfb436ba1d2f6804805311 (diff) |
Add default line width defines for TableBorders
This define makes things clearer.
Change-Id: Idd4abf11ed7657c688ea95aac1958ee4b1fd32ee
Reviewed-on: https://gerrit.libreoffice.org/23732
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'reportdesign')
-rw-r--r-- | reportdesign/source/filter/xml/xmlExport.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/reportdesign/source/filter/xml/xmlExport.cxx b/reportdesign/source/filter/xml/xmlExport.cxx index 2928520d7d5b..7d01e8e76118 100644 --- a/reportdesign/source/filter/xml/xmlExport.cxx +++ b/reportdesign/source/filter/xml/xmlExport.cxx @@ -60,6 +60,8 @@ #include <iterator> +#define DEFAULT_LINE_WIDTH 2 + namespace rptxml { using namespace xmloff; @@ -1149,9 +1151,9 @@ void ORptExport::exportAutoStyle(XPropertySet* _xProp,const Reference<XFormatted table::BorderLine2 aValue; aValue.Color = COL_BLACK; aValue.InnerLineWidth = aValue.LineDistance = 0; - aValue.OuterLineWidth = 2; + aValue.OuterLineWidth = DEFAULT_LINE_WIDTH; aValue.LineStyle = table::BorderLineStyle::SOLID; - aValue.LineWidth = 2; + aValue.LineWidth = DEFAULT_LINE_WIDTH; awt::Point aPos = xFixedLine->getPosition(); awt::Size aSize = xFixedLine->getSize(); |