[Libreoffice-commits] core.git: Branch 'feature/sidebar' - sc/source

Oliver-Rainer Wittmann orw at apache.org
Fri May 10 04:08:52 PDT 2013


 sc/source/ui/view/formatsh.cxx |    9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

New commits:
commit a3f18cac0decb1099f10a2a1880ad3a508986435
Author: Oliver-Rainer Wittmann <orw at apache.org>
Date:   Fri May 3 08:53:37 2013 +0000

    Resolves: #i122079# activate missing slot invalidation...
    
    for the cell alignment sidebar panel
    
    (cherry picked from commit 3b31f1c781d367cfebdb388c17b22640d7e82539)
    
    Change-Id: I3b1ee724ca14e9938302759ef6249a0f3ddd5fa7

diff --git a/sc/source/ui/view/formatsh.cxx b/sc/source/ui/view/formatsh.cxx
index 2916810..4749116 100644
--- a/sc/source/ui/view/formatsh.cxx
+++ b/sc/source/ui/view/formatsh.cxx
@@ -2076,12 +2076,9 @@ void ScFormatShell::GetAttrState( SfxItemSet& rSet )
         nWhich = aIter.NextWhich();
     }
 
-    if(nWhich)
-    {
-        // stuff for sidebar panels
-        Invalidate(SID_ATTR_ALIGN_DEGREES);
-        Invalidate(SID_ATTR_ALIGN_STACKED);
-    }
+    // stuff for sidebar panels
+    Invalidate(SID_ATTR_ALIGN_DEGREES);
+    Invalidate(SID_ATTR_ALIGN_STACKED);
 }
 
 //------------------------------------------------------------------


More information about the Libreoffice-commits mailing list