diff options
author | Ingrid Halama <iha@openoffice.org> | 2010-04-06 11:47:20 +0200 |
---|---|---|
committer | Ingrid Halama <iha@openoffice.org> | 2010-04-06 11:47:20 +0200 |
commit | 21cf3286fe2d239cc8697258b1af4e7294cc6607 (patch) | |
tree | 8c8df61d17417e7ce30e53da4d12a3840ec50b23 /xmloff | |
parent | 5b0fcb960d8b6d49faf40a442b69036bd8efa688 (diff) |
chartpositioning: #i100778# correct ODF behaviour
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/source/chart/SchXMLTools.cxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/xmloff/source/chart/SchXMLTools.cxx b/xmloff/source/chart/SchXMLTools.cxx index c6fb4d0ca013..4456fbec7cb1 100644 --- a/xmloff/source/chart/SchXMLTools.cxx +++ b/xmloff/source/chart/SchXMLTools.cxx @@ -714,7 +714,11 @@ bool isDocumentGeneratedWithOpenOfficeOlderThan3_3( const uno::Reference< frame: if( aGenerator.indexOf( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("OpenOffice.org_project/3") ) ) != -1 ) { if( aGenerator.indexOf( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("OpenOffice.org_project/300m") ) ) != -1 ) - bResult= true; + { + sal_Int32 nBuilId = lcl_getBuildIDFromGenerator( lcl_getGeneratorFromModel(xChartModel) ); + if( nBuilId>0 && nBuilId<9488 ) //9488 is build id of dev300m75 + bResult= true; + } else if( aGenerator.indexOf( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("OpenOffice.org_project/310m") ) ) != -1 ) bResult= true; else if( aGenerator.indexOf( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("OpenOffice.org_project/320m") ) ) != -1 ) |