diff options
author | Gergo Mocsi <gmocsi91@gmail.com> | 2013-06-17 13:07:05 +0200 |
---|---|---|
committer | Gergo Mocsi <gmocsi91@gmail.com> | 2013-09-02 18:16:42 +0200 |
commit | f97d794654cbf80afa0e4a60cda8147e94c11908 (patch) | |
tree | 9b1b7f92becac1b7953067a1e7a7652b1e8827c8 /basic/source/inc/parser.hxx | |
parent | 49656398d43fa03f8adb70b9be417f2fd65dd9ea (diff) |
GSOC work week 0-1, allowing BASIC to recognize UNO interfaces
Introduced a new function calles IsUnoInterface in SbiParser to determine, if
a variable is a type of an UNO interface. It uses reflection.CoreReflection to
do that, on success it returs true otherwise false.
Change-Id: I18895127bcbd92dc7a25feb5d82a7d1343bde851
Diffstat (limited to 'basic/source/inc/parser.hxx')
-rw-r--r-- | basic/source/inc/parser.hxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/basic/source/inc/parser.hxx b/basic/source/inc/parser.hxx index d6c14a6b27ee..0ab6bcbb533b 100644 --- a/basic/source/inc/parser.hxx +++ b/basic/source/inc/parser.hxx @@ -57,6 +57,7 @@ class SbiParser : public SbiTokenizer void DefEnum( bool bPrivate ); // Parse enum declaration void DefDeclare( bool bPrivate ); void EnableCompatibility(); + bool IsUnoInterface(const OUString& sTypeName); public: SbxArrayRef rTypeArray; SbxArrayRef rEnumArray; |