summaryrefslogtreecommitdiff
path: root/oox
diff options
context:
space:
mode:
authorZolnai Tamás <tamas.zolnai@collabora.com>2014-09-13 21:01:18 +0200
committerZolnai Tamás <tamas.zolnai@collabora.com>2014-09-17 09:59:49 +0200
commit25fb9471552c3b17eb7e9ae622b3ac89e7e997d0 (patch)
tree042dd1cb6a4cc6e30d048f8e01d11f4e6d8dc078 /oox
parentdf9145abe89ae698287facdeb41c0dd3b7758190 (diff)
bnc#584721: Right text inside the title area on master page
With setting bClearText to true the default text used inside LO will be removed. Before that change the imported text was appended to the end of the LO default text. Now it contains only the imported text. Change-Id: I9f5eb0e20468a35c64130a433367cd3845ac7e3c
Diffstat (limited to 'oox')
-rw-r--r--oox/source/ppt/pptshape.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/oox/source/ppt/pptshape.cxx b/oox/source/ppt/pptshape.cxx
index f454f4487fe9..a9ed0b945388 100644
--- a/oox/source/ppt/pptshape.cxx
+++ b/oox/source/ppt/pptshape.cxx
@@ -139,6 +139,7 @@ void PPTShape::addShape(
{
sServiceName = "com.sun.star.presentation.TitleTextShape";
aMasterTextListStyle = rSlidePersist.getMasterPersist().get() ? rSlidePersist.getMasterPersist()->getTitleTextStyle() : rSlidePersist.getTitleTextStyle();
+ bClearText = true;
}
break;
case XML_subTitle :