summaryrefslogtreecommitdiff
path: root/svtools/source/misc/templatefoldercache.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svtools/source/misc/templatefoldercache.cxx')
-rw-r--r--svtools/source/misc/templatefoldercache.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/svtools/source/misc/templatefoldercache.cxx b/svtools/source/misc/templatefoldercache.cxx
index 355fbd4695c3..a2b0b09acbc9 100644
--- a/svtools/source/misc/templatefoldercache.cxx
+++ b/svtools/source/misc/templatefoldercache.cxx
@@ -218,7 +218,7 @@ namespace svt
if ( _rLHS->getSubContents().size() != _rRHS->getSubContents().size() )
return false;
- if ( _rLHS->getSubContents().size() )
+ if ( !_rLHS->getSubContents().empty() )
{ // there are children
// -> compare them
::std::pair< FolderIterator, FolderIterator > aFirstDifferent = ::std::mismatch(