summaryrefslogtreecommitdiffstats
path: root/sc/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-08-25 18:52:30 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-08-26 09:13:27 +0200
commit8ced5266f277734f9b7a48db6408056892d38ac4 (patch)
treee87c29a186487c65388c297e5a13efff6f45ab9b /sc/inc
parenttdf#32991 DOCexport: MSO-compatible table justification (diff)
downloadcore-8ced5266f277734f9b7a48db6408056892d38ac4.tar.gz
core-8ced5266f277734f9b7a48db6408056892d38ac4.zip
loplugin:constparam in sc part7
Change-Id: Ica5421ddc343ce18a08f993778f42183b571ed0e Reviewed-on: https://gerrit.libreoffice.org/41578 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/inc')
-rw-r--r--sc/inc/PivotTableDataSource.hxx2
-rw-r--r--sc/inc/miscuno.hxx4
-rw-r--r--sc/inc/shapeuno.hxx2
3 files changed, 4 insertions, 4 deletions
diff --git a/sc/inc/PivotTableDataSource.hxx b/sc/inc/PivotTableDataSource.hxx
index cd4281ceffe1..e6eda8be6c75 100644
--- a/sc/inc/PivotTableDataSource.hxx
+++ b/sc/inc/PivotTableDataSource.hxx
@@ -30,7 +30,7 @@ typedef cppu::WeakImplHelper<css::chart2::data::XDataSource,
class PivotTableDataSource : public PivotTableDataSource_Base, public SfxListener
{
public:
- explicit PivotTableDataSource(std::vector<css::uno::Reference<css::chart2::data::XLabeledDataSequence>>& xLabeledSequence);
+ explicit PivotTableDataSource(const std::vector<css::uno::Reference<css::chart2::data::XLabeledDataSequence>>& xLabeledSequence);
virtual ~PivotTableDataSource() override;
virtual void Notify(SfxBroadcaster& rBroadcaster, const SfxHint& rHint) override;
diff --git a/sc/inc/miscuno.hxx b/sc/inc/miscuno.hxx
index dd50fbac5cb6..bf5de0d2dee1 100644
--- a/sc/inc/miscuno.hxx
+++ b/sc/inc/miscuno.hxx
@@ -149,12 +149,12 @@ public:
static sal_Int32 GetEnumFromAny( const css::uno::Any& aAny );
static void SetOptionalPropertyValue(
- css::uno::Reference< css::beans::XPropertySet >& rPropSet,
+ const css::uno::Reference< css::beans::XPropertySet >& rPropSet,
const sal_Char* pPropName, const css::uno::Any& rVal );
template<typename ValueType>
static void SetOptionalPropertyValue(
- css::uno::Reference< css::beans::XPropertySet >& rPropSet,
+ const css::uno::Reference< css::beans::XPropertySet >& rPropSet,
const sal_Char* pPropName, const ValueType& rVal )
{
css::uno::Any any;
diff --git a/sc/inc/shapeuno.hxx b/sc/inc/shapeuno.hxx
index df3eef981a84..270399377b65 100644
--- a/sc/inc/shapeuno.hxx
+++ b/sc/inc/shapeuno.hxx
@@ -64,7 +64,7 @@ class ScShapeObj :public ScShapeObj_Base
,public ScShapeObj_ChildBase
{
private:
- friend ScMacroInfo* ScShapeObj_getShapeHyperMacroInfo( ScShapeObj* pShape, bool bCreate );
+ friend ScMacroInfo* ScShapeObj_getShapeHyperMacroInfo( const ScShapeObj* pShape, bool bCreate );
css::uno::Reference< css::uno::XAggregation > mxShapeAgg;
// cached pointers to avoid repeated queryAggregation calls:
css::beans::XPropertySet* pShapePropertySet;