summaryrefslogtreecommitdiff
path: root/include/vbahelper/vbahelper.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/vbahelper/vbahelper.hxx')
-rw-r--r--include/vbahelper/vbahelper.hxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/vbahelper/vbahelper.hxx b/include/vbahelper/vbahelper.hxx
index 0aa29ecd6e79..909382d01c78 100644
--- a/include/vbahelper/vbahelper.hxx
+++ b/include/vbahelper/vbahelper.hxx
@@ -32,6 +32,7 @@
#include <vbahelper/vbadllapi.h>
#include <vcl/pointr.hxx>
#include <vcl/ptrstyle.hxx>
+#include <vcl/errcode.hxx>
namespace com { namespace sun { namespace star {
namespace awt { class XControl; }
@@ -262,16 +263,16 @@ class VBAHELPER_DLLPUBLIC DebugHelper
{
public:
/// @throws css::script::BasicErrorException
- static void basicexception( const css::uno::Exception& ex, int err, const OUString& /*additionalArgument*/ );
+ static void basicexception( const css::uno::Exception& ex, ErrCode err, const OUString& /*additionalArgument*/ );
/// @throws css::script::BasicErrorException
- static void basicexception( int err, const OUString& additionalArgument );
+ static void basicexception( ErrCode err, const OUString& additionalArgument );
/// @throws css::script::BasicErrorException
static void basicexception( const css::uno::Exception& ex );
/// @throws css::script::BasicErrorException
- static void runtimeexception( int err );
+ static void runtimeexception( ErrCode err );
};
} // vba