summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorTor Lillqvist <tml@openoffice.org>2010-03-23 14:54:38 +0200
committerTor Lillqvist <tml@openoffice.org>2010-03-23 14:54:38 +0200
commit3f57701d59c7fe86a2e8593325edc7387ae6dd21 (patch)
tree09fa80af1acbff8a95097686de3bc346faa73d64 /oox
parentc8ae599787fdf54c1e44d52545966309e1b30eba (diff)
ooxml10: oox-pptx-import-fix-subtitle-placeholder.diff from ooo-build
Diffstat (limited to 'oox')
-rw-r--r--oox/source/ppt/pptshape.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/oox/source/ppt/pptshape.cxx b/oox/source/ppt/pptshape.cxx
index 3ba4ccb121ca..e3a38265b1b5 100644
--- a/oox/source/ppt/pptshape.cxx
+++ b/oox/source/ppt/pptshape.cxx
@@ -95,6 +95,12 @@ void PPTShape::addShape(
aMasterTextListStyle = rSlidePersist.getMasterPersist().get() ? rSlidePersist.getMasterPersist()->getTitleTextStyle() : rSlidePersist.getTitleTextStyle();
}
break;
+ case XML_subTitle:
+ {
+ const rtl::OUString sTitleShapeService( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.presentation.SubtitleShape" ) );
+ sServiceName = sTitleShapeService;
+ aMasterTextListStyle = rSlidePersist.getMasterPersist().get() ? rSlidePersist.getMasterPersist()->getTitleTextStyle() : rSlidePersist.getTitleTextStyle();
+ }
case XML_obj :
{
const rtl::OUString sOutlinerShapeService( RTL_CONSTASCII_USTRINGPARAM( "com.sun.star.presentation.OutlinerShape" ) );