From 95b55e75e546b016b7d8dbde9f4ac7f72636d32c Mon Sep 17 00:00:00 2001 From: Kohei Yoshida Date: Tue, 29 Jan 2013 10:59:31 -0500 Subject: Boolean cleanup in InsertCells and DeleteCells. Change-Id: I11d8ba422b280a9a06dbc9bb13c2ccaae7435afb --- sc/source/ui/inc/docfunc.hxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'sc/source/ui/inc/docfunc.hxx') diff --git a/sc/source/ui/inc/docfunc.hxx b/sc/source/ui/inc/docfunc.hxx index 7399f7d070e0..6dcdf8a8cb78 100644 --- a/sc/source/ui/inc/docfunc.hxx +++ b/sc/source/ui/inc/docfunc.hxx @@ -112,11 +112,11 @@ public: virtual sal_Bool ApplyStyle( const ScMarkData& rMark, const String& rStyleName, sal_Bool bRecord, sal_Bool bApi ); - virtual sal_Bool InsertCells( const ScRange& rRange,const ScMarkData* pTabMark, - InsCellCmd eCmd, sal_Bool bRecord, sal_Bool bApi, - sal_Bool bPartOfPaste = false ); - virtual sal_Bool DeleteCells( const ScRange& rRange, const ScMarkData* pTabMark, - DelCellCmd eCmd, sal_Bool bRecord, sal_Bool bApi ); + virtual bool InsertCells( const ScRange& rRange,const ScMarkData* pTabMark, + InsCellCmd eCmd, bool bRecord, bool bApi, bool bPartOfPaste = false ); + + virtual bool DeleteCells( const ScRange& rRange, const ScMarkData* pTabMark, + DelCellCmd eCmd, bool bRecord, bool bApi ); virtual sal_Bool MoveBlock( const ScRange& rSource, const ScAddress& rDestPos, sal_Bool bCut, sal_Bool bRecord, sal_Bool bPaint, sal_Bool bApi ); -- cgit v1.2.3