Nonsensical OUString null check
...ever since at least d32b3a714f
"#i106421#: move
svx/source/cui to cui". (That happened to redundantly check for non-empty url,
too; maybe in the distant past GetScriptURL returned a pointer.)
Change-Id: I6139db1d4b1fdcf5325895569de293dd89e36d9f
This commit is contained in:
@@ -993,7 +993,7 @@ void
|
|||||||
SvxScriptSelectorDialog::UpdateUI()
|
SvxScriptSelectorDialog::UpdateUI()
|
||||||
{
|
{
|
||||||
OUString url = GetScriptURL();
|
OUString url = GetScriptURL();
|
||||||
if ( url != nullptr && !url.isEmpty() )
|
if ( !url.isEmpty() )
|
||||||
{
|
{
|
||||||
OUString sMessage =
|
OUString sMessage =
|
||||||
m_pCommands->GetHelpText(m_pCommands->FirstSelected());
|
m_pCommands->GetHelpText(m_pCommands->FirstSelected());
|
||||||
|
Reference in New Issue
Block a user