diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-08-10 11:17:05 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-08-10 12:25:10 +0100 |
commit | bfafc8c3a137a98ad2cd939b11161f9961bc48d7 (patch) | |
tree | f2f592c370813953e83c0f085ed428b6d67db694 /dbaccess | |
parent | 6a84a6ed0b1d30c8feb551a3a4db5aab437a74f7 (diff) |
callcatcher: update unused code
mostly ResId using ctors left stranded post .ui conversion
Change-Id: I06689eea30ee9146ba05294f52056c0d263695f5
Diffstat (limited to 'dbaccess')
-rw-r--r-- | dbaccess/source/ui/dlg/directsql.cxx | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/dbaccess/source/ui/dlg/directsql.cxx b/dbaccess/source/ui/dlg/directsql.cxx index 91cb646c0cdb..8393306ec1b3 100644 --- a/dbaccess/source/ui/dlg/directsql.cxx +++ b/dbaccess/source/ui/dlg/directsql.cxx @@ -37,35 +37,6 @@ namespace dbaui using namespace ::com::sun::star::sdbc; using namespace ::com::sun::star::lang; - - //==================================================================== - //= LargeEntryListBox - //==================================================================== - class LargeEntryListBox : public ListBox - { - public: - LargeEntryListBox( Window* _pParent, const ResId& _rId ); - - protected: - virtual void UserDraw( const UserDrawEvent& rUDEvt ); - }; - - //-------------------------------------------------------------------- - LargeEntryListBox::LargeEntryListBox( Window* _pParent, const ResId& _rId ) - :ListBox(_pParent, _rId ) - { - EnableUserDraw(sal_True); - } - - //-------------------------------------------------------------------- - void LargeEntryListBox::UserDraw( const UserDrawEvent& _rUDEvt ) - { - if (LISTBOX_ENTRY_NOTFOUND == _rUDEvt.GetItemId()) - ListBox::UserDraw( _rUDEvt ); - else - _rUDEvt.GetDevice()->DrawText( _rUDEvt.GetRect(), GetEntry( _rUDEvt.GetItemId() ), TEXT_DRAW_LEFT | TEXT_DRAW_VCENTER | TEXT_DRAW_ENDELLIPSIS); - } - //==================================================================== //= DirectSQLDialog //==================================================================== |