diff options
Diffstat (limited to 'cui/source/dialogs/hyphen.cxx')
-rw-r--r-- | cui/source/dialogs/hyphen.cxx | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/cui/source/dialogs/hyphen.cxx b/cui/source/dialogs/hyphen.cxx index c7f02a1f51d7..1ac7417e3627 100644 --- a/cui/source/dialogs/hyphen.cxx +++ b/cui/source/dialogs/hyphen.cxx @@ -274,23 +274,6 @@ void SvxHyphenWordDialog::ContinueHyph_Impl( sal_Int32 nInsPos ) } -sal_uInt16 SvxHyphenWordDialog::GetHyphIndex_Impl() -{ - sal_uInt16 nPos = 0; - const OUString aTxt( m_pWordEdit->GetText() ); - - for ( sal_Int32 i=0; i < aTxt.getLength(); ++i ) - { - sal_Unicode cChar = aTxt[ i ]; - if ( cChar == CUR_HYPH_POS_CHAR ) - break; - if ( cChar != HYPH_POS_CHAR ) - nPos++; - } - return nPos; -} - - void SvxHyphenWordDialog::SelLeft() { DBG_ASSERT( m_nOldPos > 0, "invalid hyphenation position" ); |