From 22da27d9ddcdacaef21d667b0777052b7e817b9a Mon Sep 17 00:00:00 2001 From: Thomas Arnhold Date: Sat, 21 Jan 2012 19:57:19 +0100 Subject: Improve checking for emptiness --- svtools/source/filter/wmf/winmtf.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'svtools/source') diff --git a/svtools/source/filter/wmf/winmtf.cxx b/svtools/source/filter/wmf/winmtf.cxx index 3ae1dff17dc3..090886e82678 100644 --- a/svtools/source/filter/wmf/winmtf.cxx +++ b/svtools/source/filter/wmf/winmtf.cxx @@ -2178,7 +2178,7 @@ void WinMtfOutput::Push() // !! to be able to access the o void WinMtfOutput::Pop() { // Die aktuellen Daten vom Stack holen - if( vSaveStack.size() ) + if( !vSaveStack.empty() ) { // Die aktuelle Daten auf dem Stack sichern SaveStructPtr pSave( vSaveStack.back() ); -- cgit