diff options
author | Michael Stahl <mstahl@redhat.com> | 2012-11-08 18:54:01 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-11-08 18:54:01 +0100 |
commit | af452fda333da53132a4301c372c321798be9cae (patch) | |
tree | 579e753aaedfd0c1904c4d7ba7d8cdd86aaa9184 /sc | |
parent | cab7e3037c200a9d621d7ede015c9426556194dc (diff) |
fix more warning C4804 unsafe use of type bool
... from commit bbf1bcd9ad9cc0368aef4a4de41e9538f6ad91b0
Change-Id: Ic8e52f6848e09a274133f2d8fd1c4044cae4b039
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/docshell/macromgr.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/docshell/macromgr.cxx b/sc/source/ui/docshell/macromgr.cxx index 66890f223942..40bdb2ef40d9 100644 --- a/sc/source/ui/docshell/macromgr.cxx +++ b/sc/source/ui/docshell/macromgr.cxx @@ -147,7 +147,7 @@ void ScMacroManager::InitUserFuncData() Reference< container::XContainer > xModuleContainer; SfxObjectShell* pShell = mpDoc->GetDocumentShell(); - if ( pShell && ! pShell->GetBasicManager()->GetName().isEmpty() > 0 ) + if (pShell && !pShell->GetBasicManager()->GetName().isEmpty()) { sProjectName = pShell->GetBasicManager()->GetName(); } |