summaryrefslogtreecommitdiff
path: root/sc/source/ui/docshell/macromgr.cxx
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2012-11-08 18:54:01 +0100
committerMichael Stahl <mstahl@redhat.com>2012-11-08 18:54:01 +0100
commitaf452fda333da53132a4301c372c321798be9cae (patch)
tree579e753aaedfd0c1904c4d7ba7d8cdd86aaa9184 /sc/source/ui/docshell/macromgr.cxx
parentcab7e3037c200a9d621d7ede015c9426556194dc (diff)
fix more warning C4804 unsafe use of type bool
... from commit bbf1bcd9ad9cc0368aef4a4de41e9538f6ad91b0 Change-Id: Ic8e52f6848e09a274133f2d8fd1c4044cae4b039
Diffstat (limited to 'sc/source/ui/docshell/macromgr.cxx')
-rw-r--r--sc/source/ui/docshell/macromgr.cxx2
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();
}