diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-05-31 17:00:49 +0200 |
---|---|---|
committer | Michael Meeks <michael.meeks@collabora.com> | 2018-06-01 11:14:43 +0200 |
commit | 36ad2b13371a24d99dcec16a60b48d895e0228aa (patch) | |
tree | 1d1cc5e345438e7a05db93f1ceebb2786d1735bf /svtools | |
parent | 6c4135416f79aebf02afa58d6d125f5c175b34d7 (diff) |
drop Image(Bitmap) constructor
and convert some more code from Bitmap to BitmapEx
Change-Id: Icf3c18608e0bb608408fe69722441cfa19f6b161
Reviewed-on: https://gerrit.libreoffice.org/55160
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'svtools')
-rw-r--r-- | svtools/source/control/ctrlbox.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/svtools/source/control/ctrlbox.cxx b/svtools/source/control/ctrlbox.cxx index 5704f3e9d977..5952bc7e4529 100644 --- a/svtools/source/control/ctrlbox.cxx +++ b/svtools/source/control/ctrlbox.cxx @@ -406,7 +406,7 @@ void DrawLine( OutputDevice& rDev, const basegfx::B2DPoint& rP1, const basegfx:: void LineListBox::ImpGetLine( long nLine1, long nLine2, long nDistance, Color aColor1, Color aColor2, Color aColorDist, - SvxBorderLineStyle nStyle, Bitmap& rBmp ) + SvxBorderLineStyle nStyle, BitmapEx& rBmp ) { //TODO, rather than including the " " text to force //the line height, better would be do drop @@ -608,7 +608,7 @@ void LineListBox::UpdateEntries( long nOldWidth ) auto& pData = m_vLineList[ n ]; if ( pData->GetMinWidth() <= m_nWidth ) { - Bitmap aBmp; + BitmapEx aBmp; ImpGetLine( pData->GetLine1ForWidth( m_nWidth ), pData->GetLine2ForWidth( m_nWidth ), pData->GetDistForWidth( m_nWidth ), |