diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-02-20 11:08:10 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-02-20 16:27:56 +0100 |
commit | fbd86a73dc3c1909dc088ae147a8bef519983d68 (patch) | |
tree | 3e28dab57e552c113c3cfd2998b574ad073cd374 /cui | |
parent | a10df00bd4a2ae293b077701d32c720a63080ebf (diff) |
m_pIgnoreNonPrimary is not used
Change-Id: I86198f7b4476a2a7b61daf3f21f3bd43a18de77f
Reviewed-on: https://gerrit.libreoffice.org/68070
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/dialogs/hangulhanjadlg.cxx | 13 | ||||
-rw-r--r-- | cui/source/inc/hangulhanjadlg.hxx | 1 |
2 files changed, 1 insertions, 13 deletions
diff --git a/cui/source/dialogs/hangulhanjadlg.cxx b/cui/source/dialogs/hangulhanjadlg.cxx index b544e339d911..78c0ddf1db3f 100644 --- a/cui/source/dialogs/hangulhanjadlg.cxx +++ b/cui/source/dialogs/hangulhanjadlg.cxx @@ -550,9 +550,8 @@ namespace svx VCL_BUILDER_FACTORY_ARGS( SuggestionDisplay, WB_ITEMBORDER | WB_FLATVALUESET | WB_VSCROLL ); - HangulHanjaConversionDialog::HangulHanjaConversionDialog( vcl::Window* _pParent, HHC::ConversionDirection _ePrimaryDirection ) + HangulHanjaConversionDialog::HangulHanjaConversionDialog( vcl::Window* _pParent, HHC::ConversionDirection ) :ModalDialog( _pParent, "HangulHanjaConversionDialog", "cui/ui/hangulhanjaconversiondialog.ui" ) - ,m_pIgnoreNonPrimary( nullptr ) ,m_bDocumentMode( true ) { get( m_pFind, "find" ); @@ -593,15 +592,6 @@ namespace svx m_pHanjaOnly->SetClickHdl( LINK( this, HangulHanjaConversionDialog, OnConversionDirectionClicked ) ); m_pOptions->SetClickHdl( LINK( this, HangulHanjaConversionDialog, OnOption ) ); - if ( editeng::HangulHanjaConversion::eHangulToHanja == _ePrimaryDirection ) - { - m_pIgnoreNonPrimary = m_pHangulOnly; - } - else - { - m_pIgnoreNonPrimary = m_pHanjaOnly; - } - // initial focus FocusSuggestion( ); @@ -637,7 +627,6 @@ namespace svx m_pHangulOnly.clear(); m_pHanjaOnly.clear(); m_pReplaceByChar.clear(); - m_pIgnoreNonPrimary.clear(); ModalDialog::dispose(); } diff --git a/cui/source/inc/hangulhanjadlg.hxx b/cui/source/inc/hangulhanjadlg.hxx index 2af5257cb17b..1d861d8c0c42 100644 --- a/cui/source/inc/hangulhanjadlg.hxx +++ b/cui/source/inc/hangulhanjadlg.hxx @@ -126,7 +126,6 @@ namespace svx VclPtr<CheckBox> m_pHanjaOnly; VclPtr<CheckBox> m_pReplaceByChar; - VclPtr<CheckBox> m_pIgnoreNonPrimary; /** are we working for a document? This is normally true, but in case the user uses the "find" functionality, we switch to working with what the user entered, which then does not have any relation to |