From bcc372d15e731ab9ff660072a6dc860708e61a93 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 29 Aug 2017 11:00:31 +0200 Subject: loplugin:constparam in sc part8 Change-Id: I6cf9c5e662b20de9c9698a8c1fab56a09950c522 Reviewed-on: https://gerrit.libreoffice.org/41683 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sc/source/ui/inc/viewfunc.hxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sc/source/ui/inc/viewfunc.hxx') diff --git a/sc/source/ui/inc/viewfunc.hxx b/sc/source/ui/inc/viewfunc.hxx index 94c304de0b65..d7172038af14 100644 --- a/sc/source/ui/inc/viewfunc.hxx +++ b/sc/source/ui/inc/viewfunc.hxx @@ -128,7 +128,7 @@ public: bool PasteDataFormat( SotClipboardFormatId nFormatId, const css::uno::Reference< css::datatransfer::XTransferable >& rxTransferable, - SCCOL nPosX, SCROW nPosY, Point* pLogicPos, + SCCOL nPosX, SCROW nPosY, const Point* pLogicPos, bool bLink = false, bool bAllowDialogs = false ); bool PasteFile( const Point&, const OUString&, bool bLink ); @@ -170,7 +170,7 @@ public: const SfxStyleSheet* GetStyleSheetFromMarked(); - void SetStyleSheetToMarked( SfxStyleSheet* pStyleSheet ); + void SetStyleSheetToMarked( const SfxStyleSheet* pStyleSheet ); void RemoveStyleSheetInUse( const SfxStyleSheetBase* pStyleSheet ); void UpdateStyleSheetInUse( const SfxStyleSheetBase* pStyleSheet ); @@ -195,7 +195,7 @@ public: void SetWidthOrHeight( bool bWidth, const std::vector& rRanges, ScSizeMode eMode, - sal_uInt16 nSizeTwips, bool bRecord = true, ScMarkData* pMarkData = nullptr ); + sal_uInt16 nSizeTwips, bool bRecord = true, const ScMarkData* pMarkData = nullptr ); void SetMarkedWidthOrHeight( bool bWidth, ScSizeMode eMode, sal_uInt16 nSizeTwips ); -- cgit