summaryrefslogtreecommitdiff
path: root/sc/inc
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
parenta84c07509d9051084684987ad5ec47631afd50e5 (diff)
loplugin:constantfunction: sc
Change-Id: Id3268114041575d7dbb84e8d963ead566c78b928
Diffstat (limited to 'sc/inc')
-rw-r--r--sc/inc/dapiuno.hxx1
-rw-r--r--sc/inc/datauno.hxx9
-rw-r--r--sc/inc/dptabsrc.hxx1
-rw-r--r--sc/inc/rangeutl.hxx7
-rw-r--r--sc/inc/viewuno.hxx2
5 files changed, 7 insertions, 13 deletions
diff --git a/sc/inc/dapiuno.hxx b/sc/inc/dapiuno.hxx
index 6bedada3aaf0..1d30cc5833f9 100644
--- a/sc/inc/dapiuno.hxx
+++ b/sc/inc/dapiuno.hxx
@@ -574,7 +574,6 @@ public:
void setSubtotals(const com::sun::star::uno::Sequence< com::sun::star::sheet::GeneralFunction >& rFunctions);
OUString getCurrentPage() const;
void setCurrentPage(const OUString& sPage);
- bool getUseCurrentPage() const;
void setUseCurrentPage(bool bUse);
const com::sun::star::sheet::DataPilotFieldAutoShowInfo* getAutoShowInfo();
void setAutoShowInfo(const com::sun::star::sheet::DataPilotFieldAutoShowInfo* pInfo);
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?)
diff --git a/sc/inc/dptabsrc.hxx b/sc/inc/dptabsrc.hxx
index c07a242a0208..11f071b7d803 100644
--- a/sc/inc/dptabsrc.hxx
+++ b/sc/inc/dptabsrc.hxx
@@ -415,7 +415,6 @@ public:
sal_uInt16 getFunction() const { return nFunction;}
void setFunction(sal_uInt16 nNew); // for data dimension
long getUsedHierarchy() const { return nUsedHier;}
- void setUsedHierarchy(long nNew);
bool HasSelectedPage() const { return bHasSelectedPage; }
const ScDPItemData& GetSelectedData();
diff --git a/sc/inc/rangeutl.hxx b/sc/inc/rangeutl.hxx
index 69e623953cb6..4da7e9f42ba0 100644
--- a/sc/inc/rangeutl.hxx
+++ b/sc/inc/rangeutl.hxx
@@ -68,13 +68,6 @@ public:
ScRefAddress* pEndPos = 0,
ScAddress::Details const & rDetails = ScAddress::detailsOOOa1 ) const;
- bool IsRefArea ( const OUString&,
- ScDocument*,
- SCTAB,
- OUString* = 0,
- ScRefAddress* = 0 ) const
- { return false; }
-
bool IsAbsPos ( const OUString& rPosStr,
ScDocument* pDoc,
SCTAB nTab,
diff --git a/sc/inc/viewuno.hxx b/sc/inc/viewuno.hxx
index 7d8131aa1e92..2b39aacf9544 100644
--- a/sc/inc/viewuno.hxx
+++ b/sc/inc/viewuno.hxx
@@ -202,9 +202,7 @@ private:
void SetZoomType(sal_Int16 ZoomType);
com::sun::star::uno::Reference< com::sun::star::uno::XInterface > GetClickedObject(const Point& rPoint) const;
- void StartMouseListening();
void EndMouseListening();
- void StartActivationListening();
void EndActivationListening();
bool mbLeftMousePressed;
bool mbPendingSelectionChanged;