diff options
Diffstat (limited to 'sc/source/filter/xml/xmlcelli.cxx')
-rw-r--r-- | sc/source/filter/xml/xmlcelli.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/filter/xml/xmlcelli.cxx b/sc/source/filter/xml/xmlcelli.cxx index bf68d4a48b59..a8b61cdfd93f 100644 --- a/sc/source/filter/xml/xmlcelli.cxx +++ b/sc/source/filter/xml/xmlcelli.cxx @@ -964,7 +964,7 @@ void ScXMLTableRowCellContext::SetAnnotation(const ScAddress& rPos) // core implementation void ScXMLTableRowCellContext::SetDetectiveObj( const ScAddress& rPosition ) { - if( cellExists(rPosition) && pDetectiveObjVec && pDetectiveObjVec->size() ) + if( cellExists(rPosition) && pDetectiveObjVec && !pDetectiveObjVec->empty() ) { LockSolarMutex(); ScDetectiveFunc aDetFunc( rXMLImport.GetDocument(), rPosition.Tab() ); |