Some cppcheck cleaning
This commit is contained in:
@@ -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 );
|
||||
|
@@ -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();
|
||||
|
Reference in New Issue
Block a user