summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOliver-Rainer Wittmann <orw@apache.org>2013-05-03 08:53:37 +0000
committerMichael Meeks <michael.meeks@suse.com>2013-05-20 11:33:27 +0100
commit57f1888f2626463d57bbfd80d97c0a0565fbbf2b (patch)
tree24e894f32bf363bddb75f46e548eab650ce925cc
parent256be018056fba834aff099baef452b59af586fc (diff)
Resolves: #i122079# activate missing slot invalidation...
for the cell alignment sidebar panel (cherry picked from commit 3b31f1c781d367cfebdb388c17b22640d7e82539) Change-Id: I3b1ee724ca14e9938302759ef6249a0f3ddd5fa7
-rw-r--r--sc/source/ui/view/formatsh.cxx9
1 files changed, 3 insertions, 6 deletions
diff --git a/sc/source/ui/view/formatsh.cxx b/sc/source/ui/view/formatsh.cxx
index 291681031ca1..4749116dd446 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);
}
//------------------------------------------------------------------