Bin pointless _SOLAR__PRIVATE which was always 1 anyway

Change-Id: I98f35920f02d4ee71787a9968158b220af69bde6
This commit is contained in:
Tor Lillqvist
2012-11-20 13:55:16 +02:00
parent a0adefdc49
commit 56d3de7360
21 changed files with 9 additions and 60 deletions

View File

@@ -17,8 +17,6 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 . * the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/ */
#define _SOLAR__PRIVATE 1
#include "basidesh.hrc" #include "basidesh.hrc"
#include "helpid.hrc" #include "helpid.hrc"

View File

@@ -19,8 +19,6 @@
#include <basidesh.hrc> #include <basidesh.hrc>
#define _SOLAR__PRIVATE 1
#include <basidesh.hxx> #include <basidesh.hxx>
#include <baside2.hxx> #include <baside2.hxx>
#include <baside3.hxx> #include <baside3.hxx>

View File

@@ -22,7 +22,6 @@
#include "basidesh.hxx" #include "basidesh.hxx"
#define _SOLAR__PRIVATE 1
#include <tools/diagnose_ex.h> #include <tools/diagnose_ex.h>
#include <basic/basmgr.hxx> #include <basic/basmgr.hxx>
#include <basidesh.hrc> #include <basidesh.hrc>

View File

@@ -95,7 +95,6 @@ private:
friend class ContainerListenerImpl; friend class ContainerListenerImpl;
::com::sun::star::uno::Reference< ::com::sun::star::container::XContainerListener > m_xLibListener; ::com::sun::star::uno::Reference< ::com::sun::star::container::XContainerListener > m_xLibListener;
#if _SOLAR__PRIVATE
void Init(); void Init();
void InitTabBar(); void InitTabBar();
void InitScrollBars(); void InitScrollBars();
@@ -113,7 +112,6 @@ private:
DECL_LINK( TabBarHdl, TabBar* ); DECL_LINK( TabBarHdl, TabBar* );
DECL_LINK( TabBarSplitHdl, TabBar * ); DECL_LINK( TabBarSplitHdl, TabBar * );
#endif
static unsigned nShellCount; static unsigned nShellCount;

View File

@@ -39,9 +39,8 @@ private:
HelpButton aBtnHelp; HelpButton aBtnHelp;
Link aCheckNameHdl; Link aCheckNameHdl;
#if _SOLAR__PRIVATE
DECL_LINK(ModifyHdl, void *); DECL_LINK(ModifyHdl, void *);
#endif
public: public:
SvxNameDialog( Window* pWindow, const String& rName, const String& rDesc ); SvxNameDialog( Window* pWindow, const String& rName, const String& rDesc );
@@ -93,9 +92,8 @@ private:
// callback link for name uniqueness // callback link for name uniqueness
Link aCheckNameHdl; Link aCheckNameHdl;
#if _SOLAR__PRIVATE
DECL_LINK(ModifyHdl, void *); DECL_LINK(ModifyHdl, void *);
#endif
public: public:
// constructor // constructor
@@ -156,10 +154,10 @@ private:
CancelButton aBtnCancel; CancelButton aBtnCancel;
FixedImage aFtImage; FixedImage aFtImage;
Image* pImage; Image* pImage;
#if _SOLAR__PRIVATE
DECL_LINK(Button1Hdl, void *); DECL_LINK(Button1Hdl, void *);
DECL_LINK(Button2Hdl, void *); DECL_LINK(Button2Hdl, void *);
#endif
public: public:
SvxMessDialog( Window* pWindow, const String& rText, const String& rDesc, Image* pImg = NULL ); SvxMessDialog( Window* pWindow, const String& rText, const String& rDesc, Image* pImg = NULL );
~SvxMessDialog(); ~SvxMessDialog();

View File

