summaryrefslogtreecommitdiffstats
path: root/svtools/inc
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2012-01-27 23:45:53 +0100
committerMichael Stahl <mstahl@redhat.com>2012-01-27 23:49:19 +0100
commit2ea8bbe1d381a8f12b163c0e2a17cf758a420a44 (patch)
tree1f8e070c05a680eeaf37fd944ffd5eeae071edd4 /svtools/inc
parentSvxBorderTabPage: the minimal border width is 1 twip (diff)
downloadcore-2ea8bbe1d381a8f12b163c0e2a17cf758a420a44.tar.gz
core-2ea8bbe1d381a8f12b163c0e2a17cf758a420a44.zip
svtools: LineListBox: fix handling of "none" style
This was erroneously mapped to SOLID, thus effectively preventing the removal of borders via the list box.
Diffstat (limited to 'svtools/inc')
-rw-r--r--svtools/inc/svtools/ctrlbox.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/svtools/inc/svtools/ctrlbox.hxx b/svtools/inc/svtools/ctrlbox.hxx
index a4d9eff26625..3828cf7f7d06 100644
--- a/svtools/inc/svtools/ctrlbox.hxx
+++ b/svtools/inc/svtools/ctrlbox.hxx
@@ -48,9 +48,13 @@ typedef ::std::vector< ImplColorListData* > ImpColorList;
typedef ::std::vector< ImpLineListData* > ImpLineList;
typedef ::std::vector< ImplFontNameListData* > ImplFontList;
+// FIXME: STYLE_* duplicate values from editeng::SvxBorderStyle,
+// which in turn duplicates values from com::sun::star::table::BorderLineStyle:
+// this needs cleaning up on master
#define STYLE_SOLID ( ( sal_uInt16 ) 0 )
#define STYLE_DOTTED ( ( sal_uInt16 ) 1 )
#define STYLE_DASHED ( ( sal_uInt16 ) 2 )
+#define STYLE_NONE ( ( sal_uInt16 ) -1)
#define CHANGE_LINE1 ( ( sal_uInt16 ) 1 )
#define CHANGE_LINE2 ( ( sal_uInt16 ) 2 )