sfx2/source/appl/app.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit d4cbae02ecdd50ea31556bda967a1a0869530275 Author: Julien Nabet <serval2...@yahoo.fr> AuthorDate: Sun Dec 31 12:25:43 2023 +0100 Commit: Julien Nabet <serval2...@yahoo.fr> CommitDate: Sun Dec 31 16:37:02 2023 +0100 Replace "size() != 0 with !empty()" (sfx2) Change-Id: Ic841e85634d292758d2815aab1b3f7546ed2a6f6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/161486 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2...@yahoo.fr> diff --git a/sfx2/source/appl/app.cxx b/sfx2/source/appl/app.cxx index 488e622aa01e..f35698cced96 100644 --- a/sfx2/source/appl/app.cxx +++ b/sfx2/source/appl/app.cxx @@ -163,7 +163,7 @@ SfxApplication::SfxApplication() SfxApplication::~SfxApplication() { - SAL_WARN_IF(GetObjectShells_Impl().size() != 0, "sfx.appl", "Memory leak: some object shells were not removed!"); + SAL_WARN_IF(!GetObjectShells_Impl().empty(), "sfx.appl", "Memory leak: some object shells were not removed!"); Broadcast( SfxHint(SfxHintId::Dying) );