diff options
author | Noel Grandin <noel@peralex.com> | 2015-04-16 15:41:10 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-04-22 10:28:39 +0200 |
commit | 0578aa4de27cc960cd3709eb2e15f40e02e1272d (patch) | |
tree | 295966c066e2760f4322273d970fa02fe5e0c84a /cui | |
parent | f87e0957cdcbf9ee12e0615b55a1bb1de1d70efb (diff) |
convert BROWSER_ constants to scoped enum
and fix a couple of places where it was mixing these flags up with the
WinBits flags and calling the wrong constructor.
Change-Id: I65c66bdd5a263e2f1db179c853f3f00e9ac7659e
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/options/connpooloptions.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cui/source/options/connpooloptions.cxx b/cui/source/options/connpooloptions.cxx index 3d432698e0fc..bd71f71c08ab 100644 --- a/cui/source/options/connpooloptions.cxx +++ b/cui/source/options/connpooloptions.cxx @@ -88,7 +88,8 @@ namespace offapp DriverListControl::DriverListControl(vcl::Window* _pParent) - :EditBrowseBox(_pParent, EBBF_NOROWPICTURE, BROWSER_AUTO_VSCROLL | BROWSER_AUTO_HSCROLL | BROWSER_HIDECURSOR | BROWSER_AUTOSIZE_LASTCOL | WB_BORDER) + :EditBrowseBox(_pParent, EBBF_NOROWPICTURE, WB_BORDER, + BrowserMode::AUTO_VSCROLL | BrowserMode::AUTO_HSCROLL | BrowserMode::HIDECURSOR | BrowserMode::AUTOSIZE_LASTCOL | BrowserMode::KEEPHIGHLIGHT) ,m_aSeekRow(m_aSettings.end()) ,m_sYes(CUI_RES(RID_SVXSTR_YES)) ,m_sNo(CUI_RES(RID_SVXSTR_NO)) |