diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-01-18 21:35:16 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-01-20 09:06:52 +0100 |
commit | 19ae20096aa1c35217753ffd3d903364047834ff (patch) | |
tree | 53e9f670342c8e234a39db9cd98e140645dc7f3b /include | |
parent | 950028c6e3b20ee686e47fdf990de89377aaf92a (diff) |
Some more loplugin:cstylecast: svx
Change-Id: I5eb4e1cae38decb293ea11f7cd4bfda0bad3afcb
Diffstat (limited to 'include')
-rw-r--r-- | include/svx/graphctl.hxx | 4 | ||||
-rw-r--r-- | include/svx/svdsob.hxx | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/include/svx/graphctl.hxx b/include/svx/graphctl.hxx index a2863d0f1f68..8cd389cc35e5 100644 --- a/include/svx/graphctl.hxx +++ b/include/svx/graphctl.hxx @@ -76,7 +76,7 @@ protected: virtual void SdrObjChanged( const SdrObject& rObj ); virtual void MarkListHasChanged(); - SdrObjUserCall* GetSdrUserCall() { return (SdrObjUserCall*) pUserCall; } + inline SdrObjUserCall* GetSdrUserCall(); public: @@ -134,6 +134,8 @@ public: virtual void Changed( const SdrObject& rObj, SdrUserCallType eType, const Rectangle& rOldBoundRect ) SAL_OVERRIDE; }; +SdrObjUserCall* GraphCtrl::GetSdrUserCall() { return pUserCall; } + class GraphCtrlView : public SdrView { GraphCtrl& rGraphCtrl; diff --git a/include/svx/svdsob.hxx b/include/svx/svdsob.hxx index 69bebbf56974..c417c4980e21 100644 --- a/include/svx/svdsob.hxx +++ b/include/svx/svdsob.hxx @@ -102,13 +102,13 @@ public: inline SvStream& WriteSetOfByte(SvStream& rOut, const SetOfByte& rSet) { - rOut.Write((char*)rSet.aData,32); + rOut.Write(rSet.aData, 32); return rOut; } inline SvStream& ReadSetOfByte(SvStream& rIn, SetOfByte& rSet) { - rIn.Read((char*)rSet.aData,32); + rIn.Read(rSet.aData, 32); return rIn; } |