diff options
author | Oliver Bolte <obo@openoffice.org> | 2005-04-18 13:14:54 +0000 |
---|---|---|
committer | Oliver Bolte <obo@openoffice.org> | 2005-04-18 13:14:54 +0000 |
commit | 6558c52be2772efaca183c8e43a74870583ef4f3 (patch) | |
tree | 0601ddb9e0fe460fa91519f9de110571c869ec96 /scripting/source/basprov/basscript.hxx | |
parent | 24d6b8d69462c4fcfbc00f3d57519aeb96093fcd (diff) |
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
Diffstat (limited to 'scripting/source/basprov/basscript.hxx')
-rw-r--r-- | scripting/source/basprov/basscript.hxx | 14 |
1 files changed, 8 insertions, 6 deletions
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 <com/sun/star/script/provider/XScript.hpp> #endif - #ifndef _CPPUHELPER_IMPLBASE1_HXX_ #include <cppuhelper/implbase1.hxx> #endif -class SbMethod; +#ifndef _SB_SBMETH_HXX +#include <basic/sbmeth.hxx> +#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 |