@@ -73,7 +73,6 @@ class SvBaseLinksDlg : public ModalDialog
sal_Bool bHtmlMode; sal_Bool bHtmlMode;
Timer aUpdateTimer; Timer aUpdateTimer;
#if _SOLAR__PRIVATE
DECL_LINK( LinksSelectHdl, SvTabListBox * ); DECL_LINK( LinksSelectHdl, SvTabListBox * );
DECL_LINK( LinksDoubleClickHdl, SvTabListBox * ); DECL_LINK( LinksDoubleClickHdl, SvTabListBox * );
DECL_LINK( AutomaticClickHdl, RadioButton * ); DECL_LINK( AutomaticClickHdl, RadioButton * );
@@ -88,7 +87,6 @@ class SvBaseLinksDlg : public ModalDialog
String ImplGetStateStr( const sfx2::SvBaseLink& ); String ImplGetStateStr( const sfx2::SvBaseLink& );
void SetType( sfx2::SvBaseLink& rLink, sal_uInt16 nPos, sal_uInt16 nType ); 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); void InsertEntry( const sfx2::SvBaseLink& rLink, sal_uInt16 nPos = LISTBOX_APPEND, sal_Bool bSelect = sal_False);
#endif
void StartUpdateTimer() { aUpdateTimer.Start(); } void StartUpdateTimer() { aUpdateTimer.Start(); }

View File

@@ -56,14 +56,12 @@ class _SvxMacroTabPage_Impl;
class _SvxMacroTabPage : public SfxTabPage class _SvxMacroTabPage : public SfxTabPage
{ {
#if _SOLAR__PRIVATE
DECL_STATIC_LINK( _SvxMacroTabPage, SelectEvent_Impl, SvTabListBox * ); DECL_STATIC_LINK( _SvxMacroTabPage, SelectEvent_Impl, SvTabListBox * );
DECL_STATIC_LINK( _SvxMacroTabPage, AssignDeleteHdl_Impl, PushButton * ); DECL_STATIC_LINK( _SvxMacroTabPage, AssignDeleteHdl_Impl, PushButton * );
DECL_STATIC_LINK( _SvxMacroTabPage, DoubleClickHdl_Impl, SvTabListBox * ); DECL_STATIC_LINK( _SvxMacroTabPage, DoubleClickHdl_Impl, SvTabListBox * );
static long GenericHandler_Impl( _SvxMacroTabPage* pThis, PushButton* pBtn ); static long GenericHandler_Impl( _SvxMacroTabPage* pThis, PushButton* pBtn );
#endif
protected: protected:
_SvxMacroTabPage_Impl* mpImpl; _SvxMacroTabPage_Impl* mpImpl;
::com::sun::star::uno::Reference< ::com::sun::star::container::XNameReplace > m_xAppEvents; ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameReplace > m_xAppEvents;
@@ -133,9 +131,7 @@ private:
const SfxItemSet* pOptions; const SfxItemSet* pOptions;
SfxItemSet* pOutSet; SfxItemSet* pOutSet;
#if _SOLAR__PRIVATE
DECL_DLLPRIVATE_LINK( OKHdl_Impl, Button * ); DECL_DLLPRIVATE_LINK( OKHdl_Impl, Button * );
#endif
}; };

View File

@@ -134,22 +134,18 @@ private:
RECT_POINT meRP; RECT_POINT meRP;
//------------------------------------ //------------------------------------
#if _SOLAR__PRIVATE
DECL_LINK( ChangePosProtectHdl, void * ); DECL_LINK( ChangePosProtectHdl, void * );
DECL_LINK( ChangeSizeProtectHdl, void * ); DECL_LINK( ChangeSizeProtectHdl, void * );
void SetMinMaxPosition(); void SetMinMaxPosition();
void GetTopLeftPosition(double& rfX, double& rfY, const basegfx::B2DRange& rRange); void GetTopLeftPosition(double& rfX, double& rfY, const basegfx::B2DRange& rRange);
#endif
#if _SOLAR__PRIVATE
DECL_LINK( ChangeWidthHdl, void * ); DECL_LINK( ChangeWidthHdl, void * );
DECL_LINK( ChangeHeightHdl, void * ); DECL_LINK( ChangeHeightHdl, void * );
DECL_LINK( ClickSizeProtectHdl, void * ); DECL_LINK( ClickSizeProtectHdl, void * );
DECL_LINK( ClickAutoHdl, void * ); DECL_LINK( ClickAutoHdl, void * );
void SetMaxSize( Rectangle aRect ); void SetMaxSize( Rectangle aRect );
#endif
public: public:
SvxPositionSizeTabPage( Window* pParent, const SfxItemSet& rInAttrs ); SvxPositionSizeTabPage( Window* pParent, const SfxItemSet& rInAttrs );

