summaryrefslogtreecommitdiff
path: root/include/sot
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-11-01 15:54:13 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-11-02 10:45:01 +0100
commit455e4011f7052c5d1fb4693a573e0998cf6badc8 (patch)
treece9b3b511a3b61b936af7a4970ab4bcbaf620628 /include/sot
parentcee129bf17bd604f96e3cfe62d3a55336e248ccd (diff)
improve constparam loplugin
lots of little fixes to make the logic less pessimistic Change-Id: If368822984250b11b98c56f5890177a1402e8660 Reviewed-on: https://gerrit.libreoffice.org/44168 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/sot')
-rw-r--r--include/sot/stg.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sot/stg.hxx b/include/sot/stg.hxx
index f0d8ee70ff1b..4f2b19c0255e 100644
--- a/include/sot/stg.hxx
+++ b/include/sot/stg.hxx
@@ -129,7 +129,7 @@ protected:
OLEStorageBase( StgIo*, StgDirEntry*, StreamMode& );
~OLEStorageBase();
bool Validate_Impl( bool ) const;
- static bool ValidateMode_Impl( StreamMode, StgDirEntry* p = nullptr );
+ static bool ValidateMode_Impl( StreamMode, StgDirEntry const * p = nullptr );
};
class StorageStream : public BaseStorageStream, public OLEStorageBase
@@ -207,7 +207,7 @@ public:
virtual bool ValidateFAT() override;
virtual bool Validate( bool=false ) const override;
virtual bool ValidateMode( StreamMode ) const override;
- bool ValidateMode( StreamMode, StgDirEntry* p ) const;
+ bool ValidateMode( StreamMode, StgDirEntry const * p ) const;
virtual bool Equals( const BaseStorage& rStream ) const override;
};