diff options
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/dialogs/hyphen.cxx | 17 | ||||
-rw-r--r-- | cui/source/inc/hyphen.hxx | 1 |
2 files changed, 0 insertions, 18 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" ); diff --git a/cui/source/inc/hyphen.hxx b/cui/source/inc/hyphen.hxx index 88a6e3c2b46f..5670fa18610e 100644 --- a/cui/source/inc/hyphen.hxx +++ b/cui/source/inc/hyphen.hxx @@ -67,7 +67,6 @@ class SvxHyphenWordDialog : public SfxModalDialog void InitControls_Impl(); void ContinueHyph_Impl( sal_Int32 nInsPos = -1 ); // continue by default - sal_uInt16 GetHyphIndex_Impl(); DECL_LINK(Left_Impl, Button*, void); DECL_LINK(Right_Impl, Button*, void); |