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

New commits:
commit cab7e3037c200a9d621d7ede015c9426556194dc
Author: Michael Stahl <mst...@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();
             }
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to