summaryrefslogtreecommitdiff
path: root/basic/source/inc/errobject.hxx
diff options
context:
space:
mode:
authornpower Developer <npower@openoffice.org>2010-05-07 10:54:26 +0100
committernpower Developer <npower@openoffice.org>2010-05-07 10:54:26 +0100
commitd6ea16e6223cfa718364b47589b359bac2dea968 (patch)
tree3cdc222a13e7b2086b9d656cb804e41605d54c2c /basic/source/inc/errobject.hxx
parent1d30ea43d0fd1353da7d4fb591dcbc1688bc07d8 (diff)
ab75: #i110417# add andreas's improvements and additionally don't clear previous err object data
Diffstat (limited to 'basic/source/inc/errobject.hxx')
-rw-r--r--basic/source/inc/errobject.hxx9
1 files changed, 9 insertions, 0 deletions
diff --git a/basic/source/inc/errobject.hxx b/basic/source/inc/errobject.hxx
index 7a50d2435eb3..39e6e319caae 100644
--- a/basic/source/inc/errobject.hxx
+++ b/basic/source/inc/errobject.hxx
@@ -33,11 +33,20 @@
class SbxErrObject : public SbUnoObject
{
+ class ErrObject* m_pErrObject;
com::sun::star::uno::Reference< ooo::vba::XErrObject > m_xErr;
+
SbxErrObject( const String& aName_, const com::sun::star::uno::Any& aUnoObj_ );
~SbxErrObject();
+
+ class ErrObject* getImplErrObject( void )
+ { return m_pErrObject; }
+
public:
static SbxVariableRef getErrObject();
static com::sun::star::uno::Reference< ooo::vba::XErrObject > getUnoErrObject();
+
+ void setNumberAndDescription( ::sal_Int32 _number, const ::rtl::OUString& _description )
+ throw (com::sun::star::uno::RuntimeException);
};
#endif