ooo-build r11770 - in trunk: . patches/vba



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

Log:
   * patches/vba/vba-interior.diff: update for patterncolor
    and patterncolorindex.


Modified:
   trunk/ChangeLog
   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:13:11 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-02-29 17:27:30.000000000 +0800
++++ sc/source/ui/vba/vbainterior.cxx	2008-03-03 16:53:25.000000000 +0800
 @@ -41,6 +41,7 @@
  #include <com/sun/star/beans/MethodConcept.hpp>
  
@@ -56,24 +56,24 @@
 +{
 +    // 0 is the default color. no filled.
 +    // RGB
-+    return uno::makeAny( sal_Int32( 0 ) );
++    return getColor();
 +}
 +void SAL_CALL 
 +ScVbaInterior::setPatternColor( const uno::Any& _patterncolor ) throw (uno::RuntimeException)
 +{
-+    (void) _patterncolor;
++    setColor( _patterncolor );
 +}
 +uno::Any SAL_CALL 
 +ScVbaInterior::getPatternColorIndex() throw (uno::RuntimeException)
 +{
 +    // 0 means color is not set. 
 +    // XlColorIndex
-+    return uno::makeAny( sal_Int32( 0 ) );
++    return getColorIndex();
 +}
 +void SAL_CALL 
 +ScVbaInterior::setPatternColorIndex( const uno::Any& _patterncolorindex ) throw (uno::RuntimeException)
 +{
-+    (void) _patterncolorindex;
++    setColorIndex( _patterncolorindex );
 +}
  
  rtl::OUString& 



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