diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-27 09:55:10 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-27 10:49:12 +0200 |
commit | 00c9cb7318bbbe593517647c8bfa3e7327191f83 (patch) | |
tree | 7ba389df06841ab72cc14a561ad86ad43a927431 /include/filter/msfilter | |
parent | 0c840d9bf308464d58a2df8aaa1e61481b5e4f52 (diff) |
loplugin:constparams in filter
Change-Id: I0ba463fcaff4c449f762a7969e0feab659b37adf
Reviewed-on: https://gerrit.libreoffice.org/40471
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/filter/msfilter')
-rw-r--r-- | include/filter/msfilter/escherex.hxx | 6 | ||||
-rw-r--r-- | include/filter/msfilter/msdffimp.hxx | 8 | ||||
-rw-r--r-- | include/filter/msfilter/msoleexp.hxx | 2 | ||||
-rw-r--r-- | include/filter/msfilter/msvbahelper.hxx | 4 | ||||
-rw-r--r-- | include/filter/msfilter/svdfppt.hxx | 24 |
5 files changed, 22 insertions, 22 deletions
diff --git a/include/filter/msfilter/escherex.hxx b/include/filter/msfilter/escherex.hxx index 53ca59a7661d..f30c8edf7fae 100644 --- a/include/filter/msfilter/escherex.hxx +++ b/include/filter/msfilter/escherex.hxx @@ -569,7 +569,7 @@ protected: public: - sal_uInt32 GetBlibStoreContainerSize( SvStream* pMergePicStreamBSE = nullptr ) const; + sal_uInt32 GetBlibStoreContainerSize( SvStream const * pMergePicStreamBSE = nullptr ) const; void WriteBlibStoreContainer( SvStream& rStrm, SvStream* pMergePicStreamBSE = nullptr ); void WriteBlibStoreEntry(SvStream& rStrm, sal_uInt32 nBlipId, sal_uInt32 nResize); sal_uInt32 GetBlibID( @@ -751,7 +751,7 @@ public: sal_uInt32 nFlags, bool bBezier, css::awt::Rectangle& rGeoRect, - tools::Polygon* pPolygon = nullptr + tools::Polygon const * pPolygon = nullptr ); static sal_uInt32 GetGradientColor( @@ -827,7 +827,7 @@ public: sal_Int32& rnArrowLength, sal_Int32& rnArrowWidth ); - static bool IsDefaultObject( SdrObjCustomShape* pCustoShape, const MSO_SPT eShapeType ); + static bool IsDefaultObject( SdrObjCustomShape const * pCustoShape, const MSO_SPT eShapeType ); static void LookForPolarHandles( const MSO_SPT eShapeType, sal_Int32& nAdjustmentsWhichNeedsToBeConverted diff --git a/include/filter/msfilter/msdffimp.hxx b/include/filter/msfilter/msdffimp.hxx index 57530d1da42a..265b2c915dd5 100644 --- a/include/filter/msfilter/msdffimp.hxx +++ b/include/filter/msfilter/msdffimp.hxx @@ -691,14 +691,14 @@ public: SdrObject* pObject, SwFlyFrameFormat* pFly = nullptr) const; - void ExchangeInShapeOrder(SdrObject* pOldObject, + void ExchangeInShapeOrder(SdrObject const * pOldObject, sal_uLong nTxBx, SdrObject* pObject) const; - void RemoveFromShapeOrder( SdrObject* pObject ) const; + void RemoveFromShapeOrder( SdrObject const * pObject ) const; static SdrOle2Obj* CreateSdrOLEFromStorage( const OUString& rStorageName, - tools::SvRef<SotStorage>& rSrcStorage, + tools::SvRef<SotStorage> const & rSrcStorage, const css::uno::Reference < css::embed::XStorage >& xDestStg, const Graphic& rGraf, const tools::Rectangle& rBoundRect, @@ -725,7 +725,7 @@ public: ); void insertShapeId( sal_Int32 nShapeId, SdrObject* pShape ); - void removeShapeId( SdrObject* pShape ); + void removeShapeId( SdrObject const * pShape ); SdrObject* getShapeForId( sal_Int32 nShapeId ); }; diff --git a/include/filter/msfilter/msoleexp.hxx b/include/filter/msfilter/msoleexp.hxx index dc7b17616516..c6a3eab9d138 100644 --- a/include/filter/msfilter/msoleexp.hxx +++ b/include/filter/msfilter/msoleexp.hxx @@ -46,7 +46,7 @@ class MSFILTER_DLLPUBLIC SvxMSExportOLEObjects public: SvxMSExportOLEObjects( sal_uInt32 nCnvrtFlgs ) : nConvertFlags(nCnvrtFlgs) {} - void ExportOLEObject( svt::EmbeddedObjectRef& rObj, SotStorage& rDestStg ); + void ExportOLEObject( svt::EmbeddedObjectRef const & rObj, SotStorage& rDestStg ); void ExportOLEObject( const css::uno::Reference < css::embed::XEmbeddedObject>& rObj, SotStorage& rDestStg ); }; diff --git a/include/filter/msfilter/msvbahelper.hxx b/include/filter/msfilter/msvbahelper.hxx index 57136bf6366f..b5b3079dfcdf 100644 --- a/include/filter/msfilter/msvbahelper.hxx +++ b/include/filter/msfilter/msvbahelper.hxx @@ -59,8 +59,8 @@ struct MSFILTER_DLLPUBLIC MacroResolvedInfo MSFILTER_DLLPUBLIC OUString makeMacroURL( const OUString& sMacroName ); MSFILTER_DLLPUBLIC OUString extractMacroName( const OUString& rMacroUrl ); -MSFILTER_DLLPUBLIC OUString getDefaultProjectName( SfxObjectShell* pShell ); -MSFILTER_DLLPUBLIC OUString resolveVBAMacro( SfxObjectShell* pShell, const OUString& rLibName, const OUString& rModuleName, const OUString& rMacroName ); +MSFILTER_DLLPUBLIC OUString getDefaultProjectName( SfxObjectShell const * pShell ); +MSFILTER_DLLPUBLIC OUString resolveVBAMacro( SfxObjectShell const * pShell, const OUString& rLibName, const OUString& rModuleName, const OUString& rMacroName ); MSFILTER_DLLPUBLIC MacroResolvedInfo resolveVBAMacro( SfxObjectShell* pShell, const OUString& rMacroName, bool bSearchGlobalTemplates = false ); MSFILTER_DLLPUBLIC bool executeMacro( SfxObjectShell* pShell, const OUString& sMacroName, css::uno::Sequence< css::uno::Any >& aArgs, css::uno::Any& aRet, const css::uno::Any& aCaller ); /// @throws css::uno::RuntimeException diff --git a/include/filter/msfilter/svdfppt.hxx b/include/filter/msfilter/svdfppt.hxx index 8643be9d6481..3204454ffba7 100644 --- a/include/filter/msfilter/svdfppt.hxx +++ b/include/filter/msfilter/svdfppt.hxx @@ -465,7 +465,7 @@ public: virtual SdrObject* ReadObjText( PPTTextObj* pTextObj, SdrObject* pObj, SdPageCapsule pPage ) const; virtual SdrObject* ProcessObj( SvStream& rSt, DffObjData& rData, void* pData, tools::Rectangle& rTextRect, SdrObject* pObj ) override; virtual void ProcessClientAnchor2( SvStream& rSt, DffRecordHeader& rHd, void* pData, DffObjData& rObj ) override; - void ImportHeaderFooterContainer( DffRecordHeader& rHeader, HeaderFooterEntry& rEntry ); + void ImportHeaderFooterContainer( DffRecordHeader const & rHeader, HeaderFooterEntry& rEntry ); }; @@ -591,10 +591,10 @@ protected: sal_uInt32 GetAktPageId(); sal_uInt32 GetMasterPageId(sal_uInt16 nPageNum, PptPageKind ePageKind) const; sal_uInt32 GetNotesPageId(sal_uInt16 nPageNum ) const; - static SdrOutliner* GetDrawOutliner( SdrTextObj* pSdrText ); + static SdrOutliner* GetDrawOutliner( SdrTextObj const * pSdrText ); void SeekOle( SfxObjectShell* pShell, sal_uInt32 nFilterOptions ); - void ApplyTextAnchorAttributes( PPTTextObj& rTextObj, SfxItemSet& rSet ) const; + void ApplyTextAnchorAttributes( PPTTextObj const & rTextObj, SfxItemSet& rSet ) const; bool IsVerticalText() const; public: @@ -772,7 +772,7 @@ public: PPTParaSheet( const PPTParaSheet& rParaSheet ); void Read( - SdrPowerPointImport& rMan, + SdrPowerPointImport const & rMan, SvStream& rIn, sal_uInt32 nLevel, bool bFirst @@ -792,18 +792,18 @@ class PPTNumberFormatCreator sal_uInt32 nBulletOfs; void ImplGetNumberFormat( - SdrPowerPointImport& rMan, + SdrPowerPointImport const & rMan, SvxNumberFormat& rNumberFormat ); bool ImplGetExtNumberFormat( - SdrPowerPointImport& rMan, + SdrPowerPointImport const & rMan, SvxNumberFormat& rNumberFormat, sal_uInt32 nLevel, TSS_Type nInstance, TSS_Type nInstanceInSheet, boost::optional< sal_Int16 >& rStartNumbering, sal_uInt32 nFontHeight, - PPTParagraphObj* pPara + PPTParagraphObj const * pPara ); protected: @@ -816,7 +816,7 @@ public: std::unique_ptr<PPTExtParaProv> pExtParaProv; void GetNumberFormat( - SdrPowerPointImport& rMan, + SdrPowerPointImport const & rMan, SvxNumberFormat& rNumberFormat, sal_uInt32 nLevel, const PPTParaLevel& rParaLevel, @@ -825,7 +825,7 @@ public: ); bool GetNumberFormat( - SdrPowerPointImport& rMan, + SdrPowerPointImport const & rMan, SvxNumberFormat& rNumberFormat, PPTParagraphObj* pPara, TSS_Type nInstanceInSheet, @@ -1054,7 +1054,7 @@ struct PPTStyleTextPropReader void Init( SvStream& rIn, const DffRecordHeader& rClientTextBoxHd, - PPTTextRulerInterpreter& rInterpreter, + PPTTextRulerInterpreter const & rInterpreter, const DffRecordHeader& rExtParaHd, TSS_Type nTextInstance ); @@ -1062,7 +1062,7 @@ struct PPTStyleTextPropReader SvStream& rIn, const DffRecordHeader& rTextHeader, const OUString& aString, - PPTTextRulerInterpreter& rRuler, + PPTTextRulerInterpreter const & rRuler, sal_uInt32& nCharCount, bool& bTextPropAtom ); @@ -1169,7 +1169,7 @@ public: void ApplyTo( SfxItemSet& rSet, boost::optional< sal_Int16 >& rStartNumbering, - SdrPowerPointImport& rManager, + SdrPowerPointImport const & rManager, TSS_Type nInstanceInSheet ); }; |