Kaydet (Commit) a24105a8 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Nonsensical OUString null check

...ever since 523e10ac "INTEGRATION: CWS
scriptingf4: #i28384# - implement Macro Selector specification".  (That happened
to redundantly check for non-empty aScriptURL, too.)

Change-Id: I3fae859af4b0cc5d2b5f8a609c74b00b120694f3
üst 9799fe3d
...@@ -846,7 +846,7 @@ IMPL_LINK_NOARG(ScTPValidationError, ClickSearchHdl, Button*, void) ...@@ -846,7 +846,7 @@ IMPL_LINK_NOARG(ScTPValidationError, ClickSearchHdl, Button*, void)
// choosing a script // choosing a script
OUString aScriptURL = SfxApplication::ChooseScript(); OUString aScriptURL = SfxApplication::ChooseScript();
if ( aScriptURL != nullptr && !aScriptURL.isEmpty() ) if ( !aScriptURL.isEmpty() )
{ {
m_pEdtTitle->SetText( aScriptURL ); m_pEdtTitle->SetText( aScriptURL );
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment