[Libreoffice-commits] .: patches/vba

Tor Lillqvist tml at kemper.freedesktop.org
Wed Nov 10 00:41:41 PST 2010


 patches/vba/cws-vbasupportdev300_m83-fix.diff |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 9625db512ffa294df8d0e9d2ba0de0d2f8a294a4
Author: Tor Lillqvist <tlillqvist at novell.com>
Date:   Wed Nov 10 10:40:49 2010 +0200

    Make cws-vbasupportdev300_m83-fix.diff apply again

diff --git a/patches/vba/cws-vbasupportdev300_m83-fix.diff b/patches/vba/cws-vbasupportdev300_m83-fix.diff
index 9b71ef5..09ca972 100644
--- a/patches/vba/cws-vbasupportdev300_m83-fix.diff
+++ b/patches/vba/cws-vbasupportdev300_m83-fix.diff
@@ -61,12 +61,12 @@ index 307f7a2..d16cf54 100644
 @@ -74,7 +71,7 @@ sal_Bool SAL_CALL SwVbaCheckBox::getValue() throw ( uno::RuntimeException )
  void SAL_CALL SwVbaCheckBox::setValue( sal_Bool value ) throw ( uno::RuntimeException )
  {
-     rtl::OUString sValue = rtl::OUString::createFromAscii( value ? "on" : "off" );
+     rtl::OUString sValue = value ? rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("on")) : rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("off"));
 -    mxFormField->addParam( rtl::OUString::createFromAscii( ECMA_FORMCHECKBOX_CHECKED ), sValue, sal_True );
 +    mxFormField->getParameters()->insertByName( rtl::OUString::createFromAscii( ODF_FORMCHECKBOX_RESULT ), uno::makeAny( sValue ) );
  }
  
- rtl::OUString& 
+ rtl::OUString&
 diff --git sw/source/ui/vba/vbaformfield.cxx sw/source/ui/vba/vbaformfield.cxx
 index 944ffbb..ba6aec5 100644
 --- sw/source/ui/vba/vbaformfield.cxx


More information about the Libreoffice-commits mailing list