From 474d8ffd63bbad835f1d5ccb73fcb82c2849db0f Mon Sep 17 00:00:00 2001 From: Julien Nabet Date: Tue, 17 May 2011 12:44:26 +0200 Subject: Some cppcheck cleaning --- cpputools/source/unoexe/unoexe.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpputools/source') diff --git a/cpputools/source/unoexe/unoexe.cxx b/cpputools/source/unoexe/unoexe.cxx index 81bf81baec91..684bc39934e1 100644 --- a/cpputools/source/unoexe/unoexe.cxx +++ b/cpputools/source/unoexe/unoexe.cxx @@ -738,7 +738,7 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS(argc,) } } - if (aReadOnlyRegistries.size() > 0 || + if ((!aReadOnlyRegistries.empty()) || aReadWriteRegistry.getLength() > 0) { //#### create registry ############################################# -- cgit