summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cui/source/customize/selector.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/customize/selector.cxx b/cui/source/customize/selector.cxx
index d595d2e1f5ff..17cb9f160e5e 100644
--- a/cui/source/customize/selector.cxx
+++ b/cui/source/customize/selector.cxx
@@ -993,7 +993,7 @@ void
SvxScriptSelectorDialog::UpdateUI()
{
OUString url = GetScriptURL();
- if ( url != nullptr && !url.isEmpty() )
+ if ( !url.isEmpty() )
{
OUString sMessage =
m_pCommands->GetHelpText(m_pCommands->FirstSelected());