diff options
author | Michael Stahl <mstahl@redhat.com> | 2012-11-08 18:46:10 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-11-08 18:46:10 +0100 |
commit | cab7e3037c200a9d621d7ede015c9426556194dc (patch) | |
tree | d16d2d3843b94122b6026850b8191d0329031fdb /sc/source | |
parent | e06575d46c6f3b24faf912018baea0eec9c82e4d (diff) |
VBA_InsertModule: warning C4804 usafe use of type bool
Change-Id: I30ccda99df845a0c088fb8e3c3dae8a7be9775f7
Diffstat (limited to 'sc/source')
-rw-r--r-- | sc/source/core/data/documen2.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/data/documen2.cxx b/sc/source/core/data/documen2.cxx index 0c54df362190..b623afd5af43 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(); } |