summaryrefslogtreecommitdiff
path: root/editeng/source/misc/hangulhanja.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'editeng/source/misc/hangulhanja.cxx')
-rw-r--r--editeng/source/misc/hangulhanja.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/editeng/source/misc/hangulhanja.cxx b/editeng/source/misc/hangulhanja.cxx
index 1c7a809e216b..6e0eb21d1f14 100644
--- a/editeng/source/misc/hangulhanja.cxx
+++ b/editeng/source/misc/hangulhanja.cxx
@@ -496,7 +496,7 @@ namespace editeng
m_nReplacementBaseIndex = 0;
m_nCurrentStartIndex = m_nCurrentEndIndex = 0;
- bool bRet = 0 != m_sCurrentPortion.getLength();
+ bool bRet = !m_sCurrentPortion.isEmpty();
if (m_eConvType == HHC::eConvHangulHanja && m_bTryBothDirections)
implGetConversionDirectionForCurrentPortion( m_eCurrentConversionDirection );
@@ -528,7 +528,7 @@ namespace editeng
return sal_True;
}
}
- while ( m_sCurrentPortion.getLength() );
+ while ( !m_sCurrentPortion.isEmpty() );
// no more portions
return sal_False;
@@ -730,7 +730,7 @@ namespace editeng
void HangulHanjaConversion_Impl::implChange( const ::rtl::OUString& _rChangeInto )
{
- if( !_rChangeInto.getLength() )
+ if( _rChangeInto.isEmpty() )
return;
// translate the conversion format into a replacement action
@@ -900,7 +900,7 @@ namespace editeng
::rtl::OUString sCurrentUnit( m_pConversionDialog->GetCurrentString() );
::rtl::OUString sChangeInto( m_pConversionDialog->GetCurrentSuggestion( ) );
- if( sChangeInto.getLength() )
+ if( !sChangeInto.isEmpty() )
{
// change the current occurrence
implChange( sChangeInto );