diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2014-06-10 10:53:46 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2014-06-10 10:53:46 +0200 |
commit | dc0b96639f54acc2bbc9583265aac27d4566c89f (patch) | |
tree | f2760cbe19405ce84ce66721e9d9b57d46353089 /UnoControls | |
parent | 8ff6bfb75de0fb073a7e38941fd8f10c855d3825 (diff) |
-Werror,-Wtautological-undefined-compare
Change-Id: If546680f4c16ccd733188a65d82129ec2358017b
Diffstat (limited to 'UnoControls')
-rw-r--r-- | UnoControls/source/controls/progressmonitor.cxx | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/UnoControls/source/controls/progressmonitor.cxx b/UnoControls/source/controls/progressmonitor.cxx index 93be6b9ab8bf..908687c9efdd 100644 --- a/UnoControls/source/controls/progressmonitor.cxx +++ b/UnoControls/source/controls/progressmonitor.cxx @@ -884,12 +884,8 @@ bool ProgressMonitor::impl_debug_checkParameter ( const OUString& rText, bool /*bbeforeProgress*/ ) { - // Check "rTopic" - if ( &rTopic == NULL ) return false; // NULL-pointer for reference ???!!! if ( rTopic.isEmpty() ) return false; // "" - // Check "rText" - if ( &rText == NULL ) return false; // NULL-pointer for reference ???!!! if ( rText.isEmpty() ) return false; // "" // "bbeforeProgress" is valid in everyway! @@ -901,8 +897,6 @@ bool ProgressMonitor::impl_debug_checkParameter ( // removeText bool ProgressMonitor::impl_debug_checkParameter ( const OUString& rTopic, bool /*bbeforeProgress*/ ) { - // Check "rTopic" - if ( &rTopic == NULL ) return false; // NULL-pointer for reference ???!!! if ( rTopic.isEmpty() ) return false; // "" // "bbeforeProgress" is valid in everyway! |