You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by or...@apache.org on 2013/05/03 10:53:37 UTC

svn commit: r1478674 - /openoffice/trunk/main/sc/source/ui/view/formatsh.cxx

Author: orw
Date: Fri May  3 08:53:37 2013
New Revision: 1478674

URL: http://svn.apache.org/r1478674
Log:
122079: activate missing slot invalidation for the cell alignment sidebar panel

Modified:
    openoffice/trunk/main/sc/source/ui/view/formatsh.cxx

Modified: openoffice/trunk/main/sc/source/ui/view/formatsh.cxx
URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sc/source/ui/view/formatsh.cxx?rev=1478674&r1=1478673&r2=1478674&view=diff
==============================================================================
--- openoffice/trunk/main/sc/source/ui/view/formatsh.cxx (original)
+++ openoffice/trunk/main/sc/source/ui/view/formatsh.cxx Fri May  3 08:53:37 2013
@@ -2057,23 +2057,13 @@ void ScFormatShell::GetAttrState( SfxIte
 				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);
 }
 
 //------------------------------------------------------------------