summaryrefslogtreecommitdiff
path: root/cui/source/dialogs/screenshotannotationdlg.cxx
diff options
context:
space:
mode:
authorJochen Nitschke <j.nitschke+logerrit@ok.de>2016-08-28 13:34:15 +0200
committerJochen Nitschke <j.nitschke+logerrit@ok.de>2016-08-28 12:55:01 +0000
commitbf7a7d6d10d0a8e1c7771c8ae57123a91edb77d7 (patch)
treeafb81f1917f4c8c2db82c862897b9b6c2b05ab31 /cui/source/dialogs/screenshotannotationdlg.cxx
parent476e7aca0eb3910786a39670f5b8e08c4e60283f (diff)
loplugin:implicitboolconversion
Change-Id: I6fa51f65e75ca84f746ff5d1c7dcf97a5225d2d2 Reviewed-on: https://gerrit.libreoffice.org/28435 Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de> Tested-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
Diffstat (limited to 'cui/source/dialogs/screenshotannotationdlg.cxx')
-rw-r--r--cui/source/dialogs/screenshotannotationdlg.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/dialogs/screenshotannotationdlg.cxx b/cui/source/dialogs/screenshotannotationdlg.cxx
index 6016cd069d43..44542eeae62a 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