summaryrefslogtreecommitdiff
path: root/sc/source
diff options
context:
space:
mode:
authorOliver-Rainer Wittmann <orw@apache.org>2013-05-03 08:53:37 +0000
committerOliver-Rainer Wittmann <orw@apache.org>2013-05-03 08:53:37 +0000
commit3b31f1c781d367cfebdb388c17b22640d7e82539 (patch)
tree180bd3be40ac1d381e2cfd8e1f5b0a87f8d41eb1 /sc/source
parent73a1f473b72f86d84f3ae542b6c2750911d6c876 (diff)
122079: activate missing slot invalidation for the cell alignment sidebar panel
Notes
Notes: merged as: a3f18cac0decb1099f10a2a1880ad3a508986435
Diffstat (limited to 'sc/source')
-rw-r--r--sc/source/ui/view/formatsh.cxx16
1 files changed, 3 insertions, 13 deletions
diff --git a/sc/source/ui/view/formatsh.cxx b/sc/source/ui/view/formatsh.cxx
index 42d28073a86e..1c52bafb930f 100644
--- a/sc/source/ui/view/formatsh.cxx
+++ b/sc/source/ui/view/formatsh.cxx
@@ -2057,23 +2057,13 @@ void ScFormatShell::GetAttrState( SfxItemSet& rSet )
rSet.Put( rBrushItem, GetPool().GetWhich(nWhich) );
}
break;
-/* case SID_ATTR_ALIGN_LINEBREAK:
- {
- const SfxBoolItem& rBreakItem = (const SfxBoolItem&)rAttrSet.Get( ATTR_LINEBREAK );
- rSet.Put( rBreakItem, GetPool().GetWhich(nWhich) );
- }
- break;
-*/
}
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);
}
//------------------------------------------------------------------