sw/source/core/view/viewsh.cxx | 2 +- sw/source/core/view/vnew.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
New commits: commit c31bc23d23ca5bd973cd9dd823e99cb42b440953 Author: Stephan Bergmann <sberg...@redhat.com> Date: Mon Mar 3 09:28:10 2014 +0100 loplugin:implicitboolconversion Change-Id: I8c8b8211416916d612ade161ea4a742166b95574 diff --git a/sw/source/core/view/viewsh.cxx b/sw/source/core/view/viewsh.cxx index 7659f76..973576c 100644 --- a/sw/source/core/view/viewsh.cxx +++ b/sw/source/core/view/viewsh.cxx @@ -483,7 +483,7 @@ void SwViewShell::ImplUnlockPaint( sal_Bool bVirDev ) sal_Bool SwViewShell::AddPaintRect( const SwRect & rRect ) { - sal_Bool bRet = sal_False; + bool bRet = false; SwViewShell *pSh = this; do { diff --git a/sw/source/core/view/vnew.cxx b/sw/source/core/view/vnew.cxx index 990a5dfb..c509b3f 100644 --- a/sw/source/core/view/vnew.cxx +++ b/sw/source/core/view/vnew.cxx @@ -362,7 +362,7 @@ SwViewShell::~SwViewShell() sal_Bool SwViewShell::HasDrawView() const { - return Imp() ? Imp()->HasDrawView() : 0; + return Imp() && Imp()->HasDrawView(); } void SwViewShell::MakeDrawView() _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits