From 14d45665433eec974acd96f813f2bf314bdb3eba Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Thu, 19 Oct 2017 11:09:13 +0200 Subject: loplugin:constmethod in codemaker,registry,store Change-Id: Ie75875974f054ff79bd64b1c261e79e2b78eb7fc Reviewed-on: https://gerrit.libreoffice.org/43540 Tested-by: Jenkins Reviewed-by: Noel Grandin --- store/source/stordata.hxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'store/source/stordata.hxx') diff --git a/store/source/stordata.hxx b/store/source/stordata.hxx index c8f1597f551a..5014971da3da 100644 --- a/store/source/stordata.hxx +++ b/store/source/stordata.hxx @@ -80,7 +80,7 @@ struct OStoreDataPageData : public store::PageData /** guard (external representation). */ - void guard() { (void) this; /* loplugin:staticmethods */ } + void guard() const { (void) this; /* loplugin:staticmethods */ } /** verify (external representation). */ @@ -216,20 +216,20 @@ public: storeError read ( sal_uInt16 nSingle, OStoreDataPageObject &rData, - OStorePageBIOS &rBIOS); + OStorePageBIOS &rBIOS) const; storeError read ( sal_uInt16 nDouble, sal_uInt16 nSingle, OStoreDataPageObject &rData, - OStorePageBIOS &rBIOS); + OStorePageBIOS &rBIOS) const; storeError read ( sal_uInt16 nTriple, sal_uInt16 nDouble, sal_uInt16 nSingle, OStoreDataPageObject &rData, - OStorePageBIOS &rBIOS); + OStorePageBIOS &rBIOS) const; /** write (indirect data page). */ @@ -707,7 +707,7 @@ public: storeError read ( sal_uInt32 nPage, OStoreDataPageObject &rData, - OStorePageBIOS &rBIOS); + OStorePageBIOS &rBIOS) const; /** write (external data page). */ -- cgit