Kaydet (Commit) f57b4e5c authored tarafından Jan Holesovsky's avatar Jan Holesovsky

rendercontext: Draw toolbox separators via the rendercontext.

Change-Id: Ie34f9eeb9f706e1a43c31d08869c8b6c610228ec
üst 75cc885f
......@@ -2979,7 +2979,6 @@ void ToolBox::ImplDrawButton(vcl::RenderContext& rRenderContext, const Rectangle
void ToolBox::ImplDrawItem(vcl::RenderContext& rRenderContext, sal_uInt16 nPos, sal_uInt16 nHighlight, bool bPaint, bool bLayout)
{
if (nPos >= mpData->m_aItems.size())
return;
......@@ -3044,7 +3043,7 @@ void ToolBox::ImplDrawItem(vcl::RenderContext& rRenderContext, sal_uInt16 nPos,
nPos > 0
)
{
ImplDrawSeparator(*this, nPos, aButtonRect); // FIXME
ImplDrawSeparator(rRenderContext, nPos, aButtonRect);
}
// do nothing if item is no button or will be displayed as window
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment