From 2c1b7e8d6a7fa22cb91919238418816671c3a497 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 19 Oct 2018 08:12:17 +0200 Subject: clang-tidy readability-container-size-empty Change-Id: I1df70b7dff5ebb6048f7fc618789faa15ca5d422 Reviewed-on: https://gerrit.libreoffice.org/61967 Tested-by: Jenkins Reviewed-by: Noel Grandin --- xmloff/source/script/XMLEventImportHelper.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xmloff/source/script/XMLEventImportHelper.cxx') diff --git a/xmloff/source/script/XMLEventImportHelper.cxx b/xmloff/source/script/XMLEventImportHelper.cxx index 6626598f5688..26048e86bacf 100644 --- a/xmloff/source/script/XMLEventImportHelper.cxx +++ b/xmloff/source/script/XMLEventImportHelper.cxx @@ -87,7 +87,7 @@ void XMLEventImportHelper::PushTranslationTable() void XMLEventImportHelper::PopTranslationTable() { - DBG_ASSERT(aEventNameMapVector.size() > 0, + DBG_ASSERT(!aEventNameMapVector.empty(), "no translation tables left to pop"); if ( !aEventNameMapVector.empty() ) { -- cgit