diff options
author | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2016-08-26 01:58:01 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2016-08-26 07:51:43 +0000 |
commit | 532c2bba7d9985a10b112c880f21691f6b66c19c (patch) | |
tree | edf7975558d11d99cbf9c864b1b5304759cc9019 /svtools | |
parent | ef699b4d41cc602322d980027956aab636c776d5 (diff) |
remove SvLBoxBmp class
not used by anything
Change-Id: I35d12bdd29c5aef43296ce4709e69b29f4685acc
Reviewed-on: https://gerrit.libreoffice.org/28398
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/contnr/svlbitm.cxx | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/svtools/source/contnr/svlbitm.cxx b/svtools/source/contnr/svlbitm.cxx index 4aeb7eef7b79..52c0da1fbacc 100644 --- a/svtools/source/contnr/svlbitm.cxx +++ b/svtools/source/contnr/svlbitm.cxx @@ -238,49 +238,6 @@ void SvLBoxString::InitViewData( } // *************************************************************** -// class SvLBoxBmp -// *************************************************************** - - -SvLBoxBmp::SvLBoxBmp() : SvLBoxItem() -{ -} - -SvLBoxBmp::~SvLBoxBmp() -{ -} - -SvLBoxItemType SvLBoxBmp::GetType() const -{ - return SvLBoxItemType::Bmp; -} - -void SvLBoxBmp::InitViewData( SvTreeListBox* pView,SvTreeListEntry* pEntry, - SvViewDataItem* pViewData) -{ - if( !pViewData ) - pViewData = pView->GetViewDataItem( pEntry, this ); - pViewData->maSize = aBmp.GetSizePixel(); -} - -void SvLBoxBmp::Paint(const Point& rPos, SvTreeListBox& rDev, vcl::RenderContext& rRenderContext, - const SvViewDataEntry* /*pView*/, const SvTreeListEntry& /*rEntry*/) -{ - DrawImageFlags nStyle = rDev.IsEnabled() ? DrawImageFlags::NONE : DrawImageFlags::Disable; - rRenderContext.DrawImage(rPos, aBmp ,nStyle); -} - -SvLBoxItem* SvLBoxBmp::Create() const -{ - return new SvLBoxBmp; -} - -void SvLBoxBmp::Clone( SvLBoxItem* pSource ) -{ - aBmp = static_cast<SvLBoxBmp*>(pSource)->aBmp; -} - -// *************************************************************** // class SvLBoxButton // *************************************************************** |