Kaydet (Commit) 6006e255 authored tarafından Markus Mohrhard's avatar Markus Mohrhard Kaydeden (comit) Noel Power

fix cast to implementation objects failure from some vba objects

old calls attempting to cast to implementation objects now fail ( and crash on access ) because we now wrap some objects via a aggregation proxy. This patch fixes this
üst 412a02c4
......@@ -27,7 +27,7 @@
#ifndef __ooo_vba_excel_XWorkbook_idl__
#define __ooo_vba_excel_XWorkbook_idl__
#include <com/sun/star/uno/XInterface.idl>
#include <com/sun/star/lang/XUnoTunnel.idl>
#include <ooo/vba/XHelperInterface.idl>
//=============================================================================
......@@ -40,8 +40,11 @@ interface XWorksheet;
interface XWorksheets;
interface XStyles;
interface XWorkbook : com::sun::star::uno::XInterface
interface XWorkbook
{
interface ::com::sun::star::lang::XUnoTunnel;
[attribute, readonly] boolean ProtectStructure;
[attribute, readonly] XWorksheet ActiveSheet;
[attribute, readonly] string CodeName;
......
......@@ -27,7 +27,7 @@
#ifndef __ooo_vba_excel_XWorksheet_idl__
#define __ooo_vba_excel_XWorksheet_idl__
#include <com/sun/star/uno/XInterface.idl>
#include <com/sun/star/lang/XUnoTunnel.idl>
#include <ooo/vba/XHelperInterface.idl>
#include <com/sun/star/script/XInvocation.idl>
#include <com/sun/star/container/XNamed.idl>
......@@ -49,6 +49,7 @@ interface XWorksheet
interface ::ooo::vba::XHelperInterface;
interface ::com::sun::star::script::XInvocation;
interface ::com::sun::star::container::XNamed;
interface ::com::sun::star::lang::XUnoTunnel;
[attribute] long Visible;
[attribute, readonly] long StandardHeight;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment