summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-06-05 16:01:16 +0200
committerStephan Bergmann <sbergman@redhat.com>2013-06-05 16:10:17 +0200
commitcd1bbf0a2b9141c0d20f676503b5cc3dc2b00ee3 (patch)
treea366335cef4e2a9e5c9c431c010e615c503e9328 /sc
parentbeb4c56a2fa5957475d1482e9634692694f5e9fe (diff)
Fixes for new-style service com.sun.star.sheet.GlobalSheetSettings
...changed from old-style with a39c96af53ec3364de70012ebfa7c09c4a55a7c3 "fdo#46808, Convert sheet::GlobalSheetSettings service to new style." The XPropertySet can be treated as an implementation detail (but kept in the implementation for backwards compatibility). Also, this should arguably be a singleton rather than a service, like some related services (e.g., com.sun.star.sheet.RecentFunctions), too. Change-Id: Ibfe3254188aff91a08b39cbc295fb610ae0dfa5f (cherry picked from commit 33a4d7624fd30454306e659d24665fa251fc9eff)
Diffstat (limited to 'sc')
-rw-r--r--sc/inc/appluno.hxx5
1 files changed, 4 insertions, 1 deletions
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: