desktop/source/deployment/gui/dp_gui_extlistbox.cxx |    8 --------
 1 file changed, 8 deletions(-)

New commits:
commit 254c20f025e2b1b93751489b82bef3a20231866a
Author:     Caolán McNamara <caol...@redhat.com>
AuthorDate: Wed Jul 17 14:33:04 2019 +0100
Commit:     Caolán McNamara <caol...@redhat.com>
CommitDate: Wed Jul 17 20:09:35 2019 +0200

    scrollbar is outside the widget now, not inside
    
    Change-Id: Ia92658c7a534928209906b8adfb5f9451b513ff0
    Reviewed-on: https://gerrit.libreoffice.org/75786
    Tested-by: Jenkins
    Reviewed-by: Caolán McNamara <caol...@redhat.com>
    Tested-by: Caolán McNamara <caol...@redhat.com>

diff --git a/desktop/source/deployment/gui/dp_gui_extlistbox.cxx 
b/desktop/source/deployment/gui/dp_gui_extlistbox.cxx
index 6acfd55cbc8c..fc8a4809c93a 100644
--- a/desktop/source/deployment/gui/dp_gui_extlistbox.cxx
+++ b/desktop/source/deployment/gui/dp_gui_extlistbox.cxx
@@ -278,8 +278,6 @@ void ExtensionBox_Impl::CalcActiveHeight( const long nPos )
 
     // calc description height
     Size aSize = GetOutputSizePixel();
-    if ( m_bHasScrollBar )
-        aSize.AdjustWidth(-m_xScrollBar->get_vscroll_width());
 
     aSize.AdjustWidth( -(ICON_OFFSET) );
     aSize.setHeight( 10000 );
@@ -308,9 +306,6 @@ tools::Rectangle ExtensionBox_Impl::GetEntryRect( const 
long nPos ) const
 
     Size aSize( GetOutputSizePixel() );
 
-    if ( m_bHasScrollBar )
-        aSize.AdjustWidth(-m_xScrollBar->get_vscroll_width());
-
     if ( m_vEntries[ nPos ]->m_bActive )
         aSize.setHeight( m_nActiveHeight );
     else
@@ -651,9 +646,6 @@ void ExtensionBox_Impl::Paint(vcl::RenderContext& 
rRenderContext, const tools::R
     Point aStart( 0, -m_nTopIndex );
     Size aSize(GetOutputSizePixel());
 
-    if ( m_bHasScrollBar )
-        aSize.AdjustWidth(-m_xScrollBar->get_vscroll_width());
-
     const ::osl::MutexGuard aGuard( m_entriesMutex );
 
     for (auto const& entry : m_vEntries)
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to