From 56d3de7360434e4f15d7bd92d50888e8bc092ad6 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Tue, 20 Nov 2012 13:55:16 +0200 Subject: Bin pointless _SOLAR__PRIVATE which was always 1 anyway Change-Id: I98f35920f02d4ee71787a9968158b220af69bde6 --- basctl/source/basicide/basides1.cxx | 2 -- basctl/source/basicide/basides3.cxx | 2 -- basctl/source/basicide/basidesh.cxx | 1 - basctl/source/inc/basidesh.hxx | 2 -- cui/source/inc/dlgname.hxx | 10 ++++------ cui/source/inc/linkdlg.hxx | 2 -- cui/source/inc/macropg.hxx | 4 ---- cui/source/inc/transfrm.hxx | 4 ---- sfx2/inc/inettbc.hxx | 5 +---- sfx2/inc/sfx2/docfile.hxx | 4 ---- sfx2/inc/sfx2/macropg.hxx | 4 ++-- sfx2/inc/sfx2/viewsh.hxx | 2 -- svx/inc/svdibrow.hxx | 4 ++-- svx/source/tbxctrls/colorwindow.hxx | 2 -- svx/source/tbxctrls/tbcontrl.cxx | 4 ---- sw/source/ui/inc/docfnote.hxx | 2 -- tools/inc/tools/solar.h | 5 ----- unotools/inc/unotools/ucblockbytes.hxx | 2 -- vcl/inc/impbmp.hxx | 4 ---- vcl/inc/vcl/syswin.hxx | 2 -- vcl/inc/vcl/timer.hxx | 2 -- 21 files changed, 9 insertions(+), 60 deletions(-) diff --git a/basctl/source/basicide/basides1.cxx b/basctl/source/basicide/basides1.cxx index 42644e5762a0..85da8aef485b 100644 --- a/basctl/source/basicide/basides1.cxx +++ b/basctl/source/basicide/basides1.cxx @@ -17,8 +17,6 @@ * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ -#define _SOLAR__PRIVATE 1 - #include "basidesh.hrc" #include "helpid.hrc" diff --git a/basctl/source/basicide/basides3.cxx b/basctl/source/basicide/basides3.cxx index 5d043eacc1bf..8d0b70dbb251 100644 --- a/basctl/source/basicide/basides3.cxx +++ b/basctl/source/basicide/basides3.cxx @@ -19,8 +19,6 @@ #include -#define _SOLAR__PRIVATE 1 - #include #include #include diff --git a/basctl/source/basicide/basidesh.cxx b/basctl/source/basicide/basidesh.cxx index ed86cca52bce..812ca411decb 100644 --- a/basctl/source/basicide/basidesh.cxx +++ b/basctl/source/basicide/basidesh.cxx @@ -22,7 +22,6 @@ #include "basidesh.hxx" -#define _SOLAR__PRIVATE 1 #include #include #include diff --git a/basctl/source/inc/basidesh.hxx b/basctl/source/inc/basidesh.hxx index be34a788a866..e093680e92d4 100644 --- a/basctl/source/inc/basidesh.hxx +++ b/basctl/source/inc/basidesh.hxx @@ -95,7 +95,6 @@ private: friend class ContainerListenerImpl; ::com::sun::star::uno::Reference< ::com::sun::star::container::XContainerListener > m_xLibListener; -#if _SOLAR__PRIVATE void Init(); void InitTabBar(); void InitScrollBars(); @@ -113,7 +112,6 @@ private: DECL_LINK( TabBarHdl, TabBar* ); DECL_LINK( TabBarSplitHdl, TabBar * ); -#endif static unsigned nShellCount; diff --git a/cui/source/inc/dlgname.hxx b/cui/source/inc/dlgname.hxx index 35c065d6120d..de6405278136 100644 --- a/cui/source/inc/dlgname.hxx +++ b/cui/source/inc/dlgname.hxx @@ -39,9 +39,8 @@ private: HelpButton aBtnHelp; Link aCheckNameHdl; -#if _SOLAR__PRIVATE + DECL_LINK(ModifyHdl, void *); -#endif public: SvxNameDialog( Window* pWindow, const String& rName, const String& rDesc ); @@ -93,9 +92,8 @@ private: // callback link for name uniqueness Link aCheckNameHdl; -#if _SOLAR__PRIVATE + DECL_LINK(ModifyHdl, void *); -#endif public: // constructor @@ -156,10 +154,10 @@ private: CancelButton aBtnCancel; FixedImage aFtImage; Image* pImage; -#if _SOLAR__PRIVATE + DECL_LINK(Button1Hdl, void *); DECL_LINK(Button2Hdl, void *); -#endif + public: SvxMessDialog( Window* pWindow, const String& rText, const String& rDesc, Image* pImg = NULL ); ~SvxMessDialog(); diff --git a/cui/source/inc/linkdlg.hxx b/cui/source/inc/linkdlg.hxx index 1c75302dda52..e5d928d7c253 100644 --- a/cui/source/inc/linkdlg.hxx +++ b/cui/source/inc/linkdlg.hxx @@ -73,7 +73,6 @@ class SvBaseLinksDlg : public ModalDialog sal_Bool bHtmlMode; Timer aUpdateTimer; -#if _SOLAR__PRIVATE DECL_LINK( LinksSelectHdl, SvTabListBox * ); DECL_LINK( LinksDoubleClickHdl, SvTabListBox * ); DECL_LINK( AutomaticClickHdl, RadioButton * ); @@ -88,7 +87,6 @@ class SvBaseLinksDlg : public ModalDialog String ImplGetStateStr( const sfx2::SvBaseLink& ); void SetType( sfx2::SvBaseLink& rLink, sal_uInt16 nPos, sal_uInt16 nType ); void InsertEntry( const sfx2::SvBaseLink& rLink, sal_uInt16 nPos = LISTBOX_APPEND, sal_Bool bSelect = sal_False); -#endif void StartUpdateTimer() { aUpdateTimer.Start(); } diff --git a/cui/source/inc/macropg.hxx b/cui/source/inc/macropg.hxx index b83d825fdf9d..561e500297ac 100644 --- a/cui/source/inc/macropg.hxx +++ b/cui/source/inc/macropg.hxx @@ -56,14 +56,12 @@ class _SvxMacroTabPage_Impl; class _SvxMacroTabPage : public SfxTabPage { -#if _SOLAR__PRIVATE DECL_STATIC_LINK( _SvxMacroTabPage, SelectEvent_Impl, SvTabListBox * ); DECL_STATIC_LINK( _SvxMacroTabPage, AssignDeleteHdl_Impl, PushButton * ); DECL_STATIC_LINK( _SvxMacroTabPage, DoubleClickHdl_Impl, SvTabListBox * ); static long GenericHandler_Impl( _SvxMacroTabPage* pThis, PushButton* pBtn ); -#endif protected: _SvxMacroTabPage_Impl* mpImpl; ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameReplace > m_xAppEvents; @@ -133,9 +131,7 @@ private: const SfxItemSet* pOptions; SfxItemSet* pOutSet; -#if _SOLAR__PRIVATE DECL_DLLPRIVATE_LINK( OKHdl_Impl, Button * ); -#endif }; diff --git a/cui/source/inc/transfrm.hxx b/cui/source/inc/transfrm.hxx index 072ecae12313..c1417d67325f 100644 --- a/cui/source/inc/transfrm.hxx +++ b/cui/source/inc/transfrm.hxx @@ -134,22 +134,18 @@ private: RECT_POINT meRP; //------------------------------------ -#if _SOLAR__PRIVATE DECL_LINK( ChangePosProtectHdl, void * ); DECL_LINK( ChangeSizeProtectHdl, void * ); void SetMinMaxPosition(); void GetTopLeftPosition(double& rfX, double& rfY, const basegfx::B2DRange& rRange); -#endif -#if _SOLAR__PRIVATE DECL_LINK( ChangeWidthHdl, void * ); DECL_LINK( ChangeHeightHdl, void * ); DECL_LINK( ClickSizeProtectHdl, void * ); DECL_LINK( ClickAutoHdl, void * ); void SetMaxSize( Rectangle aRect ); -#endif public: SvxPositionSizeTabPage( Window* pParent, const SfxItemSet& rInAttrs ); diff --git a/sfx2/inc/inettbc.hxx b/sfx2/inc/inettbc.hxx index 56023e9024ba..883162223148 100644 --- a/sfx2/inc/inettbc.hxx +++ b/sfx2/inc/inettbc.hxx @@ -25,9 +25,8 @@ #include #include -#if _SOLAR__PRIVATE - #include + class SvtURLBox; class SfxURLToolBoxControl_Impl : public SfxToolBoxControl @@ -63,6 +62,4 @@ public: #endif -#endif - /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sfx2/inc/sfx2/docfile.hxx b/sfx2/inc/sfx2/docfile.hxx index 5ba00f65e830..9b347e0475e6 100644 --- a/sfx2/inc/sfx2/docfile.hxx +++ b/sfx2/inc/sfx2/docfile.hxx @@ -69,7 +69,6 @@ class SFX2_DLLPUBLIC SfxMedium : public SvRefBase { SfxMedium_Impl* pImp; -#if _SOLAR__PRIVATE SAL_DLLPRIVATE void SetIsRemote_Impl(); SAL_DLLPRIVATE void CloseInStream_Impl(); SAL_DLLPRIVATE sal_Bool CloseOutStream_Impl(); @@ -77,7 +76,6 @@ class SFX2_DLLPUBLIC SfxMedium : public SvRefBase DECL_DLLPRIVATE_STATIC_LINK( SfxMedium, UCBHdl_Impl, sal_uInt32 * ); SAL_DLLPRIVATE void SetEncryptionDataToStorage_Impl(); -#endif public: @@ -197,7 +195,6 @@ public: void SetInCheckIn( bool bInCheckIn ); bool IsInCheckIn( ); -#if _SOLAR__PRIVATE SAL_DLLPRIVATE sal_Bool HasStorage_Impl() const; SAL_DLLPRIVATE void StorageBackup_Impl(); @@ -266,7 +263,6 @@ public: // in this case the methods will be used generally, and might need to be renamed SAL_DLLPRIVATE sal_uInt16 GetCachedSignatureState_Impl(); SAL_DLLPRIVATE void SetCachedSignatureState_Impl( sal_uInt16 nState ); -#endif static com::sun::star::uno::Sequence < com::sun::star::util::RevisionTag > GetVersionList( const ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage >& xStorage ); diff --git a/sfx2/inc/sfx2/macropg.hxx b/sfx2/inc/sfx2/macropg.hxx index 6bb9983b26a8..2b3bdbede9d0 100644 --- a/sfx2/inc/sfx2/macropg.hxx +++ b/sfx2/inc/sfx2/macropg.hxx @@ -43,7 +43,7 @@ class _SfxMacroTabPage_Impl; class SFX2_DLLPUBLIC _SfxMacroTabPage : public SfxTabPage { SvxMacroTableDtor aTbl; -//#if 0 // _SOLAR__PRIVATE + DECL_DLLPRIVATE_STATIC_LINK( _SfxMacroTabPage, SelectEvent_Impl, SvTabListBox * ); DECL_DLLPRIVATE_STATIC_LINK( _SfxMacroTabPage, SelectGroup_Impl, ListBox * ); DECL_DLLPRIVATE_STATIC_LINK( _SfxMacroTabPage, SelectMacro_Impl, ListBox * ); @@ -54,7 +54,7 @@ class SFX2_DLLPUBLIC _SfxMacroTabPage : public SfxTabPage DECL_DLLPRIVATE_STATIC_LINK( _SfxMacroTabPage, ChangeScriptHdl_Impl, RadioButton * ); DECL_DLLPRIVATE_STATIC_LINK( _SfxMacroTabPage, GetFocus_Impl, Edit* ); DECL_DLLPRIVATE_STATIC_LINK( _SfxMacroTabPage, TimeOut_Impl, Timer* ); -//#endif + protected: _SfxMacroTabPage_Impl* mpImpl; diff --git a/sfx2/inc/sfx2/viewsh.hxx b/sfx2/inc/sfx2/viewsh.hxx index 3c9387c4149d..da8bd20776df 100644 --- a/sfx2/inc/sfx2/viewsh.hxx +++ b/sfx2/inc/sfx2/viewsh.hxx @@ -262,7 +262,6 @@ public: void AddRemoveClipboardListener( const com::sun::star::uno::Reference < com::sun::star::datatransfer::clipboard::XClipboardListener>&, sal_Bool ); ::com::sun::star::uno::Reference< ::com::sun::star::datatransfer::clipboard::XClipboardNotifier > GetClipboardNotifier(); -#if _SOLAR__PRIVATE SAL_DLLPRIVATE SfxInPlaceClient* GetUIActiveIPClient_Impl() const; SAL_DLLPRIVATE void AddContextMenuInterceptor_Impl( const ::com::sun::star::uno::Reference < ::com::sun::star::ui::XContextMenuInterceptor >& xInterceptor ); SAL_DLLPRIVATE void RemoveContextMenuInterceptor_Impl( const ::com::sun::star::uno::Reference < ::com::sun::star::ui::XContextMenuInterceptor >& xInterceptor ); @@ -296,7 +295,6 @@ public: SAL_DLLPRIVATE void TakeOwnerShip_Impl(); SAL_DLLPRIVATE void TakeFrameOwnerShip_Impl(); SAL_DLLPRIVATE sal_Bool ExecKey_Impl(const KeyEvent& aKey); -#endif }; //======================================================================== diff --git a/svx/inc/svdibrow.hxx b/svx/inc/svdibrow.hxx index 8a8e8686d671..cdb82b66e958 100644 --- a/svx/inc/svdibrow.hxx +++ b/svx/inc/svdibrow.hxx @@ -56,14 +56,14 @@ friend class ImpItemEdit; bool bDontSortItems; bool bShowWhichIds; bool bShowRealValues; + private: -#if _SOLAR__PRIVATE void ImpCtor(); void ImpSetEntry(const ImpItemListRow& rEntry, sal_uIntPtr nEntryNum); ImpItemListRow* ImpGetEntry(sal_uIntPtr nPos) const { return aList[nPos]; } void ImpSaveWhich(); void ImpRestoreWhich(); -#endif // __PRIVATE + protected: virtual long GetRowCount() const; virtual sal_Bool SeekRow(long nRow); diff --git a/svx/source/tbxctrls/colorwindow.hxx b/svx/source/tbxctrls/colorwindow.hxx index 1b033ab36d8c..5de812f2becd 100644 --- a/svx/source/tbxctrls/colorwindow.hxx +++ b/svx/source/tbxctrls/colorwindow.hxx @@ -25,9 +25,7 @@ private: rtl::OUString maCommand; const Color mLastColor; -#if _SOLAR__PRIVATE DECL_LINK( SelectHdl, void * ); -#endif protected: virtual void Resize(); diff --git a/svx/source/tbxctrls/tbcontrl.cxx b/svx/source/tbxctrls/tbcontrl.cxx index 063cb02fe2fc..7639bfe82887 100644 --- a/svx/source/tbxctrls/tbcontrl.cxx +++ b/svx/source/tbxctrls/tbcontrl.cxx @@ -247,9 +247,7 @@ private: ImageList aImgList; sal_Bool bParagraphMode; -#if _SOLAR__PRIVATE DECL_LINK( SelectHdl, void * ); -#endif protected: virtual void Resize(); @@ -277,9 +275,7 @@ private: LineListBox m_aLineStyleLb; bool m_bIsWriter; -#if _SOLAR__PRIVATE DECL_LINK( SelectHdl, void * ); -#endif protected: virtual void Resize(); diff --git a/sw/source/ui/inc/docfnote.hxx b/sw/source/ui/inc/docfnote.hxx index 2f2c59e33f39..2ccd6fd90ea2 100644 --- a/sw/source/ui/inc/docfnote.hxx +++ b/sw/source/ui/inc/docfnote.hxx @@ -30,9 +30,7 @@ class SwFootNoteOptionDlg :public SfxTabDialog virtual void PageCreated( sal_uInt16 nId, SfxTabPage &rPage ); -#ifdef _SOLAR__PRIVATE DECL_LINK( OkHdl, Button * ); -#endif public: SwFootNoteOptionDlg(Window *pParent, SwWrtShell &rSh ); diff --git a/tools/inc/tools/solar.h b/tools/inc/tools/solar.h index 7c43173b9104..0812f3faf630 100644 --- a/tools/inc/tools/solar.h +++ b/tools/inc/tools/solar.h @@ -24,11 +24,6 @@ #include #include -#ifdef _SOLAR__PRIVATE -#undef _SOLAR__PRIVATE -#endif -#define _SOLAR__PRIVATE 1 - /** Intermediate type to solve type clash with Windows headers. Should be removed as soon as all code parts have been reviewed and the correct type is known. Most of the times ULONG is meant diff --git a/unotools/inc/unotools/ucblockbytes.hxx b/unotools/inc/unotools/ucblockbytes.hxx index 6e264fc453af..cf5d98b93583 100644 --- a/unotools/inc/unotools/ucblockbytes.hxx +++ b/unotools/inc/unotools/ucblockbytes.hxx @@ -151,7 +151,6 @@ public: // calling this method delegates the responsibility to call closeinput to the caller! ::com::sun::star::uno::Reference < ::com::sun::star::io::XInputStream > getInputStream(); -#if _SOLAR__PRIVATE sal_Bool setInputStream_Impl( const ::com::sun::star::uno::Reference < ::com::sun::star::io::XInputStream > &rxInputStream, sal_Bool bSetXSeekable = sal_True ); sal_Bool setStream_Impl( const ::com::sun::star::uno::Reference < ::com::sun::star::io::XStream > &rxStream ); @@ -188,7 +187,6 @@ public: void SetRealURL_Impl( const String& rURL ) { m_aRealURL = rURL; } void SetExpireDate_Impl( const DateTime& rDateTime ) { m_aExpireDate = rDateTime; } void SetStreamValid_Impl(); -#endif }; SV_IMPL_REF( UcbLockBytes ); diff --git a/vcl/inc/impbmp.hxx b/vcl/inc/impbmp.hxx index 00dbb60cc19d..e5b7855274cf 100644 --- a/vcl/inc/impbmp.hxx +++ b/vcl/inc/impbmp.hxx @@ -50,8 +50,6 @@ public: ImpBitmap(); ~ImpBitmap(); -#if _SOLAR__PRIVATE - public: void ImplSetSalBitmap( SalBitmap* pSalBitmap ); @@ -80,8 +78,6 @@ public: inline void ImplSetChecksum( sal_uLong nChecksum ) { mnChecksum = nChecksum; } inline sal_uLong ImplGetChecksum() const { return mnChecksum; } - -#endif // PRIVATE }; inline Size ImpBitmap::ImplGetSourceSize() const diff --git a/vcl/inc/vcl/syswin.hxx b/vcl/inc/vcl/syswin.hxx index ecf84f8c6a1c..ee895477348a 100644 --- a/vcl/inc/vcl/syswin.hxx +++ b/vcl/inc/vcl/syswin.hxx @@ -152,11 +152,9 @@ private: sal_uInt16 mnIcon; ImplData* mpImplData; -#if _SOLAR__PRIVATE public: using Window::ImplIsInTaskPaneList; SAL_DLLPRIVATE sal_Bool ImplIsInTaskPaneList( Window* pWin ); -#endif private: // Default construction is forbidden and not implemented. diff --git a/vcl/inc/vcl/timer.hxx b/vcl/inc/vcl/timer.hxx index 33d1840f70ff..606367277a27 100644 --- a/vcl/inc/vcl/timer.hxx +++ b/vcl/inc/vcl/timer.hxx @@ -59,10 +59,8 @@ public: Timer& operator=( const Timer& rTimer ); -// #ifdef _SOLAR__PRIVATE static void ImplDeInitTimer(); static void ImplTimerCallbackProc(); -// #endif }; // ------------- -- cgit