summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--offapi/com/sun/star/sheet/GlobalSheetSettings.idl3
-rw-r--r--offapi/com/sun/star/sheet/XGlobalSheetSettings.idl9
-rw-r--r--sc/inc/appluno.hxx5
3 files changed, 8 insertions, 9 deletions
diff --git a/offapi/com/sun/star/sheet/GlobalSheetSettings.idl b/offapi/com/sun/star/sheet/GlobalSheetSettings.idl
index ea94c62df0c6..15afac426b7c 100644
--- a/offapi/com/sun/star/sheet/GlobalSheetSettings.idl
+++ b/offapi/com/sun/star/sheet/GlobalSheetSettings.idl
@@ -28,6 +28,9 @@ module com { module sun { module star { module sheet {
/** contributes properties to access the settings for all spreadsheets of
a spreadsheet document.
+
+ For backwards compatibility, the attributes of XGlobalSheetSettings can
+ still be accessed via com::sun::star::beans::XPropertySet, too.
*/
published service GlobalSheetSettings : XGlobalSheetSettings;
diff --git a/offapi/com/sun/star/sheet/XGlobalSheetSettings.idl b/offapi/com/sun/star/sheet/XGlobalSheetSettings.idl
index a08833ad4e04..021efe43f36e 100644
--- a/offapi/com/sun/star/sheet/XGlobalSheetSettings.idl
+++ b/offapi/com/sun/star/sheet/XGlobalSheetSettings.idl
@@ -20,7 +20,7 @@
#ifndef __com_sun_star_sheet_XGlobalSheetSettings_idl__
#define __com_sun_star_sheet_XGlobalSheetSettings_idl__
-#include <com/sun/star/beans/XPropertySet.idl>
+#include <com/sun/star/uno/XInterface.idl>
module com { module sun { module star { module sheet {
@@ -31,13 +31,6 @@ module com { module sun { module star { module sheet {
*/
published interface XGlobalSheetSettings
{
-
-//! service com::sun::star::beans::PropertySet;
- /** provides access to the properties.
- */
- interface com::sun::star::beans::XPropertySet;
-
-
/** specifies whether the cursor is moved after entering into cells.
*/
[attribute] boolean MoveSelection;
diff --git a/sc/inc/appluno.hxx b/sc/inc/appluno.hxx
index 2189fa1cd412..b63fdab835ee 100644
--- a/sc/inc/appluno.hxx
+++ b/sc/inc/appluno.hxx
@@ -22,12 +22,14 @@
#include <svl/itemprop.hxx>
#include <com/sun/star/lang/XServiceInfo.hpp>
+#include <com/sun/star/beans/XPropertySet.hpp>
#include <com/sun/star/sheet/XRecentFunctions.hpp>
#include <com/sun/star/sheet/XFunctionDescriptions.hpp>
#include <com/sun/star/sheet/XGlobalSheetSettings.hpp>
#include <com/sun/star/container/XEnumerationAccess.hpp>
#include <com/sun/star/container/XNameAccess.hpp>
#include <cppuhelper/implbase2.hxx>
+#include <cppuhelper/implbase3.hxx>
#include <cppuhelper/implbase4.hxx>
#include <rtl/ustring.hxx>
@@ -47,8 +49,9 @@ com::sun::star::uno::Reference<com::sun::star::uno::XInterface> SAL_CALL
com::sun::star::lang::XMultiServiceFactory>& rSMgr );
-class ScSpreadsheetSettings : public cppu::WeakImplHelper2<
+class ScSpreadsheetSettings : public cppu::WeakImplHelper3<
com::sun::star::sheet::XGlobalSheetSettings,
+ com::sun::star::beans::XPropertySet,
com::sun::star::lang::XServiceInfo>
{
private: