diff options
Diffstat (limited to 'desktop/source/deployment/gui/dp_gui_extlistbox.cxx')
-rw-r--r-- | desktop/source/deployment/gui/dp_gui_extlistbox.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/desktop/source/deployment/gui/dp_gui_extlistbox.cxx b/desktop/source/deployment/gui/dp_gui_extlistbox.cxx index e1cf1da17e4f..3989e2d8ae3a 100644 --- a/desktop/source/deployment/gui/dp_gui_extlistbox.cxx +++ b/desktop/source/deployment/gui/dp_gui_extlistbox.cxx @@ -390,7 +390,7 @@ void ExtensionBox_Impl::CalcActiveHeight( const long nPos ) aText += m_vEntries[ nPos ]->m_sDescription; Rectangle aRect = GetTextRect( Rectangle( Point(), aSize ), aText, - TEXT_DRAW_MULTILINE | TEXT_DRAW_WORDBREAK ); + DrawTextFlags::MultiLine | DrawTextFlags::WordBreak ); aTextHeight += aRect.GetHeight(); if ( aTextHeight < m_nStdHeight ) @@ -613,7 +613,7 @@ void ExtensionBox_Impl::DrawRow(vcl::RenderContext& rRenderContext, const Rectan nExtraHeight = m_nExtraHeight; rRenderContext.DrawText(Rectangle(aPos.X(), aPos.Y(), rRect.Right(), rRect.Bottom() - nExtraHeight), - sDescription, TEXT_DRAW_MULTILINE | TEXT_DRAW_WORDBREAK ); + sDescription, DrawTextFlags::MultiLine | DrawTextFlags::WordBreak ); } else { |