diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-07-01 14:12:50 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-07-01 14:12:50 +0200 |
commit | ff2fd4d131e4681b43993f3bdbbde57fcf79ff8d (patch) | |
tree | 1d1830fffff817f9a8703c292e54a7b48942a3fa /svx/source/dialog/pagectrl.cxx | |
parent | b398f8157699030061dde88d967364bedd5b2a52 (diff) |
loplugin:literaltoboolconversion
Change-Id: I864d5e3fbb7f8f8278c45b721be70f805c6a6713
Diffstat (limited to 'svx/source/dialog/pagectrl.cxx')
-rw-r--r-- | svx/source/dialog/pagectrl.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/svx/source/dialog/pagectrl.cxx b/svx/source/dialog/pagectrl.cxx index 02bf69302236..b376f5a973bb 100644 --- a/svx/source/dialog/pagectrl.cxx +++ b/svx/source/dialog/pagectrl.cxx @@ -143,17 +143,17 @@ void SvxPageWindow::Paint(const Rectangle&) aSz = PixelToLogic(GetSizePixel()); nYPos = (aSz.Height() - aSize.Height()) / 2; long nXPos = (aSz.Width() - aSize.Width()) / 2; - DrawPage(Point(nXPos,nYPos),sal_True,sal_True); + DrawPage(Point(nXPos,nYPos),true,true); } else // Portrait - DrawPage(Point((aSz.Width() - aSize.Width()) / 2,nYPos),sal_True,sal_True); + DrawPage(Point((aSz.Width() - aSize.Width()) / 2,nYPos),true,true); } else { // Left and right page are different -> draw two pages if possible - DrawPage(Point(0,nYPos),sal_False,(sal_Bool)(eUsage & SVX_PAGE_LEFT)); - DrawPage(Point(aSize.Width() + aSize.Width() / 8,nYPos),sal_True, + DrawPage(Point(0,nYPos),false,(sal_Bool)(eUsage & SVX_PAGE_LEFT)); + DrawPage(Point(aSize.Width() + aSize.Width() / 8,nYPos),true, (sal_Bool)(eUsage & SVX_PAGE_RIGHT)); } } |