summaryrefslogtreecommitdiffstats
path: root/sdext/source/pdfimport/tree/style.cxx
diff options
context:
space:
mode:
authorVort <vvort@yandex.ru>2014-05-04 08:49:18 +0300
committerCaolán McNamara <caolanm@redhat.com>2014-05-06 15:07:59 +0000
commitb27fca822cd6f40c8a7e56fe56fdf76bdc0dd159 (patch)
treec2fab90b9e46d9e502ef8e8337e519e562dfc171 /sdext/source/pdfimport/tree/style.cxx
parentRelated: fdo#36815 clip overlarge comment contents (diff)
downloadcore-b27fca822cd6f40c8a7e56fe56fdf76bdc0dd159.tar.gz
core-b27fca822cd6f40c8a7e56fe56fdf76bdc0dd159.zip
fdo#78241 PDF Import: add dashes support
Change-Id: Ifd9fbce44c7d18114d5be466bfb9d92192573205 Reviewed-on: https://gerrit.libreoffice.org/9246 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sdext/source/pdfimport/tree/style.cxx')
-rw-r--r--sdext/source/pdfimport/tree/style.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sdext/source/pdfimport/tree/style.cxx b/sdext/source/pdfimport/tree/style.cxx
index d3523828d784..4e91dcf26a8c 100644
--- a/sdext/source/pdfimport/tree/style.cxx
+++ b/sdext/source/pdfimport/tree/style.cxx
@@ -191,6 +191,8 @@ void StyleContainer::impl_emitStyle( sal_Int32 nStyleId,
PropertyMap aProps( rStyle.Properties );
if( !rStyle.IsSubStyle )
aProps[ "style:name" ] = getStyleName( nStyleId );
+ if (rStyle.Name == "draw:stroke-dash")
+ aProps[ "draw:name" ] = aProps[ "style:name" ];
rContext.rEmitter.beginTag( rStyle.Name.getStr(), aProps );
for( unsigned int n = 0; n < rStyle.SubStyles.size(); ++n )