[Libreoffice-commits] core.git: cui/source
Jochen Nitschke
j.nitschke+logerrit at ok.de
Sun Aug 28 12:55:22 UTC 2016
cui/source/dialogs/screenshotannotationdlg.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit bf7a7d6d10d0a8e1c7771c8ae57123a91edb77d7
Author: Jochen Nitschke <j.nitschke+logerrit at ok.de>
Date: Sun Aug 28 13:34:15 2016 +0200
loplugin:implicitboolconversion
Change-Id: I6fa51f65e75ca84f746ff5d1c7dcf97a5225d2d2
Reviewed-on: https://gerrit.libreoffice.org/28435
Reviewed-by: Jochen Nitschke <j.nitschke+logerrit at ok.de>
Tested-by: Jochen Nitschke <j.nitschke+logerrit at ok.de>
diff --git a/cui/source/dialogs/screenshotannotationdlg.cxx b/cui/source/dialogs/screenshotannotationdlg.cxx
index 6016cd0..44542ee 100644
--- a/cui/source/dialogs/screenshotannotationdlg.cxx
+++ b/cui/source/dialogs/screenshotannotationdlg.cxx
@@ -198,7 +198,7 @@ ScreenshotAnnotationDlg_Impl::ScreenshotAnnotationDlg_Impl(
// avoid image scaling, this is needed for images smaller than the
// minimal dialog size
const WinBits aWinBits(mpPicture->GetStyle());
- mpPicture->SetStyle(aWinBits & (!WinBits(WB_SCALE)));
+ mpPicture->SetStyle(aWinBits & ~WB_SCALE);
}
// set some test text at VclMultiLineEdit and make read-only - only
More information about the Libreoffice-commits
mailing list