View File

@@ -25,9 +25,8 @@
#include <vcl/combobox.hxx> #include <vcl/combobox.hxx>
#include <svtools/acceleratorexecute.hxx> #include <svtools/acceleratorexecute.hxx>
#if _SOLAR__PRIVATE
#include <sfx2/tbxctrl.hxx> #include <sfx2/tbxctrl.hxx>
class SvtURLBox; class SvtURLBox;
class SfxURLToolBoxControl_Impl : public SfxToolBoxControl class SfxURLToolBoxControl_Impl : public SfxToolBoxControl
@@ -63,6 +62,4 @@ public:
#endif #endif
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

View File

@@ -69,7 +69,6 @@ class SFX2_DLLPUBLIC SfxMedium : public SvRefBase
{ {
SfxMedium_Impl* pImp; SfxMedium_Impl* pImp;
#if _SOLAR__PRIVATE
SAL_DLLPRIVATE void SetIsRemote_Impl(); SAL_DLLPRIVATE void SetIsRemote_Impl();
SAL_DLLPRIVATE void CloseInStream_Impl(); SAL_DLLPRIVATE void CloseInStream_Impl();
SAL_DLLPRIVATE sal_Bool CloseOutStream_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 * ); DECL_DLLPRIVATE_STATIC_LINK( SfxMedium, UCBHdl_Impl, sal_uInt32 * );
SAL_DLLPRIVATE void SetEncryptionDataToStorage_Impl(); SAL_DLLPRIVATE void SetEncryptionDataToStorage_Impl();
#endif
public: public:
@@ -197,7 +195,6 @@ public:
void SetInCheckIn( bool bInCheckIn ); void SetInCheckIn( bool bInCheckIn );
bool IsInCheckIn( ); bool IsInCheckIn( );
#if _SOLAR__PRIVATE
SAL_DLLPRIVATE sal_Bool HasStorage_Impl() const; SAL_DLLPRIVATE sal_Bool HasStorage_Impl() const;
SAL_DLLPRIVATE void StorageBackup_Impl(); 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 // in this case the methods will be used generally, and might need to be renamed
SAL_DLLPRIVATE sal_uInt16 GetCachedSignatureState_Impl(); SAL_DLLPRIVATE sal_uInt16 GetCachedSignatureState_Impl();
SAL_DLLPRIVATE void SetCachedSignatureState_Impl( sal_uInt16 nState ); SAL_DLLPRIVATE void SetCachedSignatureState_Impl( sal_uInt16 nState );
#endif
static com::sun::star::uno::Sequence < com::sun::star::util::RevisionTag > GetVersionList( static com::sun::star::uno::Sequence < com::sun::star::util::RevisionTag > GetVersionList(
const ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage >& xStorage ); const ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage >& xStorage );

View File

@@ -43,7 +43,7 @@ class _SfxMacroTabPage_Impl;
class SFX2_DLLPUBLIC _SfxMacroTabPage : public SfxTabPage class SFX2_DLLPUBLIC _SfxMacroTabPage : public SfxTabPage
{ {
SvxMacroTableDtor aTbl; SvxMacroTableDtor aTbl;
//#if 0 // _SOLAR__PRIVATE
DECL_DLLPRIVATE_STATIC_LINK( _SfxMacroTabPage, SelectEvent_Impl, SvTabListBox * ); DECL_DLLPRIVATE_STATIC_LINK( _SfxMacroTabPage, SelectEvent_Impl, SvTabListBox * );
DECL_DLLPRIVATE_STATIC_LINK( _SfxMacroTabPage, SelectGroup_Impl, ListBox * ); DECL_DLLPRIVATE_STATIC_LINK( _SfxMacroTabPage, SelectGroup_Impl, ListBox * );
DECL_DLLPRIVATE_STATIC_LINK( _SfxMacroTabPage, SelectMacro_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, ChangeScriptHdl_Impl, RadioButton * );
DECL_DLLPRIVATE_STATIC_LINK( _SfxMacroTabPage, GetFocus_Impl, Edit* ); DECL_DLLPRIVATE_STATIC_LINK( _SfxMacroTabPage, GetFocus_Impl, Edit* );
DECL_DLLPRIVATE_STATIC_LINK( _SfxMacroTabPage, TimeOut_Impl, Timer* ); DECL_DLLPRIVATE_STATIC_LINK( _SfxMacroTabPage, TimeOut_Impl, Timer* );
//#endif
protected: protected:
_SfxMacroTabPage_Impl* mpImpl; _SfxMacroTabPage_Impl* mpImpl;

View File

@@ -262,7 +262,6 @@ public:
void AddRemoveClipboardListener( const com::sun::star::uno::Reference < com::sun::star::datatransfer::clipboard::XClipboardListener>&, sal_Bool ); 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(); ::com::sun::star::uno::Reference< ::com::sun::star::datatransfer::clipboard::XClipboardNotifier > GetClipboardNotifier();
#if _SOLAR__PRIVATE
SAL_DLLPRIVATE SfxInPlaceClient* GetUIActiveIPClient_Impl() const; 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 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 ); 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 TakeOwnerShip_Impl();
SAL_DLLPRIVATE void TakeFrameOwnerShip_Impl(); SAL_DLLPRIVATE void TakeFrameOwnerShip_Impl();
SAL_DLLPRIVATE sal_Bool ExecKey_Impl(const KeyEvent& aKey); SAL_DLLPRIVATE sal_Bool ExecKey_Impl(const KeyEvent& aKey);
#endif
}; };
//======================================================================== //========================================================================

