diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-10-01 13:01:58 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-10-01 20:58:11 +0200 |
commit | 581efdec36787dc5e378e54d13e7328fddcf3a50 (patch) | |
tree | 29f04e719f8402028a4e26088a8ea825ebe9fdca /include/svx | |
parent | e512b53ef8ae7945131876d32121fdbbdeb1de35 (diff) |
loplugin:constmethod
Change-Id: I3ed657c5c5e6840e38e3c8505505b4b372125df0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/122910
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/svx')
-rw-r--r-- | include/svx/gallerybinaryengineentry.hxx | 2 | ||||
-rw-r--r-- | include/svx/obj3d.hxx | 2 | ||||
-rw-r--r-- | include/svx/svditer.hxx | 2 | ||||
-rw-r--r-- | include/svx/svdpntv.hxx | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/include/svx/gallerybinaryengineentry.hxx b/include/svx/gallerybinaryengineentry.hxx index 48a27113ace1..f624e9177bd5 100644 --- a/include/svx/gallerybinaryengineentry.hxx +++ b/include/svx/gallerybinaryengineentry.hxx @@ -38,7 +38,7 @@ public: GalleryBinaryEngineEntry(); static void CreateUniqueURL(const INetURLObject& rBaseURL, INetURLObject& aURL); - OUString ReadStrFromIni(std::u16string_view aKeyName); + OUString ReadStrFromIni(std::u16string_view aKeyName) const; const INetURLObject& GetThmURL() const { return mpGalleryStorageLocations->GetThmURL(); } const INetURLObject& GetSdgURL() const { return mpGalleryStorageLocations->GetSdgURL(); } diff --git a/include/svx/obj3d.hxx b/include/svx/obj3d.hxx index 0cbaa62ef3ee..29feec983475 100644 --- a/include/svx/obj3d.hxx +++ b/include/svx/obj3d.hxx @@ -164,7 +164,7 @@ protected: protected: // convert given basegfx::B3DPolyPolygon to screen coor - basegfx::B2DPolyPolygon TransformToScreenCoor(const basegfx::B3DPolyPolygon& rCandidate); + basegfx::B2DPolyPolygon TransformToScreenCoor(const basegfx::B3DPolyPolygon& rCandidate) const; // protected destructor virtual ~E3dCompoundObject() override; diff --git a/include/svx/svditer.hxx b/include/svx/svditer.hxx index 8f1b022db894..9b43b5637855 100644 --- a/include/svx/svditer.hxx +++ b/include/svx/svditer.hxx @@ -66,7 +66,7 @@ public: return (idx < maObjList.size()) ? const_cast< SdrObject* >(maObjList[idx]) : nullptr; } - size_t Count() { return maObjList.size(); } + size_t Count() const { return maObjList.size(); } }; #endif // INCLUDED_SVX_SVDITER_HXX diff --git a/include/svx/svdpntv.hxx b/include/svx/svdpntv.hxx index 66c1e33e378b..b8212b1fcae4 100644 --- a/include/svx/svdpntv.hxx +++ b/include/svx/svdpntv.hxx @@ -236,7 +236,7 @@ protected: void ImpSetGlueVisible4(bool bOn) { if (mbGlueVisible4!=bOn) { mbGlueVisible4=bOn; if (!mbGlueVisible && !mbGlueVisible2 && !mbGlueVisible3) GlueInvalidate(); } } public: - bool ImpIsGlueVisible() { return mbGlueVisible || mbGlueVisible2 || mbGlueVisible3 || mbGlueVisible4; } + bool ImpIsGlueVisible() const { return mbGlueVisible || mbGlueVisible2 || mbGlueVisible3 || mbGlueVisible4; } protected: virtual void Notify(SfxBroadcaster& rBC, const SfxHint& rHint) override; |