[Libreoffice-commits] .: sc/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Thu Nov 8 09:48:07 PST 2012


 sc/source/core/data/documen2.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit cab7e3037c200a9d621d7ede015c9426556194dc
Author: Michael Stahl <mstahl at redhat.com>
Date:   Thu Nov 8 18:46:10 2012 +0100

    VBA_InsertModule: warning C4804 usafe use of type bool
    
    Change-Id: I30ccda99df845a0c088fb8e3c3dae8a7be9775f7

diff --git a/sc/source/core/data/documen2.cxx b/sc/source/core/data/documen2.cxx
index 0c54df3..b623afd 100644
--- a/sc/source/core/data/documen2.cxx
+++ b/sc/source/core/data/documen2.cxx
@@ -1006,7 +1006,7 @@ sal_uLong ScDocument::TransferTab( ScDocument* pSrcDoc, SCTAB nSrcPos,
         {
             rtl::OUString aLibName("Standard");
             const BasicManager *pBasicManager = pSrcShell->GetBasicManager();
-            if (pBasicManager && !pBasicManager->GetName().isEmpty() > 0)
+            if (pBasicManager && !pBasicManager->GetName().isEmpty())
             {
                 aLibName = pSrcShell->GetBasicManager()->GetName();
             }


More information about the Libreoffice-commits mailing list