Nonsensical OUString null check
...ever since 523e10ac08
"INTEGRATION: CWS
scriptingf4: #i28384# - implement Macro Selector specification". (That happened
to redundantly check for non-empty aScriptURL, too.)
Change-Id: I3fae859af4b0cc5d2b5f8a609c74b00b120694f3
This commit is contained in:
@@ -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 );
|
||||
}
|
||||
|
Reference in New Issue
Block a user