summaryrefslogtreecommitdiff
path: root/editeng
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@collabora.com>2014-03-18 23:28:42 -0400
committerKohei Yoshida <kohei.yoshida@collabora.com>2014-03-19 00:28:16 -0400
commit402fffa1b42e8b54704bab5442590d192dea67ca (patch)
tree441a1df96a103551ee949942516b3328059c3cc9 /editeng
parent22c7da0ca5438b69165609db2a1ef219aa167dc2 (diff)
Add dash-dot and dash-dot-dot line styles.
We need these for Excel interop. Change-Id: I91450c1d205f28636edfb4392aa6ae5091b1d7b7
Diffstat (limited to 'editeng')
-rw-r--r--editeng/source/items/borderline.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/editeng/source/items/borderline.cxx b/editeng/source/items/borderline.cxx
index d58f8c3dbc1c..3280988a9c7b 100644
--- a/editeng/source/items/borderline.cxx
+++ b/editeng/source/items/borderline.cxx
@@ -305,6 +305,8 @@ BorderWidthImpl SvxBorderLine::getWidthImpl( SvxBorderStyle nStyle )
case DOTTED:
case DASHED:
case FINE_DASHED:
+ case DASH_DOT:
+ case DASH_DOT_DOT:
aImpl = BorderWidthImpl( CHANGE_LINE1, 1.0 );
break;
@@ -490,6 +492,8 @@ void SvxBorderLine::GuessLinesWidths( SvxBorderStyle nStyle, sal_uInt16 nOut, sa
case DOTTED:
case DASHED:
case FINE_DASHED:
+ case DASH_DOT:
+ case DASH_DOT_DOT:
::std::swap( nOut, nIn);
break;
default: