From 8c00536d87010b14a95e9c81f2f5f1d683e5fa70 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 13 Feb 2017 19:08:14 +0200 Subject: Convert WindowType to scoped enum Change-Id: I85cfe02f28729e13f2c0dd3d91cd89e6f3e3b6a9 Reviewed-on: https://gerrit.libreoffice.org/34219 Tested-by: Jenkins Reviewed-by: Noel Grandin --- cui/source/dialogs/cuifmsearch.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cui/source/dialogs/cuifmsearch.cxx') diff --git a/cui/source/dialogs/cuifmsearch.cxx b/cui/source/dialogs/cuifmsearch.cxx index 0e1675105acd..06739fa9ba83 100644 --- a/cui/source/dialogs/cuifmsearch.cxx +++ b/cui/source/dialogs/cuifmsearch.cxx @@ -614,7 +614,7 @@ void FmSearchDialog::EnableSearchUI(bool bEnable) if ( m_pPreSearchFocus ) { m_pPreSearchFocus->GrabFocus(); - if ( WINDOW_EDIT == m_pPreSearchFocus->GetType() ) + if ( WindowType::EDIT == m_pPreSearchFocus->GetType() ) { Edit* pEdit = static_cast< Edit* >( m_pPreSearchFocus.get() ); pEdit->SetSelection( Selection( 0, pEdit->GetText().getLength() ) ); -- cgit v1.2.3