[ooo-build-commit] .: patches/vba scratch/sc-vba

Noel Power noelp at kemper.freedesktop.org
Fri May 7 02:45:29 PDT 2010


 patches/vba/vba-tweak-errorobj.diff                       |    7 +++----
 scratch/sc-vba/testvba/TestDocuments/MiscOnErrorTests.xls |binary
 2 files changed, 3 insertions(+), 4 deletions(-)

New commits:
commit f858fc1b03a40880f52b945c70fee2c47ad488f1
Author: Noel Power <noel.power at novell.com>
Date:   Fri May 7 10:45:47 2010 +0100

    make sure error data isn't cleared on raise, testdocument update too
    
    * patches/vba/vba-tweak-errorobj.diff:
    * scratch/sc-vba/testvba/TestDocuments/MiscOnErrorTests.xls:

diff --git a/patches/vba/vba-tweak-errorobj.diff b/patches/vba/vba-tweak-errorobj.diff
index 82bdfc6..84d0a84 100644
--- a/patches/vba/vba-tweak-errorobj.diff
+++ b/patches/vba/vba-tweak-errorobj.diff
@@ -1,5 +1,5 @@
 diff --git basic/source/classes/errobject.cxx basic/source/classes/errobject.cxx
-index 4005d85..ffc807e 100644
+index 4005d85..cbfea31 100644
 --- basic/source/classes/errobject.cxx
 +++ basic/source/classes/errobject.cxx
 @@ -16,7 +16,7 @@ class ErrObject : public ErrObjectImpl_BASE
@@ -58,7 +58,7 @@ index 4005d85..ffc807e 100644
  }
  
  // XDefaultProperty	
-@@ -150,13 +143,31 @@ ErrObject::getDefaultPropertyName(  ) throw (uno::RuntimeException)
+@@ -150,13 +143,30 @@ ErrObject::getDefaultPropertyName(  ) throw (uno::RuntimeException)
  	return sDfltPropName;
  }
  
@@ -67,7 +67,6 @@ index 4005d85..ffc807e 100644
 +{
 +	if ( !Number.hasValue() )
 +		throw uno::RuntimeException( rtl::OUString::createFromAscii("Missing Required Paramater"), uno::Reference< uno::XInterface >() );
-+	Clear();
 +	Number >>= m_nNumber;
 +	Description >>= m_sDescription;
 +	Source >>= m_sSource;
@@ -91,7 +90,7 @@ index 4005d85..ffc807e 100644
  }
  
  SbxErrObject::~SbxErrObject()
-@@ -179,3 +190,10 @@ SbxErrObject::getErrObject()
+@@ -179,3 +189,10 @@ SbxErrObject::getErrObject()
  	return pGlobErr;
  }
  
diff --git a/scratch/sc-vba/testvba/TestDocuments/MiscOnErrorTests.xls b/scratch/sc-vba/testvba/TestDocuments/MiscOnErrorTests.xls
index e51539b..cc4f157 100644
Binary files a/scratch/sc-vba/testvba/TestDocuments/MiscOnErrorTests.xls and b/scratch/sc-vba/testvba/TestDocuments/MiscOnErrorTests.xls differ


More information about the ooo-build-commit mailing list