diff options
author | Rüdiger Timm <rt@openoffice.org> | 2008-06-06 10:50:19 +0000 |
---|---|---|
committer | Rüdiger Timm <rt@openoffice.org> | 2008-06-06 10:50:19 +0000 |
commit | c49ffb919f9a500d27059684b4c22491aa85d6cf (patch) | |
tree | 12ab1786ac1311110b82e141728798cfd4005996 /xmloff/source/style | |
parent | 24d2140a6575f3c66f9ab95f008b7c8ad04a243d (diff) |
INTEGRATION: CWS impressodf12 (1.24.20); FILE MERGED
2008/05/15 13:04:39 cl 1.24.20.1: #i35937# removed hack from issue 36217
Diffstat (limited to 'xmloff/source/style')
-rw-r--r-- | xmloff/source/style/styleexp.cxx | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/xmloff/source/style/styleexp.cxx b/xmloff/source/style/styleexp.cxx index b1f9449cd637..6f5d0bc82468 100644 --- a/xmloff/source/style/styleexp.cxx +++ b/xmloff/source/style/styleexp.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: styleexp.cxx,v $ - * $Revision: 1.24 $ + * $Revision: 1.25 $ * * This file is part of OpenOffice.org. * @@ -264,9 +264,7 @@ sal_Bool XMLStyleExport::exportStyle( SvXMLElementExport aElem( GetExport(), XML_NAMESPACE_STYLE, XML_STYLE, sal_True, sal_True ); - SvXMLExportPropertyMapper2* pPropMapper2 = dynamic_cast< SvXMLExportPropertyMapper2* >( rPropMapper.get() ); - if( pPropMapper2 ) - pPropMapper2->SetStyleName( sEncodedStyleName ); + rPropMapper->SetStyleName( sName ); // <style:properties> ::std::vector< XMLPropertyState > xPropStates = @@ -274,8 +272,7 @@ sal_Bool XMLStyleExport::exportStyle( rPropMapper->exportXML( GetExport(), xPropStates, XML_EXPORT_FLAG_IGN_WS ); - if( pPropMapper2 ) - pPropMapper2->SetStyleName( OUString() ); + rPropMapper->SetStyleName( OUString() ); exportStyleContent( rStyle ); |