Kaydet (Commit) 11207ae9 authored tarafından Kohei Yoshida's avatar Kohei Yoshida

Make XPropertSet2 not a child interface of XPropertySet.

This is to preserve ABI backward compatibility with cppu::OPropertySetHelper.
üst 8657e723
......@@ -33,6 +33,7 @@
#include <cppuhelper/interfacecontainer.hxx>
#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/beans/XPropertySet2.hpp>
#include <com/sun/star/beans/XMultiPropertySet.hpp>
#include <com/sun/star/beans/XFastPropertySet.hpp>
......@@ -350,6 +351,7 @@ public:
*/
class OPropertySetHelper : public ::com::sun::star::beans::XMultiPropertySet,
public ::com::sun::star::beans::XFastPropertySet,
public ::com::sun::star::beans::XPropertySet,
public ::com::sun::star::beans::XPropertySet2
{
public:
......
......@@ -64,7 +64,7 @@ GetVersionInfo;
??_7OPropertyArrayHelper@cppu@@6B@;
??_7OPropertySetHelper@cppu@@6BXFastPropertySet@beans@star@sun@com@@@;
??_7OPropertySetHelper@cppu@@6BXMultiPropertySet@beans@star@sun@com@@@;
??_7OPropertySetHelper@cppu@@6BXPropertySet2@beans@star@sun@com@@@;
??_7OPropertySetHelper@cppu@@6BXPropertySet@beans@star@sun@com@@@;
??_GIPropertyArrayHelper@cppu@@UAEPAXI@Z;
??_GOPropertyArrayHelper@cppu@@UAEPAXI@Z;
?addPropertiesChangeListener@OPropertySetHelper@cppu@@UAAXABV?$Sequence@VOUString@rtl@@@uno@star@sun@com@@ABV?$Reference@VXPropertiesChangeListener@beans@star@sun@com@@@4567@@Z;
......@@ -288,4 +288,5 @@ UDK_3.7 { # OOo 3.4
UDK_3.8 { # LibO 3.5
global:
?enableChangeListenerNotification@OPropertySetHelper@cppu@@UAAXE@Z;
??_7OPropertySetHelper@cppu@@6BXPropertySet2@beans@star@sun@com@@@;
} UDK_3.7;
......@@ -6,8 +6,18 @@
module com { module sun { module star { module beans {
interface XPropertySet2: com::sun::star::beans::XPropertySet
/**
* This interface should be conceptually derived from XPropertySet but isn't
* due to ABI compatibility on Windows; cppu::OPrpertySetHelper exports
* XPropertySet's vtable symbol in the UDK_3_0_0 section which must stay
* there. Once we hit LibreOffice 4 we should clean this mess up.
*/
interface XPropertySet2: com::sun::star::uno::XInterface
{
/**
* Turn on or off notifying change listeners on property value change. It
* notifies registered change listeners by default.
*/
void enableChangeListenerNotification( [in] boolean bEnable );
};
......
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