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 | 0b17f50b534e6d8f4bd0c40142c743aba72ba4f4 (patch) | |
tree | 29bf3fddfa8de9932644a8e1b146c4201800b776 /xmloff/source/draw | |
parent | 9cf8c50e9ada0b09f3b47b818a68cd7c24711c14 (diff) | |
parent | d8fe7dab5866ea39882a2bf914b0acf788d7688d (diff) |
CWS-TOOLING: integrate CWS impress191
Diffstat (limited to 'xmloff/source/draw')
-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 becfd05b1963..6c715b5ad77a 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 = |