View File

@@ -56,14 +56,14 @@ friend class ImpItemEdit;
bool bDontSortItems; bool bDontSortItems;
bool bShowWhichIds; bool bShowWhichIds;
bool bShowRealValues; bool bShowRealValues;
private: private:
#if _SOLAR__PRIVATE
void ImpCtor(); void ImpCtor();
void ImpSetEntry(const ImpItemListRow& rEntry, sal_uIntPtr nEntryNum); void ImpSetEntry(const ImpItemListRow& rEntry, sal_uIntPtr nEntryNum);
ImpItemListRow* ImpGetEntry(sal_uIntPtr nPos) const { return aList[nPos]; } ImpItemListRow* ImpGetEntry(sal_uIntPtr nPos) const { return aList[nPos]; }
void ImpSaveWhich(); void ImpSaveWhich();
void ImpRestoreWhich(); void ImpRestoreWhich();
#endif // __PRIVATE
protected: protected:
virtual long GetRowCount() const; virtual long GetRowCount() const;
virtual sal_Bool SeekRow(long nRow); virtual sal_Bool SeekRow(long nRow);

View File

@@ -25,9 +25,7 @@ private:
rtl::OUString maCommand; rtl::OUString maCommand;
const Color mLastColor; const Color mLastColor;
#if _SOLAR__PRIVATE
DECL_LINK( SelectHdl, void * ); DECL_LINK( SelectHdl, void * );
#endif
protected: protected:
virtual void Resize(); virtual void Resize();

View File

@@ -247,9 +247,7 @@ private:
ImageList aImgList; ImageList aImgList;
sal_Bool bParagraphMode; sal_Bool bParagraphMode;
#if _SOLAR__PRIVATE
DECL_LINK( SelectHdl, void * ); DECL_LINK( SelectHdl, void * );
#endif
protected: protected:
virtual void Resize(); virtual void Resize();
@@ -277,9 +275,7 @@ private:
LineListBox m_aLineStyleLb; LineListBox m_aLineStyleLb;
bool m_bIsWriter; bool m_bIsWriter;
#if _SOLAR__PRIVATE
DECL_LINK( SelectHdl, void * ); DECL_LINK( SelectHdl, void * );
#endif
protected: protected:
virtual void Resize(); virtual void Resize();

View File

