summaryrefslogtreecommitdiff
path: root/oox/source/ppt/slidemastertextstylescontext.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'oox/source/ppt/slidemastertextstylescontext.cxx')
-rw-r--r--oox/source/ppt/slidemastertextstylescontext.cxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/oox/source/ppt/slidemastertextstylescontext.cxx b/oox/source/ppt/slidemastertextstylescontext.cxx
index b771998922cc..773730417a27 100644
--- a/oox/source/ppt/slidemastertextstylescontext.cxx
+++ b/oox/source/ppt/slidemastertextstylescontext.cxx
@@ -75,8 +75,12 @@ Reference< XFastContextHandler > SlideMasterTextStylesContext::createFastChildCo
break;
}
}
- if ( aTextListStylePtr )
+ if ( aTextListStylePtr ) // sj: the master list style is the last instance of from where properties
+ { // are obtained. i got some documents without having the textsize set at
+ for ( int i = 0; i < 9; i++ ) // any point, the master reference application is using 18pt then
+ aTextListStylePtr->getListStyle()[ i ]->getTextCharacterProperties().moHeight = 1800;
xRet.set( new oox::drawingml::TextListStyleContext( *this, *aTextListStylePtr ) );
+ }
if( !xRet.is() )
xRet.set( this );