diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-10-31 12:45:32 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-10-31 13:22:05 +0100 |
commit | d6b9fea9b8cabf6834e55671e308cd6a6b63955a (patch) | |
tree | 6ae11f27b06c889d65500240d354e90c4f12640a /cui | |
parent | f2de7d05457d54767f8d1e0fab01adfaf52d0c37 (diff) |
Nonsensical OUString null check
...ever since at least d32b3a714fe55892bdead03502c5a9b0e77fa61d "#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
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/customize/selector.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cui/source/customize/selector.cxx b/cui/source/customize/selector.cxx index d595d2e1f5ff..17cb9f160e5e 100644 --- a/cui/source/customize/selector.cxx +++ b/cui/source/customize/selector.cxx @@ -993,7 +993,7 @@ void SvxScriptSelectorDialog::UpdateUI() { OUString url = GetScriptURL(); - if ( url != nullptr && !url.isEmpty() ) + if ( !url.isEmpty() ) { OUString sMessage = m_pCommands->GetHelpText(m_pCommands->FirstSelected()); |