summaryrefslogtreecommitdiff
path: root/cui/source/tabpages
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-04-27 15:26:59 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-04-27 15:30:53 +0200
commit4815d3da5647b274894bbf4edafcadab179ce8f0 (patch)
treea61ea578ce7527a6d83d6294510b12cb4ddea530 /cui/source/tabpages
parent0e4d62adee96ac89822b1808b80af77c8264d052 (diff)
More loplugin:simplifybool
Change-Id: If2eef4011382f48b31d8d6289e4bf725a8cb60ae
Diffstat (limited to 'cui/source/tabpages')
-rw-r--r--cui/source/tabpages/tpbitmap.cxx2
-rw-r--r--cui/source/tabpages/tpcolor.cxx2
-rw-r--r--cui/source/tabpages/tpgradnt.cxx2
-rw-r--r--cui/source/tabpages/tphatch.cxx2
4 files changed, 4 insertions, 4 deletions
diff --git a/cui/source/tabpages/tpbitmap.cxx b/cui/source/tabpages/tpbitmap.cxx
index fdca9bcd10f6..371262628040 100644
--- a/cui/source/tabpages/tpbitmap.cxx
+++ b/cui/source/tabpages/tpbitmap.cxx
@@ -230,7 +230,7 @@ int SvxBitmapTabPage::DeactivatePage( SfxItemSet* _pSet)
bool SvxBitmapTabPage::FillItemSet( SfxItemSet* _rOutAttrs )
{
- if( nDlgType == 0 && *pbAreaTP == false ) // area dialog
+ if( nDlgType == 0 && !*pbAreaTP ) // area dialog
{
if(PT_BITMAP == *pPageType)
{
diff --git a/cui/source/tabpages/tpcolor.cxx b/cui/source/tabpages/tpcolor.cxx
index 571861856343..42baaadb31de 100644
--- a/cui/source/tabpages/tpcolor.cxx
+++ b/cui/source/tabpages/tpcolor.cxx
@@ -559,7 +559,7 @@ long SvxColorTabPage::CheckChanges_Impl()
bool SvxColorTabPage::FillItemSet( SfxItemSet* rSet )
{
if( ( nDlgType != 0 ) ||
- ( *pPageType == PT_COLOR && *pbAreaTP == false ) )
+ ( *pPageType == PT_COLOR && !*pbAreaTP ) )
{
OUString aString;
Color aColor;
diff --git a/cui/source/tabpages/tpgradnt.cxx b/cui/source/tabpages/tpgradnt.cxx
index 9c554b7f1e1c..a4b866ee1d91 100644
--- a/cui/source/tabpages/tpgradnt.cxx
+++ b/cui/source/tabpages/tpgradnt.cxx
@@ -309,7 +309,7 @@ long SvxGradientTabPage::CheckChanges_Impl()
bool SvxGradientTabPage::FillItemSet( SfxItemSet* rSet )
{
- if( nDlgType == 0 && *pPageType == PT_GRADIENT && *pbAreaTP == false )
+ if( nDlgType == 0 && *pPageType == PT_GRADIENT && !*pbAreaTP )
{
// CheckChanges(); <-- duplicate inquiry ?
diff --git a/cui/source/tabpages/tphatch.cxx b/cui/source/tabpages/tphatch.cxx
index c3afeafafd6e..7a7557bbab07 100644
--- a/cui/source/tabpages/tphatch.cxx
+++ b/cui/source/tabpages/tphatch.cxx
@@ -281,7 +281,7 @@ long SvxHatchTabPage::CheckChanges_Impl()
bool SvxHatchTabPage::FillItemSet( SfxItemSet* rSet )
{
- if( nDlgType == 0 && *pbAreaTP == false ) // area dialog
+ if( nDlgType == 0 && !*pbAreaTP ) // area dialog
{
if( *pPageType == PT_HATCH )
{