diff options
author | Cédric Bosdonnat <cedric.bosdonnat@free.fr> | 2012-12-03 17:48:40 +0100 |
---|---|---|
committer | Cédric Bosdonnat <cedric.bosdonnat@free.fr> | 2012-12-03 17:58:48 +0100 |
commit | d9ef61fb546af443736057557552e3a95c569c11 (patch) | |
tree | 40e42d1f7d3574150699cf9b3b254fbe58703e42 /xmloff/source/text/XMLTextMasterPageContext.cxx | |
parent | b49ea0c9d24aa48d62590cb3443c3ad4143d2e2f (diff) |
API CHANGE: roll back the XStyle changes to add a new Hidden property on Style
Change-Id: If6d23925567fb184cd8fc4e00fc72fe4d216e756
Diffstat (limited to 'xmloff/source/text/XMLTextMasterPageContext.cxx')
-rw-r--r-- | xmloff/source/text/XMLTextMasterPageContext.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/xmloff/source/text/XMLTextMasterPageContext.cxx b/xmloff/source/text/XMLTextMasterPageContext.cxx index e707895ce5a0..0b1c2ff798c6 100644 --- a/xmloff/source/text/XMLTextMasterPageContext.cxx +++ b/xmloff/source/text/XMLTextMasterPageContext.cxx @@ -292,6 +292,11 @@ void XMLTextMasterPageContext::Finish( sal_Bool bOverwrite ) xPropSet->setPropertyValue( sFollowStyle, aAny ); } } + + if ( xPropSetInfo->hasPropertyByName( "Hidden" ) ) + { + xPropSet->setPropertyValue( "Hidden", uno::makeAny( IsHidden( ) ) ); + } } } |