summaryrefslogtreecommitdiff
path: root/sc/inc/datauno.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-03-19 15:27:30 +0200
committerNoel Grandin <noel@peralex.com>2015-03-23 09:42:23 +0200
commit468ff4b3b6e20cab284b5f6dbd7c8aa5a1ba1264 (patch)
treec855aa8d55122a03c40815f24c6dcb64a1d4cac2 /sc/inc/datauno.hxx
parenta84c07509d9051084684987ad5ec47631afd50e5 (diff)
loplugin:constantfunction: sc
Change-Id: Id3268114041575d7dbb84e8d963ead566c78b928
Diffstat (limited to 'sc/inc/datauno.hxx')
-rw-r--r--sc/inc/datauno.hxx9
1 files changed, 7 insertions, 2 deletions
diff --git a/sc/inc/datauno.hxx b/sc/inc/datauno.hxx
index 4153340615f3..da1e88495be3 100644
--- a/sc/inc/datauno.hxx
+++ b/sc/inc/datauno.hxx
@@ -82,7 +82,7 @@ public:
static void FillProperties(
com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue>& rSeq,
const ScImportParam& rParam );
- static long GetPropertyCount();
+ static long GetPropertyCount() { return 4; }
};
// SortDescriptor is not available as Uno-Objekt any longer, only Property-Sequence
@@ -96,7 +96,12 @@ public:
static void FillProperties(
com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue>& rSeq,
const ScSortParam& rParam );
- static long GetPropertyCount();
+ //! SortAscending muss aus der SheetSortDescriptor service-Beschreibung raus
+ static long GetPropertyCount()
+ {
+ return 9; // TableSortDescriptor and SheetSortDescriptor
+ }
+
};
// ScSubTotalDescriptorBase - base class for SubTotalDescriptor stand alone and in DB area (context?)