@@ -30,9 +30,7 @@ class SwFootNoteOptionDlg :public SfxTabDialog
virtual void PageCreated( sal_uInt16 nId, SfxTabPage &rPage ); virtual void PageCreated( sal_uInt16 nId, SfxTabPage &rPage );
#ifdef _SOLAR__PRIVATE
DECL_LINK( OkHdl, Button * ); DECL_LINK( OkHdl, Button * );
#endif
public: public:
SwFootNoteOptionDlg(Window *pParent, SwWrtShell &rSh ); SwFootNoteOptionDlg(Window *pParent, SwWrtShell &rSh );

View File

@@ -24,11 +24,6 @@
#include <osl/endian.h> #include <osl/endian.h>
#include <comphelper/fileformat.h> #include <comphelper/fileformat.h>
#ifdef _SOLAR__PRIVATE
#undef _SOLAR__PRIVATE
#endif
#define _SOLAR__PRIVATE 1
/** Intermediate type to solve type clash with Windows headers. /** Intermediate type to solve type clash with Windows headers.
Should be removed as soon as all code parts have been reviewed 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 and the correct type is known. Most of the times ULONG is meant

View File

@@ -151,7 +151,6 @@ public:
// calling this method delegates the responsibility to call closeinput to the caller! // calling this method delegates the responsibility to call closeinput to the caller!
::com::sun::star::uno::Reference < ::com::sun::star::io::XInputStream > getInputStream(); ::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 setInputStream_Impl( const ::com::sun::star::uno::Reference < ::com::sun::star::io::XInputStream > &rxInputStream,
sal_Bool bSetXSeekable = sal_True ); sal_Bool bSetXSeekable = sal_True );
sal_Bool setStream_Impl( const ::com::sun::star::uno::Reference < ::com::sun::star::io::XStream > &rxStream ); 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 SetRealURL_Impl( const String& rURL ) { m_aRealURL = rURL; }
void SetExpireDate_Impl( const DateTime& rDateTime ) { m_aExpireDate = rDateTime; } void SetExpireDate_Impl( const DateTime& rDateTime ) { m_aExpireDate = rDateTime; }
void SetStreamValid_Impl(); void SetStreamValid_Impl();
#endif
}; };
SV_IMPL_REF( UcbLockBytes ); SV_IMPL_REF( UcbLockBytes );

View File

@@ -50,8 +50,6 @@ public:
ImpBitmap(); ImpBitmap();
~ImpBitmap(); ~ImpBitmap();
#if _SOLAR__PRIVATE
public: public:
void ImplSetSalBitmap( SalBitmap* pSalBitmap ); void ImplSetSalBitmap( SalBitmap* pSalBitmap );
@@ -80,8 +78,6 @@ public:
inline void ImplSetChecksum( sal_uLong nChecksum ) { mnChecksum = nChecksum; } inline void ImplSetChecksum( sal_uLong nChecksum ) { mnChecksum = nChecksum; }
inline sal_uLong ImplGetChecksum() const { return mnChecksum; } inline sal_uLong ImplGetChecksum() const { return mnChecksum; }
#endif // PRIVATE
}; };
inline Size ImpBitmap::ImplGetSourceSize() const inline Size ImpBitmap::ImplGetSourceSize() const

View File

@@ -152,11 +152,9 @@ private:
sal_uInt16 mnIcon; sal_uInt16 mnIcon;
ImplData* mpImplData; ImplData* mpImplData;
#if _SOLAR__PRIVATE
public: public:
using Window::ImplIsInTaskPaneList; using Window::ImplIsInTaskPaneList;
SAL_DLLPRIVATE sal_Bool ImplIsInTaskPaneList( Window* pWin ); SAL_DLLPRIVATE sal_Bool ImplIsInTaskPaneList( Window* pWin );
#endif
private: private:
// Default construction is forbidden and not implemented. // Default construction is forbidden and not implemented.

View File

@@ -59,10 +59,8 @@ public:
Timer& operator=( const Timer& rTimer ); Timer& operator=( const Timer& rTimer );
// #ifdef _SOLAR__PRIVATE
static void ImplDeInitTimer(); static void ImplDeInitTimer();
static void ImplTimerCallbackProc(); static void ImplTimerCallbackProc();
// #endif
}; };
// ------------- // -------------