diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2011-09-01 21:33:22 +0200 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2011-09-01 21:34:19 +0200 |
commit | 78c1a9f5c4ff63aadda0d1b0ddbea1d41622c42c (patch) | |
tree | dce36099fe2116910b858a937e65072b1eda2fc4 | |
parent | f8d22519a415fbe427efa603ad2a7aad6a39e2a9 (diff) |
Some cppcheck cleaning
-rw-r--r-- | dbaccess/source/core/dataaccess/databasedocument.cxx | 2 | ||||
-rw-r--r-- | vcl/win/source/window/salframe.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/dbaccess/source/core/dataaccess/databasedocument.cxx b/dbaccess/source/core/dataaccess/databasedocument.cxx index 37f60919d56b..3350275a12c4 100644 --- a/dbaccess/source/core/dataaccess/databasedocument.cxx +++ b/dbaccess/source/core/dataaccess/databasedocument.cxx @@ -443,7 +443,7 @@ void lcl_uglyHackToStoreDialogeEmbedImages( const Reference< XStorageBasedLibrar } } // if we have any image urls, make sure we copy the associated images into tempPictures - if ( vEmbedImgUrls.size() ) + if ( !vEmbedImgUrls.empty() ) { // Export the images to the storage Sequence< Any > aArgs( 1 ); diff --git a/vcl/win/source/window/salframe.cxx b/vcl/win/source/window/salframe.cxx index 80051f321eac..be77a0979d2a 100644 --- a/vcl/win/source/window/salframe.cxx +++ b/vcl/win/source/window/salframe.cxx @@ -1645,7 +1645,7 @@ static void ImplSetParentFrame( WinSalFrame* pThis, HWND hNewParentWnd, sal_Bool DBG_ASSERT( systemChildren.empty(), "WinSalFrame::SetParent() parent of living system child window will be destroyed!"); // reparent children before old parent is destroyed - for( ::std::vector< WinSalFrame* >::iterator iChild = children.begin(); iChild != children.end(); iChild++ ) + for( ::std::vector< WinSalFrame* >::iterator iChild = children.begin(); iChild != children.end(); ++iChild ) ImplSetParentFrame( *iChild, hWnd, FALSE ); children.clear(); |