diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-11-04 10:10:19 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2021-11-05 10:20:29 +0100 |
commit | 54435d56051e19a408a1fcce16a3e4add185c018 (patch) | |
tree | 9112ee3aac02c8467dfc36a9302a232383f9b491 /sd | |
parent | d7f64593db4afdf2a7e77ca9147f6495e69912fd (diff) |
use more DECL_DLLPRIVATE_LINK
to avoid unnecessarily exporting symbols
Change-Id: I6855894d0166c300ced169e36861f38811baa48d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/124730
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sd')
-rw-r--r-- | sd/inc/CustomAnimationEffect.hxx | 2 | ||||
-rw-r--r-- | sd/inc/sdmod.hxx | 2 | ||||
-rw-r--r-- | sd/source/ui/inc/DrawDocShell.hxx | 4 | ||||
-rw-r--r-- | sd/source/ui/inc/DrawViewShell.hxx | 8 | ||||
-rw-r--r-- | sd/source/ui/inc/View.hxx | 10 | ||||
-rw-r--r-- | sd/source/ui/inc/ViewShell.hxx | 4 | ||||
-rw-r--r-- | sd/source/ui/inc/ViewShellImplementation.hxx | 2 | ||||
-rw-r--r-- | sd/source/ui/inc/navigatr.hxx | 14 | ||||
-rw-r--r-- | sd/source/ui/inc/sdtreelb.hxx | 14 | ||||
-rw-r--r-- | sd/source/ui/slidesorter/inc/controller/SlsClipboard.hxx | 2 |
10 files changed, 31 insertions, 31 deletions
diff --git a/sd/inc/CustomAnimationEffect.hxx b/sd/inc/CustomAnimationEffect.hxx index 67445cf0d854..e117783c90ea 100644 --- a/sd/inc/CustomAnimationEffect.hxx +++ b/sd/inc/CustomAnimationEffect.hxx @@ -413,7 +413,7 @@ private: void lockRebuilds(); void unlockRebuilds(); - DECL_LINK(onTimerHdl, Timer *, void); + DECL_DLLPRIVATE_LINK(onTimerHdl, Timer *, void); virtual void implRebuild() override; diff --git a/sd/inc/sdmod.hxx b/sd/inc/sdmod.hxx index b7c1b3ebac60..1fa0bb08d251 100644 --- a/sd/inc/sdmod.hxx +++ b/sd/inc/sdmod.hxx @@ -74,7 +74,7 @@ class SAL_DLLPUBLIC_RTTI SdModule final : public SfxModule, public SfxListener { public: SFX_DECL_INTERFACE(SD_IF_SDAPP) - DECL_LINK( CalcFieldValueHdl, EditFieldInfo*, void ); + DECL_DLLPRIVATE_LINK( CalcFieldValueHdl, EditFieldInfo*, void ); private: /// SfxInterface initializer. diff --git a/sd/source/ui/inc/DrawDocShell.hxx b/sd/source/ui/inc/DrawDocShell.hxx index 90c9fba80d62..850d4f448a03 100644 --- a/sd/source/ui/inc/DrawDocShell.hxx +++ b/sd/source/ui/inc/DrawDocShell.hxx @@ -194,10 +194,10 @@ public: */ virtual OutputDevice* GetDocumentRefDev() override; - DECL_LINK( RenameSlideHdl, AbstractSvxNameDialog&, bool ); + DECL_DLLPRIVATE_LINK( RenameSlideHdl, AbstractSvxNameDialog&, bool ); // ExecuteSpellPopup now handled by DrawDocShell - DECL_LINK( OnlineSpellCallback, SpellCallbackInfo&, void ); + DECL_DLLPRIVATE_LINK( OnlineSpellCallback, SpellCallbackInfo&, void ); void ClearUndoBuffer(); diff --git a/sd/source/ui/inc/DrawViewShell.hxx b/sd/source/ui/inc/DrawViewShell.hxx index d98164505a93..27b46a008fcb 100644 --- a/sd/source/ui/inc/DrawViewShell.hxx +++ b/sd/source/ui/inc/DrawViewShell.hxx @@ -394,10 +394,10 @@ protected: bool mbReadOnly; static bool mbPipette; - DECL_LINK( ClipboardChanged, TransferableDataHelper*, void ); - DECL_LINK( TabSplitHdl, TabBar *, void ); - DECL_LINK( NameObjectHdl, AbstractSvxObjectNameDialog&, bool ); - DECL_LINK( RenameSlideHdl, AbstractSvxNameDialog&, bool ); + DECL_DLLPRIVATE_LINK( ClipboardChanged, TransferableDataHelper*, void ); + DECL_DLLPRIVATE_LINK( TabSplitHdl, TabBar *, void ); + DECL_DLLPRIVATE_LINK( NameObjectHdl, AbstractSvxObjectNameDialog&, bool ); + DECL_DLLPRIVATE_LINK( RenameSlideHdl, AbstractSvxNameDialog&, bool ); void DeleteActualPage(); void DeleteActualLayer(); diff --git a/sd/source/ui/inc/View.hxx b/sd/source/ui/inc/View.hxx index b0ad4ca2ff87..8d211d0c3533 100644 --- a/sd/source/ui/inc/View.hxx +++ b/sd/source/ui/inc/View.hxx @@ -250,8 +250,8 @@ public: SearchContext& getSearchContext() { return maSearchContext; } protected: - DECL_LINK( OnParagraphInsertedHdl, ::Outliner::ParagraphHdlParam, void ); - DECL_LINK( OnParagraphRemovingHdl, ::Outliner::ParagraphHdlParam, void ); + DECL_DLLPRIVATE_LINK( OnParagraphInsertedHdl, ::Outliner::ParagraphHdlParam, void ); + DECL_DLLPRIVATE_LINK( OnParagraphRemovingHdl, ::Outliner::ParagraphHdlParam, void ); virtual void OnBeginPasteOrDrop( PasteOrDropInfos* pInfo ) override; virtual void OnEndPasteOrDrop( PasteOrDropInfos* pInfo ) override; @@ -271,9 +271,9 @@ protected: sal_uInt16 mnLockRedrawSmph; bool mbIsDropAllowed; - DECL_LINK( DropErrorHdl, Timer*, void ); - DECL_LINK( DropInsertFileHdl, Timer*, void ); - DECL_LINK( ExecuteNavigatorDrop, void*, void ); + DECL_DLLPRIVATE_LINK( DropErrorHdl, Timer*, void ); + DECL_DLLPRIVATE_LINK( DropInsertFileHdl, Timer*, void ); + DECL_DLLPRIVATE_LINK( ExecuteNavigatorDrop, void*, void ); void ImplClearDrawDropMarker(); diff --git a/sd/source/ui/inc/ViewShell.hxx b/sd/source/ui/inc/ViewShell.hxx index c034483a9bdb..4c84ebc13c6c 100644 --- a/sd/source/ui/inc/ViewShell.hxx +++ b/sd/source/ui/inc/ViewShell.hxx @@ -489,8 +489,8 @@ protected: void ImpSidUndo(SfxRequest& rReq); void ImpSidRedo(SfxRequest& rReq); - DECL_LINK( HScrollHdl, ScrollBar *, void ); - DECL_LINK( VScrollHdl, ScrollBar *, void ); + DECL_DLLPRIVATE_LINK( HScrollHdl, ScrollBar *, void ); + DECL_DLLPRIVATE_LINK( VScrollHdl, ScrollBar *, void ); // virtual scroll handler, here, derivative classes can add themselves here virtual void VirtHScrollHdl(ScrollBar* pHScroll); diff --git a/sd/source/ui/inc/ViewShellImplementation.hxx b/sd/source/ui/inc/ViewShellImplementation.hxx index 97e06539d6f8..b4a02c3d5419 100644 --- a/sd/source/ui/inc/ViewShellImplementation.hxx +++ b/sd/source/ui/inc/ViewShellImplementation.hxx @@ -70,7 +70,7 @@ public: when IsUICaptured() returns <TRUE/>. */ void Release(bool bForce = false); - DECL_LINK(TimeoutCallback, Timer*, void); + DECL_DLLPRIVATE_LINK(TimeoutCallback, Timer*, void); private: ::std::unique_ptr<ToolBarManager::UpdateLock, diff --git a/sd/source/ui/inc/navigatr.hxx b/sd/source/ui/inc/navigatr.hxx index e6032f8b846d..0e500eb0f5c9 100644 --- a/sd/source/ui/inc/navigatr.hxx +++ b/sd/source/ui/inc/navigatr.hxx @@ -151,13 +151,13 @@ private: static OUString GetDragTypeSdBmpId(NavigatorDragType eDT); NavDocInfo* GetDocInfo(); - DECL_LINK( SelectToolboxHdl, const OString&, void ); - DECL_LINK( DropdownClickToolBoxHdl, const OString&, void ); - DECL_LINK( ClickObjectHdl, weld::TreeView&, bool ); - DECL_LINK( SelectDocumentHdl, weld::ComboBox&, void ); - DECL_LINK( MenuSelectHdl, const OString&, void ); - DECL_LINK( ShapeFilterCallback, const OString&, void ); - DECL_LINK( KeyInputHdl, const KeyEvent&, bool ); + DECL_DLLPRIVATE_LINK( SelectToolboxHdl, const OString&, void ); + DECL_DLLPRIVATE_LINK( DropdownClickToolBoxHdl, const OString&, void ); + DECL_DLLPRIVATE_LINK( ClickObjectHdl, weld::TreeView&, bool ); + DECL_DLLPRIVATE_LINK( SelectDocumentHdl, weld::ComboBox&, void ); + DECL_DLLPRIVATE_LINK( MenuSelectHdl, const OString&, void ); + DECL_DLLPRIVATE_LINK( ShapeFilterCallback, const OString&, void ); + DECL_DLLPRIVATE_LINK( KeyInputHdl, const KeyEvent&, bool ); void SetDragImage(); diff --git a/sd/source/ui/inc/sdtreelb.hxx b/sd/source/ui/inc/sdtreelb.hxx index 1d5af3bc942a..1c7892a2fbbb 100644 --- a/sd/source/ui/inc/sdtreelb.hxx +++ b/sd/source/ui/inc/sdtreelb.hxx @@ -125,13 +125,13 @@ private: void CloseBookmarkDoc(); - DECL_LINK(RequestingChildrenHdl, const weld::TreeIter&, bool); - DECL_LINK(SelectHdl, weld::TreeView&, void); - DECL_LINK(AsyncSelectHdl, void*, void); - DECL_LINK(RowActivatedHdl, weld::TreeView&, bool); - DECL_LINK(AsyncRowActivatedHdl, void*, void); - DECL_LINK(DragBeginHdl, bool&, bool); - DECL_LINK(KeyInputHdl, const KeyEvent&, bool); + DECL_DLLPRIVATE_LINK(RequestingChildrenHdl, const weld::TreeIter&, bool); + DECL_DLLPRIVATE_LINK(SelectHdl, weld::TreeView&, void); + DECL_DLLPRIVATE_LINK(AsyncSelectHdl, void*, void); + DECL_DLLPRIVATE_LINK(RowActivatedHdl, weld::TreeView&, bool); + DECL_DLLPRIVATE_LINK(AsyncRowActivatedHdl, void*, void); + DECL_DLLPRIVATE_LINK(DragBeginHdl, bool&, bool); + DECL_DLLPRIVATE_LINK(KeyInputHdl, const KeyEvent&, bool); /** Determine whether the specified page belongs to the current show which is either the standard show or a custom show. diff --git a/sd/source/ui/slidesorter/inc/controller/SlsClipboard.hxx b/sd/source/ui/slidesorter/inc/controller/SlsClipboard.hxx index 9f5bb82be9d0..6ced17486efe 100644 --- a/sd/source/ui/slidesorter/inc/controller/SlsClipboard.hxx +++ b/sd/source/ui/slidesorter/inc/controller/SlsClipboard.hxx @@ -200,7 +200,7 @@ private: /** Asynchronous part of DragFinished. The argument is the sal_Int8 nDropAction, disguised as void*. */ - DECL_LINK(ProcessDragFinished, void*, void); + DECL_DLLPRIVATE_LINK(ProcessDragFinished, void*, void); }; } // end of namespace ::sd::slidesorter::controller |