diff options
author | obo <obo@openoffice.org> | 2010-06-22 06:27:13 +0200 |
---|---|---|
committer | obo <obo@openoffice.org> | 2010-06-22 06:27:13 +0200 |
commit | f257a0f24c51c291ad346b933c915f84e2d80a7e (patch) | |
tree | f188f28cd9e0da945a18c19971ccf7ec1b8fa5ac /xmloff | |
parent | ff06f2197489c750aec5f53da9d4def878d87e36 (diff) | |
parent | 0f2d1f189a95b885742a814bbee2dafb09043641 (diff) |
CWS-TOOLING: integrate CWS impress191
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/draw/ximppage.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xmloff/source/draw/ximppage.cxx b/xmloff/source/draw/ximppage.cxx index 06c227bcdf..e573f03f96 100644 --- a/xmloff/source/draw/ximppage.cxx +++ b/xmloff/source/draw/ximppage.cxx @@ -339,6 +339,9 @@ void SdXMLGenericPageContext::EndElement() else if( aDateTimeFormat.getLength() ) { const SdXMLStylesContext* pStyles = dynamic_cast< const SdXMLStylesContext* >( GetSdImport().GetShapeImport()->GetStylesContext() ); + if( !pStyles ) + pStyles = dynamic_cast< const SdXMLStylesContext* >( GetSdImport().GetShapeImport()->GetAutoStylesContext() ); + if( pStyles ) { const SdXMLNumberFormatImportContext* pSdNumStyle = |