summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2017-01-05 09:17:23 +0100
committerStephan Bergmann <sbergman@redhat.com>2017-01-05 09:17:47 +0100
commitad9cfbcf02b74b1d1ca9cc5d51e5f3777cb9eab9 (patch)
treedfe2a07e67bc5b1c48d8bd81ff092919f37270e3 /sfx2
parent5af78ee8dfcb05319ec3a8f9df9c12b9a2b30539 (diff)
Don't exclude a var from loplugin:salbool merely because of use in >>=
Change-Id: I1b8a3dfa1dc6b351ab0903a74eae19dfa6d0888d
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/control/unoctitm.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sfx2/source/control/unoctitm.cxx b/sfx2/source/control/unoctitm.cxx
index 3e744e5caae1..15e725693ccc 100644
--- a/sfx2/source/control/unoctitm.cxx
+++ b/sfx2/source/control/unoctitm.cxx
@@ -1096,7 +1096,7 @@ static void InterceptLOKStateChangeEvent(const SfxViewFrame* pViewFrame, const c
aEvent.FeatureURL.Path == "NumberFormatPercent" ||
aEvent.FeatureURL.Path == "NumberFormatDate")
{
- sal_Bool aBool;
+ bool aBool;
if (aEvent.IsEnabled && (aEvent.State >>= aBool))
{
@@ -1105,7 +1105,7 @@ static void InterceptLOKStateChangeEvent(const SfxViewFrame* pViewFrame, const c
}
else if (aEvent.FeatureURL.Path == "ToggleMergeCells")
{
- sal_Bool aBool;
+ bool aBool;
if (aEvent.IsEnabled && (aEvent.State >>= aBool))
{