[Libreoffice-commits] core.git: svx/source

Stephan Bergmann sbergman at redhat.com
Tue Oct 24 19:12:03 UTC 2017


 svx/source/items/pageitem.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 24eeb4d286471e4a2103c15efc624a565112ca32
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Tue Oct 24 21:10:48 2017 +0200

    loplugin:implicitboolconversion
    
    ...similar to a2d814ac1d7beb6fbe4b9cb7b75814f4b08b8e59
    "loplugin:implicitboolconversion"
    
    Change-Id: Id664a066549498548c123e8dbdc68ba43af9348e

diff --git a/svx/source/items/pageitem.cxx b/svx/source/items/pageitem.cxx
index 18c4981473ce..1da923284439 100644
--- a/svx/source/items/pageitem.cxx
+++ b/svx/source/items/pageitem.cxx
@@ -166,7 +166,7 @@ bool SvxPageItem::QueryValue( uno::Any& rVal, sal_uInt8 nMemberId ) const
         }
         break;
         case MID_PAGE_ORIENTATION:
-            rVal <<= (bool) bLandscape;
+            rVal <<= bLandscape;
         break;
         case MID_PAGE_LAYOUT     :
         {


More information about the Libreoffice-commits mailing list