add border to driverlist and drop unnecessary custom hid

Change-Id: I4e81556a0e1e0a6c9dd2aea42b3e7106f7dcf65c
This commit is contained in:
Caolán McNamara
2013-09-29 20:32:59 +01:00
parent 48d39355ca
commit 26bb3a0895
2 changed files with 1 additions and 3 deletions

View File

@@ -30,7 +30,6 @@
#define HID_EDIT_MODULES "CUI_HID_EDIT_MODULES"
#define HID_OPTIONS_COLORCONFIG_SAVE_SCHEME "CUI_HID_OPTIONS_COLORCONFIG_SAVE_SCHEME"
#define HID_OFADLG_OPTIONS_TREE "CUI_HID_OFADLG_OPTIONS_TREE"
#define HID_OFA_CONNPOOL_DRIVERLIST "CUI_HID_OFA_CONNPOOL_DRIVERLIST"
#define UID_OFA_CONNPOOL_DRIVERLIST_BACK "CUI_UID_OFA_CONNPOOL_DRIVERLIST_BACK"
#define HID_OFA_FONT_SUBST_CLB "CUI_HID_OFA_FONT_SUBST_CLB"
#define HID_DBPATH_CTL_PATH "CUI_HID_DBPATH_CTL_PATH"

View File

@@ -90,7 +90,7 @@ namespace offapp
//--------------------------------------------------------------------
DriverListControl::DriverListControl(Window* _pParent)
:EditBrowseBox(_pParent, EBBF_NOROWPICTURE, BROWSER_AUTO_VSCROLL | BROWSER_AUTO_HSCROLL | BROWSER_HIDECURSOR | BROWSER_AUTOSIZE_LASTCOL)
:EditBrowseBox(_pParent, EBBF_NOROWPICTURE, BROWSER_AUTO_VSCROLL | BROWSER_AUTO_HSCROLL | BROWSER_HIDECURSOR | BROWSER_AUTOSIZE_LASTCOL | WB_BORDER)
,m_aSeekRow(m_aSettings.end())
,m_sYes(CUI_RES(RID_SVXSTR_YES))
,m_sNo(CUI_RES(RID_SVXSTR_NO))
@@ -98,7 +98,6 @@ namespace offapp
SetStyle((GetStyle() & ~WB_HSCROLL) | WB_AUTOHSCROLL);
SetUniqueId(UID_OFA_CONNPOOL_DRIVERLIST_BACK);
GetDataWindow().SetHelpId(HID_OFA_CONNPOOL_DRIVERLIST);
}
extern "C" SAL_DLLPUBLIC_EXPORT Window* SAL_CALL makeDriverListControl(Window *pParent, VclBuilder::stringmap &)