summaryrefslogtreecommitdiff
path: root/sc/source/ui/docshell/macromgr.cxx
diff options
context:
space:
mode:
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();
}