summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorPriyankaGaikwad <priyanka.gaikwad@synerzip.com>2015-04-14 14:55:29 +0530
committerCaolán McNamara <caolanm@redhat.com>2015-04-21 19:36:26 +0000
commit60cbd35ce87cb34f01b9c3689e53379c49b6bfce (patch)
tree4ee81786c0dafaa0355838948ecbe08f1c214b29 /oox
parent79c3946e11eb909fd258a9a1c1b4075de2e7be13 (diff)
tdf#90605 : FILESAVE:PPTX Line shape style was not exported
Problem description: <p:style> tag of line shape are not exported. It will export the line shape with no style. Fixed for export of line shape style Change-Id: I1ad8d8c3795f180964b551d7501465170e495c61 Reviewed-on: https://gerrit.libreoffice.org/15297 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'oox')
-rw-r--r--oox/source/export/shapes.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/oox/source/export/shapes.cxx b/oox/source/export/shapes.cxx
index 95b0b37383ad..c95f99c2f061 100644
--- a/oox/source/export/shapes.cxx
+++ b/oox/source/export/shapes.cxx
@@ -784,6 +784,11 @@ ShapeExport& ShapeExport::WriteLineShape( Reference< XShape > xShape )
WriteOutline( xShapeProps );
pFS->endElementNS( mnXmlNamespace, XML_spPr );
+ //write style
+ pFS->startElementNS( mnXmlNamespace, XML_style, FSEND );
+ WriteShapeStyle( xShapeProps );
+ pFS->endElementNS( mnXmlNamespace, XML_style );
+
// write text
WriteTextBox( xShape, mnXmlNamespace );