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

Stephan Bergmann sbergman at redhat.com
Mon Oct 26 09:26:48 PDT 2015


 sc/source/ui/unoobj/docuno.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 833e29a6642363c28eb1c42a59449aea5692bf09
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Mon Oct 26 17:26:24 2015 +0100

    loplugin:literaltoboolconversion
    
    Change-Id: If7c7461893ad2627f4bf8a95051282a30a77dc3a

diff --git a/sc/source/ui/unoobj/docuno.cxx b/sc/source/ui/unoobj/docuno.cxx
index d89d0ae..db76dd0 100644
--- a/sc/source/ui/unoobj/docuno.cxx
+++ b/sc/source/ui/unoobj/docuno.cxx
@@ -862,7 +862,7 @@ bool ScModelObj::isMimeTypeSupported()
 
     ScViewData* pViewData = ScDocShell::GetViewData();
     if (!pViewData)
-        return 0;
+        return false;
 
 
     TransferableDataHelper aDataHelper(TransferableDataHelper::CreateFromSystemClipboard(pViewData->GetActiveWin()));


More information about the Libreoffice-commits mailing list