summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-10-31 12:57:31 +0100
committerStephan Bergmann <sbergman@redhat.com>2016-10-31 13:22:05 +0100
commita24105a8927c9450088fe950cf6bb88adf225614 (patch)
tree7b06c4c55cc020a5a18cb7c1b8341eebe0c3b9ff /sc
parent9799fe3dbb09d1d07fb15ff4d7f7dbd1453f05db (diff)
Nonsensical OUString null check
...ever since 523e10ac08b35b6b63e9ac0ffefac7c013e4ee89 "INTEGRATION: CWS scriptingf4: #i28384# - implement Macro Selector specification". (That happened to redundantly check for non-empty aScriptURL, too.) Change-Id: I3fae859af4b0cc5d2b5f8a609c74b00b120694f3
Diffstat (limited to 'sc')
-rw-r--r--sc/source/ui/dbgui/validate.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/dbgui/validate.cxx b/sc/source/ui/dbgui/validate.cxx
index 3be6e95a88bc..d496c6f6d8cf 100644
--- a/sc/source/ui/dbgui/validate.cxx
+++ b/sc/source/ui/dbgui/validate.cxx
@@ -846,7 +846,7 @@ IMPL_LINK_NOARG(ScTPValidationError, ClickSearchHdl, Button*, void)
// choosing a script
OUString aScriptURL = SfxApplication::ChooseScript();
- if ( aScriptURL != nullptr && !aScriptURL.isEmpty() )
+ if ( !aScriptURL.isEmpty() )
{
m_pEdtTitle->SetText( aScriptURL );
}