diff options
author | Olivier Hallot <olivier.hallot@alta.org.br> | 2011-12-25 19:31:22 -0200 |
---|---|---|
committer | Ivan Timofeev <timofeev.i.s@gmail.com> | 2011-12-26 14:26:08 +0400 |
commit | 3e4f51f112248b4e586f5bd86388099737ed17e9 (patch) | |
tree | f17f47a54446c5a1260aecd64202dca85ad08c2d /fpicker/source/office/commonpicker.cxx | |
parent | e7bddf732798508e347221590110486e97bb45e6 (diff) |
Fix for fdo43460 Part XIX getLength() to isEmpty()
Part XIX
Module
formula and fpicker
Diffstat (limited to 'fpicker/source/office/commonpicker.cxx')
-rw-r--r-- | fpicker/source/office/commonpicker.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fpicker/source/office/commonpicker.cxx b/fpicker/source/office/commonpicker.cxx index e6a5f227d7fe..df317e47a1f1 100644 --- a/fpicker/source/office/commonpicker.cxx +++ b/fpicker/source/office/commonpicker.cxx @@ -112,7 +112,7 @@ namespace svt createPicker(); // set the title - if ( m_aTitle.getLength() > 0 ) + if ( !m_aTitle.isEmpty() ) getDialog()->SetText( m_aTitle ); } @@ -218,7 +218,7 @@ namespace svt if ( m_pDlg ) { // synchronize the help id of the dialog with out help URL property - if ( m_sHelpURL.getLength() ) + if ( !m_sHelpURL.isEmpty() ) { // somebody already set the help URL while we had no dialog yet OControlAccess::setHelpURL( m_pDlg, m_sHelpURL, sal_False ); } @@ -445,7 +445,7 @@ namespace svt { if ( *pArgument >>= aPropArg ) { - if ( aPropArg.Name.getLength() <= 0) + if ( aPropArg.Name.isEmpty()) continue; sSettingName = aPropArg.Name; @@ -453,7 +453,7 @@ namespace svt } else if ( *pArgument >>= aPairArg ) { - if ( aPairArg.Name.getLength() <= 0) + if ( aPairArg.Name.isEmpty()) continue; sSettingName = aPairArg.Name; |