[Libreoffice-commits] core.git: sw/source

Stephan Bergmann sbergman at redhat.com
Thu Jun 15 13:52:24 UTC 2017


 sw/source/uibase/uiview/viewtab.cxx |    3 ---
 1 file changed, 3 deletions(-)

New commits:
commit 901c7e55efbe66868bae937f232329beca489191
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Thu Jun 15 13:04:19 2017 +0200

    This SfxItemSet appears to be unused
    
    ...at least ever since 7b0b5cdfeed656b279bc32cd929630d5fc25878b "initial import"
    
    Change-Id: I66f937ec5d465340a49fa63174b941d7bbf2f439
    Reviewed-on: https://gerrit.libreoffice.org/38826
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Miklos Vajna <vmiklos at collabora.co.uk>

diff --git a/sw/source/uibase/uiview/viewtab.cxx b/sw/source/uibase/uiview/viewtab.cxx
index 698b994b5f46..60903b74a50c 100644
--- a/sw/source/uibase/uiview/viewtab.cxx
+++ b/sw/source/uibase/uiview/viewtab.cxx
@@ -1816,9 +1816,6 @@ void SwView::StateTabWin(SfxItemSet& rSet)
                         long nDist2 = ((bUseVertical ? rRect.Height() : rRect.Width()) - lWidth) /2;
                         ::lcl_FillSvxColumn(rCol, lWidth, aColItem, nDist2);
 
-                        SfxItemSet aFrameSet(GetPool(), RES_LR_SPACE, RES_LR_SPACE);
-                        rSh.GetFlyFrameAttr( aFrameSet );
-
                         if(bUseVertical)
                         {
                             aColItem.SetLeft(rRect.Top()- rPageRect.Top());


More information about the Libreoffice-commits mailing list