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:
Stephan Bergmann
2016-10-31 12:57:31 +01:00
parent 9799fe3dbb
commit a24105a892

View File

@@ -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 );
}