diff options
author | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2017-05-07 13:31:18 +0200 |
---|---|---|
committer | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2017-05-07 21:30:36 +0200 |
commit | 7cc8555e0ac9838d43bb644bac4052008057824d (patch) | |
tree | 1744bd25540b51e5d3f80682e9a0fea7614bd77f /forms | |
parent | fa19a1f0b050ee6c2ba1f314360e8a2536f61396 (diff) |
convert EESelectionMode to scoped enum
Change-Id: I4da22d40d5b14878b5efac1f3e4a5c76adec37b3
Reviewed-on: https://gerrit.libreoffice.org/37341
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
Diffstat (limited to 'forms')
-rw-r--r-- | forms/source/richtext/richtextviewport.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/forms/source/richtext/richtextviewport.cxx b/forms/source/richtext/richtextviewport.cxx index 32f12ebe681f..b4fda6652c91 100644 --- a/forms/source/richtext/richtextviewport.cxx +++ b/forms/source/richtext/richtextviewport.cxx @@ -45,7 +45,7 @@ namespace frm Control::GetFocus(); if (m_pView) { - m_pView->SetSelectionMode( EE_SELMODE_STD ); + m_pView->SetSelectionMode( EESelectionMode::Std ); m_pView->ShowCursor(); } } @@ -55,7 +55,7 @@ namespace frm if (m_pView) { m_pView->HideCursor(); - m_pView->SetSelectionMode( m_bHideInactiveSelection ? EE_SELMODE_HIDDEN : EE_SELMODE_STD ); + m_pView->SetSelectionMode( m_bHideInactiveSelection ? EESelectionMode::Hidden : EESelectionMode::Std ); } Control::LoseFocus(); } @@ -94,7 +94,7 @@ namespace frm return; m_bHideInactiveSelection = _bHide; if ( !HasFocus() ) - m_pView->SetSelectionMode( m_bHideInactiveSelection ? EE_SELMODE_HIDDEN : EE_SELMODE_STD ); + m_pView->SetSelectionMode( m_bHideInactiveSelection ? EESelectionMode::Hidden : EESelectionMode::Std ); } } // namespace frm |