diff options
author | npower Developer <npower@openoffice.org> | 2010-05-07 10:54:26 +0100 |
---|---|---|
committer | npower Developer <npower@openoffice.org> | 2010-05-07 10:54:26 +0100 |
commit | d6ea16e6223cfa718364b47589b359bac2dea968 (patch) | |
tree | 3cdc222a13e7b2086b9d656cb804e41605d54c2c /basic/source/inc/errobject.hxx | |
parent | 1d30ea43d0fd1353da7d4fb591dcbc1688bc07d8 (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.hxx | 9 |
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 |