-Werror,-Wtautological-undefined-compare
Change-Id: If546680f4c16ccd733188a65d82129ec2358017b
This commit is contained in:
parent
8ff6bfb75d
commit
dc0b96639f
1 changed files with 0 additions and 6 deletions
|
@ -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!
|
||||
|
|
Loading…
Reference in a new issue