openoffice-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From o..@apache.org
Subject svn commit: r1478674 - /openoffice/trunk/main/sc/source/ui/view/formatsh.cxx
Date Fri, 03 May 2013 08:53:37 GMT
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);
 }
 
 //------------------------------------------------------------------



Mime
View raw message