diff options
-rw-r--r-- | xmloff/source/draw/sdxmlexp.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/xmloff/source/draw/sdxmlexp.cxx b/xmloff/source/draw/sdxmlexp.cxx index d5b8463b0d6e..dbb761e9ddec 100644 --- a/xmloff/source/draw/sdxmlexp.cxx +++ b/xmloff/source/draw/sdxmlexp.cxx @@ -2400,13 +2400,11 @@ void SdXMLExport::addDataStyle(const sal_Int32 nNumberFormat, bool bTimeFormat ) if( bTimeFormat ) { - if( maUsedTimeStyles.count( nFormat ) == 0 ) - maUsedTimeStyles.insert( nFormat ); + maUsedTimeStyles.insert( nFormat ); } else { - if( maUsedDateStyles.count( nFormat ) == 0 ) - maUsedDateStyles.insert( nFormat ); + maUsedDateStyles.insert( nFormat ); } } |