ooo-build r11771 - trunk/patches/vba



Author: jiaojh
Date: Mon Mar  3 09:34:33 2008
New Revision: 11771
URL: http://svn.gnome.org/viewvc/ooo-build?rev=11771&view=rev

Log:
update for missing default value of pattern color


Modified:
   trunk/patches/vba/vba-interior.diff

Modified: trunk/patches/vba/vba-interior.diff
==============================================================================
--- trunk/patches/vba/vba-interior.diff	(original)
+++ trunk/patches/vba/vba-interior.diff	Mon Mar  3 09:34:33 2008
@@ -26,7 +26,7 @@
  	virtual rtl::OUString& getServiceImplName();
  	virtual css::uno::Sequence<rtl::OUString> getServiceNames();
 --- sc/source/ui/vba/vbainterior.cxx.orig	2008-02-29 16:48:30.000000000 +0800
-+++ sc/source/ui/vba/vbainterior.cxx	2008-03-03 16:53:25.000000000 +0800
++++ sc/source/ui/vba/vbainterior.cxx	2008-03-03 17:44:05.000000000 +0800
 @@ -41,6 +41,7 @@
  #include <com/sun/star/beans/MethodConcept.hpp>
  
@@ -35,7 +35,7 @@
  
  #include <comphelper/processfactory.hxx>
  #include <cppuhelper/queryinterface.hxx>
-@@ -125,6 +126,42 @@ ScVbaInterior::getColorIndex() throw ( c
+@@ -125,6 +126,43 @@ ScVbaInterior::getColorIndex() throw ( c
  	}     
  	return uno::makeAny( nIndex );
  }
@@ -50,6 +50,7 @@
 +ScVbaInterior::setPattern( const uno::Any& _pattern ) throw (uno::RuntimeException)
 +{
 +    (void) _pattern;
++    setColorIndex( uno::makeAny( excel::XlColorIndex::xlColorIndexAutomatic ) );
 +}
 +uno::Any SAL_CALL 
 +ScVbaInterior::getPatternColor() throw (uno::RuntimeException)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]