vcl/source/window/menu.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
New commits: commit 2e0d945a6cc2b0e1d8296344648dea32237d3e26 Author: Julien Nabet <serval2...@yahoo.fr> Date: Fri Jul 5 07:44:13 2013 +0200 Oups, Revert "Remove "!!"" This reverts commit f53bebb800ac35ee948640e57bcfff3ca59fd833. diff --git a/vcl/source/window/menu.cxx b/vcl/source/window/menu.cxx index ac9c206..7bf3c16 100644 --- a/vcl/source/window/menu.cxx +++ b/vcl/source/window/menu.cxx @@ -1915,7 +1915,7 @@ void Menu::SetItemImageAngle( sal_uInt16 nItemId, long nAngle10 ) nDeltaAngle += 3600; pData->nItemImageAngle = nAngle10; - if( nDeltaAngle && pData->aImage ) + if( nDeltaAngle && !!pData->aImage ) pData->aImage = ImplRotImage( pData->aImage, nDeltaAngle ); } } @@ -1942,7 +1942,7 @@ void Menu::SetItemImageMirrorMode( sal_uInt16 nItemId, sal_Bool bMirror ) ) { pData->bMirrorMode = bMirror ? true : false; - if( pData->aImage ) + if( !!pData->aImage ) pData->aImage = ImplMirrorImage( pData->aImage ); } } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits