summaryrefslogtreecommitdiff
path: root/sfx2/source/view/viewfrm.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-04-24 12:33:12 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-04-24 12:36:27 +0200
commitef5f02d94a88d4e6f18e4010dbbef47506e28a34 (patch)
tree7aaa87ac1d1e27e611c70a91a404451354fb32a3 /sfx2/source/view/viewfrm.cxx
parentf88a1b8d55923c8edee5bc175fd805db779ef166 (diff)
loplugin:simplifybool
Change-Id: I0a2a7d1af979b24f6d3db9783984e85e1992643d
Diffstat (limited to 'sfx2/source/view/viewfrm.cxx')
-rw-r--r--sfx2/source/view/viewfrm.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/view/viewfrm.cxx b/sfx2/source/view/viewfrm.cxx
index cecb1386bd8c..8bccea79f647 100644
--- a/sfx2/source/view/viewfrm.cxx
+++ b/sfx2/source/view/viewfrm.cxx
@@ -1996,7 +1996,7 @@ SfxViewFrame* SfxViewFrame::DisplayNewDocument( SfxObjectShell& i_rDoc, const Sf
i_rDoc,
pFrameItem ? pFrameItem->GetFrame() : NULL,
i_nViewId,
- pHiddenItem ? pHiddenItem->GetValue() : false
+ pHiddenItem && pHiddenItem->GetValue()
);
}