diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-25 11:03:15 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-25 12:03:50 +0200 |
commit | 2fffaf6f05d829e345ad8b391646a6e8df9a9a26 (patch) | |
tree | ec1b7343262433ee2ea9ab6e5197b6fd2327b685 /cui | |
parent | f74da1315a5b2ec232a66944e41ff90231b383be (diff) |
loplugin:unusedmethods
Change-Id: Ia874baf21257e5fe41e104211068a2bcc50446eb
Reviewed-on: https://gerrit.libreoffice.org/40391
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
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); |