From 6558c52be2772efaca183c8e43a74870583ef4f3 Mon Sep 17 00:00:00 2001 From: Oliver Bolte Date: Mon, 18 Apr 2005 13:14:54 +0000 Subject: INTEGRATION: CWS olefix (1.4.34); FILE MERGED 2005/04/11 13:37:10 tbe 1.4.34.1: #i47002# API: calling oDoc.printPages(); oDoc.close(true) crashes the office --- scripting/source/basprov/basscript.hxx | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) (limited to 'scripting/source/basprov/basscript.hxx') diff --git a/scripting/source/basprov/basscript.hxx b/scripting/source/basprov/basscript.hxx index e925b853b45e..64b12dea29f9 100644 --- a/scripting/source/basprov/basscript.hxx +++ b/scripting/source/basprov/basscript.hxx @@ -2,9 +2,9 @@ * * $RCSfile: basscript.hxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: rt $ $Date: 2004-10-22 14:03:31 $ + * last change: $Author: obo $ $Date: 2005-04-18 14:14:54 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -65,12 +65,14 @@ #ifndef _COM_SUN_STAR_SCRIPT_PROVIDER_XSCRIPT_HPP_ #include #endif - #ifndef _CPPUHELPER_IMPLBASE1_HXX_ #include #endif -class SbMethod; +#ifndef _SB_SBMETH_HXX +#include +#endif + //......................................................................... namespace basprov @@ -88,10 +90,10 @@ namespace basprov class BasicScriptImpl : public BasicScriptImpl_BASE { private: - SbMethod* m_pMethod; + SbMethodRef m_xMethod; ::rtl::OUString m_funcName; public: - BasicScriptImpl( const ::rtl::OUString& funcName, SbMethod* pMethod ); + BasicScriptImpl( const ::rtl::OUString& funcName, SbMethodRef xMethod ); virtual ~BasicScriptImpl(); // XScript -- cgit