From ec8617568ff091026b2f17cce3b547b1633fa6c4 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Fri, 26 Apr 2013 20:41:07 +0300 Subject: Bin ugly (ab)use of preprocessor in headers The time when it made sense to use "clever" #ifdefs to, for performance or compiler reasons, conditionally bypass private parts of a class declaration passed a decade or longer ago. Still more of this in sw and sc. People working on those modules might want to do it too, or not. Change-Id: I1053139ca5e5e2631f7b22d99d3bada54fc337be Reviewed-on: https://gerrit.libreoffice.org/3627 Tested-by: LibreOffice gerrit bot Reviewed-by: David Tardon Tested-by: David Tardon --- include/editeng/outliner.hxx | 7 ------- 1 file changed, 7 deletions(-) (limited to 'include/editeng/outliner.hxx') diff --git a/include/editeng/outliner.hxx b/include/editeng/outliner.hxx index 925ee1a8b71e..659f6fbb3e2d 100644 --- a/include/editeng/outliner.hxx +++ b/include/editeng/outliner.hxx @@ -216,8 +216,6 @@ private: }; MouseTarget OLD_ePrevMouseTarget; -#ifdef _OUTLINER_CXX - EDITENG_DLLPRIVATE void ImplExpandOrCollaps( sal_uInt16 nStartPara, sal_uInt16 nEndPara, sal_Bool bExpand ); EDITENG_DLLPRIVATE sal_uLong ImpCheckMousePos( const Point& rPosPixel, MouseTarget& reTarget); @@ -230,8 +228,6 @@ private: EDITENG_DLLPRIVATE sal_uInt16 ImpCalcSelectedPages( sal_Bool bIncludeFirstSelected ); EDITENG_DLLPRIVATE sal_Bool ImpIsIndentingPages(); -#endif - public: OutlinerView( Outliner* pOut, Window* pWindow ); virtual ~OutlinerView(); @@ -603,8 +599,6 @@ class EDITENG_DLLPUBLIC Outliner : public SfxBroadcaster sal_uLong nDummy; -#ifdef _OUTLINER_CXX - DECL_LINK( ParaVisibleStateChangedHdl, Paragraph* ); DECL_LINK( BeginMovingParagraphsHdl, void* ); DECL_LINK( EndMovingParagraphsHdl, MoveParagraphsInfo* ); @@ -641,7 +635,6 @@ class EDITENG_DLLPUBLIC Outliner : public SfxBroadcaster sal_uInt16 ImplGetOutlinerMode() const { return nOutlinerMode & OUTLINERMODE_USERMASK; } void ImplCheckDepth( sal_Int16& rnDepth ) const; -#endif protected: void ParagraphInserted( sal_uInt16 nParagraph ); -- cgit