summaryrefslogtreecommitdiff
path: root/include/svx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2021-09-30 09:40:29 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-09-30 11:24:33 +0200
commit3b8e53f66ffd4d631a850fe76250124dc4a195c3 (patch)
tree2613882a4876f0a66324b7e29e61c46b3ec451b0 /include/svx
parentd242a19dbdd53b7ae0b6a6ceacca6aa1b6ac54a9 (diff)
loplugin:constparams improve handling of pointer params
Change-Id: I4c0002e72703eded435bfe4985f5b0121bf8524b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122843 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/svx')
-rw-r--r--include/svx/svdedtv.hxx2
-rw-r--r--include/svx/svdpagv.hxx2
-rw-r--r--include/svx/svdpntv.hxx2
-rw-r--r--include/svx/svdtext.hxx2
4 files changed, 4 insertions, 4 deletions
diff --git a/include/svx/svdedtv.hxx b/include/svx/svdedtv.hxx
index 5d834d05bde7..a21eeb3e0a43 100644
--- a/include/svx/svdedtv.hxx
+++ b/include/svx/svdedtv.hxx
@@ -189,7 +189,7 @@ public:
*/
void EndTextEditAllViews() const;
- std::vector< std::unique_ptr<SdrUndoAction> > CreateConnectorUndo( SdrObject& rO );
+ std::vector< std::unique_ptr<SdrUndoAction> > CreateConnectorUndo( const SdrObject& rO );
void AddUndoActions( std::vector< std::unique_ptr<SdrUndoAction> > );
// Layermanagement with Undo.
diff --git a/include/svx/svdpagv.hxx b/include/svx/svdpagv.hxx
index 3aceb48d1d4b..2f77dfa6692a 100644
--- a/include/svx/svdpagv.hxx
+++ b/include/svx/svdpagv.hxx
@@ -87,7 +87,7 @@ private:
public:
sal_uInt32 PageWindowCount() const { return maPageWindows.size(); }
- SdrPageWindow* FindPageWindow( SdrPaintWindow& rPaintWindow ) const;
+ SdrPageWindow* FindPageWindow( const SdrPaintWindow& rPaintWindow ) const;
SdrPageWindow* FindPageWindow( const OutputDevice& rOutDev ) const;
SdrPageWindow* GetPageWindow(sal_uInt32 nIndex) const;
diff --git a/include/svx/svdpntv.hxx b/include/svx/svdpntv.hxx
index 048c5f6b5cd8..66c1e33e378b 100644
--- a/include/svx/svdpntv.hxx
+++ b/include/svx/svdpntv.hxx
@@ -210,7 +210,7 @@ protected:
Color maGridColor;
// Interface to SdrPaintWindow
- void DeletePaintWindow(SdrPaintWindow& rOld);
+ void DeletePaintWindow(const SdrPaintWindow& rOld);
void ConfigurationChanged( ::utl::ConfigurationBroadcaster*, ConfigurationHints ) override;
static void InitOverlayManager(rtl::Reference<sdr::overlay::OverlayManager> xOverlayManager);
diff --git a/include/svx/svdtext.hxx b/include/svx/svdtext.hxx
index b3c5cbbf90ec..727273454905 100644
--- a/include/svx/svdtext.hxx
+++ b/include/svx/svdtext.hxx
@@ -54,7 +54,7 @@ public:
OutlinerParaObject* GetOutlinerParaObject();
const OutlinerParaObject* GetOutlinerParaObject() const;
- void CheckPortionInfo(SdrOutliner& rOutliner);
+ void CheckPortionInfo(const SdrOutliner& rOutliner);
void ReformatText();
// default uses GetObjectItemSet, but may be overridden to