summaryrefslogtreecommitdiff
path: root/UnoControls/source/controls/progressmonitor.cxx
diff options
context:
space:
mode:
authorOlivier Hallot <olivier.hallot@alta.org.br>2011-12-09 14:00:09 -0200
committerStephan Bergmann <sbergman@redhat.com>2011-12-09 23:37:05 +0100
commitf43311dfb77342f0d003bee5336215f92500f15c (patch)
tree7f5ef6154f07850add2eb3f169508319f7e11889 /UnoControls/source/controls/progressmonitor.cxx
parent1d1f049859e080b403c743f7e0604bd72475a824 (diff)
Fix for fdo43460, Part I, getLength to isEmpty
Part I Modules unoControl, accessibility and avmedia
Diffstat (limited to 'UnoControls/source/controls/progressmonitor.cxx')
-rw-r--r--UnoControls/source/controls/progressmonitor.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/UnoControls/source/controls/progressmonitor.cxx b/UnoControls/source/controls/progressmonitor.cxx
index 52bd71a99c0e..b3a518248a9e 100644
--- a/UnoControls/source/controls/progressmonitor.cxx
+++ b/UnoControls/source/controls/progressmonitor.cxx
@@ -1038,11 +1038,11 @@ sal_Bool ProgressMonitor::impl_debug_checkParameter (
) {
// Check "rTopic"
if ( &rTopic == NULL ) return sal_False ; // NULL-pointer for reference ???!!!
- if ( rTopic.getLength () < 1 ) return sal_False ; // ""
+ if ( rTopic.isEmpty() ) return sal_False ; // ""
// Check "rText"
if ( &rText == NULL ) return sal_False ; // NULL-pointer for reference ???!!!
- if ( rText.getLength () < 1 ) return sal_False ; // ""
+ if ( rText.isEmpty() ) return sal_False ; // ""
// "bbeforeProgress" is valid in everyway!
@@ -1055,7 +1055,7 @@ sal_Bool ProgressMonitor::impl_debug_checkParameter ( const OUString& rTopic, sa
{
// Check "rTopic"
if ( &rTopic == NULL ) return sal_False ; // NULL-pointer for reference ???!!!
- if ( rTopic.getLength () < 1 ) return sal_False ; // ""
+ if ( rTopic.isEmpty() ) return sal_False ; // ""
// "bbeforeProgress" is valid in everyway!