vcl/source/window/status.cxx |    3 ---
 1 file changed, 3 deletions(-)

New commits:
commit 4fc637930e5cc7b1cc3139b0f126e3f595be809b
Author: Tamas Bunth <tamas.bu...@collabora.co.uk>
Date:   Thu Mar 1 15:32:18 2018 +0100

    tdf#115353 Status bar: no cache in settext
    
    Change-Id: I6c1312bbba553be738e23cee0c76d589c809dff8
    Reviewed-on: https://gerrit.libreoffice.org/50584
    Reviewed-by: Tamás Bunth <btom...@gmail.com>
    Tested-by: Tamás Bunth <btom...@gmail.com>
    Reviewed-on: https://gerrit.libreoffice.org/50743
    Tested-by: Jenkins <c...@libreoffice.org>
    Reviewed-by: Miklos Vajna <vmik...@collabora.co.uk>

diff --git a/vcl/source/window/status.cxx b/vcl/source/window/status.cxx
index 11a2480323ff..aebec55ec630 100644
--- a/vcl/source/window/status.cxx
+++ b/vcl/source/window/status.cxx
@@ -1169,9 +1169,6 @@ void StatusBar::SetItemText( sal_uInt16 nItemId, const 
OUString& rText )
             std::unique_ptr<SalLayout> pSalLayout = 
ImplLayout(pItem->maText,0,-1);
             long nWidth = GetTextWidth( 
pItem->maText,0,-1,nullptr,pSalLayout.get() ) + nFudge;
 
-            // update cache
-            pItem->mxLayoutCache = std::move(pSalLayout);
-
             if( (nWidth > pItem->mnWidth + STATUSBAR_OFFSET) ||
                 ((nWidth < pItem->mnWidth) && (mnDX - STATUSBAR_OFFSET) < 
mnItemsWidth  ))
             {
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to