diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-08-21 09:31:14 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-08-22 08:31:55 +0200 |
commit | a2736303fea5ad2305ca8d38b90f5a21a8ab6a67 (patch) | |
tree | 9661b4756f8d1c5c9c4046312c44973024ee6796 /dbaccess/source | |
parent | 2d1fe7fb67ec1ff1b96912c0945d17d54aecb12e (diff) |
convert WB_QUICK_SEARCH/WB_FORCE_MAKEVISIBLE to bool fields
Change-Id: Ic297d97911a6c0356d24ffe4b58442dfe866139f
Reviewed-on: https://gerrit.libreoffice.org/41407
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'dbaccess/source')
-rw-r--r-- | dbaccess/source/ui/control/dbtreelistbox.cxx | 2 | ||||
-rw-r--r-- | dbaccess/source/ui/misc/WNameMatch.cxx | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/dbaccess/source/ui/control/dbtreelistbox.cxx b/dbaccess/source/ui/control/dbtreelistbox.cxx index 1d0b31fc5601..3e87504bee13 100644 --- a/dbaccess/source/ui/control/dbtreelistbox.cxx +++ b/dbaccess/source/ui/control/dbtreelistbox.cxx @@ -77,7 +77,7 @@ void DBTreeListBox::init() EnableContextMenuHandling(); - SetStyle( GetStyle() | WB_QUICK_SEARCH ); + SetQuickSearch( true ); } DBTreeListBox::~DBTreeListBox() diff --git a/dbaccess/source/ui/misc/WNameMatch.cxx b/dbaccess/source/ui/misc/WNameMatch.cxx index 1090938aafff..eda3d24611fa 100644 --- a/dbaccess/source/ui/misc/WNameMatch.cxx +++ b/dbaccess/source/ui/misc/WNameMatch.cxx @@ -68,8 +68,8 @@ OWizNameMatching::OWizNameMatching(vcl::Window* pParent) m_pCTRL_RIGHT->SetSelectHdl(LINK(this,OWizNameMatching,TableListRightSelectHdl)); m_pCTRL_RIGHT->EnableCheckButton( nullptr ); - m_pCTRL_LEFT->SetStyle( m_pCTRL_LEFT->GetStyle() | WB_FORCE_MAKEVISIBLE ); - m_pCTRL_RIGHT->SetStyle( m_pCTRL_RIGHT->GetStyle() | WB_FORCE_MAKEVISIBLE ); + m_pCTRL_LEFT->SetForceMakeVisible( true ); + m_pCTRL_RIGHT->SetForceMakeVisible( true ); m_sSourceText = m_pTABLE_LEFT->GetText() + "\n"; m_sDestText = m_pTABLE_RIGHT->GetText() + "\n"; |