diff options
author | Tor Lillqvist <tml@collabora.com> | 2014-02-28 11:55:28 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2014-02-28 11:55:28 +0200 |
commit | c005d07dbcea821ff620826090ca146d39788528 (patch) | |
tree | e4c6684b2c64fbba2288bf0dff99aa058374f7cc /vcl | |
parent | WaE: implicit conversion (IntegralCast) from bool to 'int' (diff) | |
download | core-c005d07dbcea821ff620826090ca146d39788528.tar.gz core-c005d07dbcea821ff620826090ca146d39788528.zip |
WaE: implicit conversion (IntegralCast) from bool to 'sal_uInt16'
Change-Id: If6c41795a4015eb6bdd6bf785dd5ea6f7069e76b
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/window/toolbox2.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/window/toolbox2.cxx b/vcl/source/window/toolbox2.cxx index b8db7789a1a1..6008cfee8b22 100644 --- a/vcl/source/window/toolbox2.cxx +++ b/vcl/source/window/toolbox2.cxx @@ -1489,7 +1489,7 @@ void ToolBox::SetItemDown( sal_uInt16 nItemId, bool bDown, bool bRelease ) if ( nPos != mnCurPos ) { mnCurPos = nPos; - ImplDrawItem( mnCurPos, true ); + ImplDrawItem( mnCurPos, 1 ); Flush(); } } @@ -1497,7 +1497,7 @@ void ToolBox::SetItemDown( sal_uInt16 nItemId, bool bDown, bool bRelease ) { if ( nPos == mnCurPos ) { - ImplDrawItem( mnCurPos, false ); + ImplDrawItem( mnCurPos, 0 ); Flush(); mnCurPos = TOOLBOX_ITEM_NOTFOUND; } @@ -1799,7 +1799,7 @@ void ToolBox::ImplFillLayoutData() const // only draw, if the rectangle is within PaintRectangle if ( !pItem->maRect.IsEmpty() ) - const_cast<ToolBox*>(this)->ImplDrawItem( i, false, false, true ); + const_cast<ToolBox*>(this)->ImplDrawItem( i, 0, false, true ); } } |