From a24105a8927c9450088fe950cf6bb88adf225614 Mon Sep 17 00:00:00 2001 From: Stephan Bergmann Date: Mon, 31 Oct 2016 12:57:31 +0100 Subject: [PATCH] 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 --- sc/source/ui/dbgui/validate.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); }