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 /sc/source/ui | |
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 'sc/source/ui')
-rw-r--r-- | sc/source/ui/inc/docsh.hxx | 6 | ||||
-rw-r--r-- | sc/source/ui/inc/gridwin.hxx | 6 | ||||
-rw-r--r-- | sc/source/ui/inc/namemgrtable.hxx | 4 | ||||
-rw-r--r-- | sc/source/ui/inc/prevwsh.hxx | 4 | ||||
-rw-r--r-- | sc/source/ui/inc/tabvwsh.hxx | 12 |
5 files changed, 16 insertions, 16 deletions
diff --git a/sc/source/ui/inc/docsh.hxx b/sc/source/ui/inc/docsh.hxx index 635db201ac97..20f326a9c4f7 100644 --- a/sc/source/ui/inc/docsh.hxx +++ b/sc/source/ui/inc/docsh.hxx @@ -342,8 +342,8 @@ public: void LockDocument(); void UnlockDocument(); - DECL_LINK( DialogClosedHdl, sfx2::FileDialogHelper*, void ); - DECL_LINK( ReloadAllLinksHdl, weld::Button&, void ); + DECL_DLLPRIVATE_LINK( DialogClosedHdl, sfx2::FileDialogHelper*, void ); + DECL_DLLPRIVATE_LINK( ReloadAllLinksHdl, weld::Button&, void ); virtual SfxStyleSheetBasePool* GetStyleSheetPool() override; @@ -405,7 +405,7 @@ public: static bool HasAutomaticTableName( std::u16string_view rFilter ); static void LOKCommentNotify(LOKCommentNotificationType nType, const ScDocument* pDocument, const ScAddress& rPos, const ScPostIt* pNote); - DECL_LINK( RefreshDBDataHdl, Timer*, void ); + DECL_DLLPRIVATE_LINK( RefreshDBDataHdl, Timer*, void ); void BeforeXMLLoading(); void AfterXMLLoading(bool bRet); diff --git a/sc/source/ui/inc/gridwin.hxx b/sc/source/ui/inc/gridwin.hxx index 3af70e4f6448..0bf9fb7ce006 100644 --- a/sc/source/ui/inc/gridwin.hxx +++ b/sc/source/ui/inc/gridwin.hxx @@ -214,8 +214,8 @@ class SAL_DLLPUBLIC_RTTI ScGridWindow : public vcl::Window, public DropTargetHel bool bListValButton:1; bool bInitialPageBreaks:1; - DECL_LINK( PopupModeEndHdl, weld::Popover&, void ); - DECL_LINK( PopupSpellingHdl, SpellCallbackInfo&, void ); + DECL_DLLPRIVATE_LINK( PopupModeEndHdl, weld::Popover&, void ); + DECL_DLLPRIVATE_LINK( PopupSpellingHdl, SpellCallbackInfo&, void ); bool TestMouse( const MouseEvent& rMEvt, bool bAction ); @@ -313,7 +313,7 @@ class SAL_DLLPUBLIC_RTTI ScGridWindow : public vcl::Window, public DropTargetHel const Fraction aScaleX, const Fraction aScaleY); void SetupInitialPageBreaks(const ScDocument& rDoc, SCTAB nTab); - DECL_LINK(InitiatePageBreaksTimer, Timer*, void); + DECL_DLLPRIVATE_LINK(InitiatePageBreaksTimer, Timer*, void); protected: virtual void PrePaint(vcl::RenderContext& rRenderContext) override; diff --git a/sc/source/ui/inc/namemgrtable.hxx b/sc/source/ui/inc/namemgrtable.hxx index 684d7f2839de..da5b93dfb679 100644 --- a/sc/source/ui/inc/namemgrtable.hxx +++ b/sc/source/ui/inc/namemgrtable.hxx @@ -50,8 +50,8 @@ private: void Init(); const ScRangeData* findRangeData(const ScRangeNameLine& rLine); - DECL_LINK(SizeAllocHdl, const Size&, void); - DECL_LINK(VisRowsScrolledHdl, weld::TreeView&, void); + DECL_DLLPRIVATE_LINK(SizeAllocHdl, const Size&, void); + DECL_DLLPRIVATE_LINK(VisRowsScrolledHdl, weld::TreeView&, void); public: ScRangeManagerTable(std::unique_ptr<weld::TreeView>, diff --git a/sc/source/ui/inc/prevwsh.hxx b/sc/source/ui/inc/prevwsh.hxx index 14d8dc789274..5f306cb1ce77 100644 --- a/sc/source/ui/inc/prevwsh.hxx +++ b/sc/source/ui/inc/prevwsh.hxx @@ -54,8 +54,8 @@ class SC_DLLPUBLIC ScPreviewShell final : public SfxViewShell bool GetPageSize( Size& aPageSize ); private: void Construct( vcl::Window* pParent ); - DECL_LINK( ScrollHandler, ScrollBar*, void ); - DECL_LINK( CloseHdl, SystemWindow&, void); + DECL_DLLPRIVATE_LINK( ScrollHandler, ScrollBar*, void ); + DECL_DLLPRIVATE_LINK( CloseHdl, SystemWindow&, void); void DoScroll( sal_uInt16 nMode ); void ExitPreview(); diff --git a/sc/source/ui/inc/tabvwsh.hxx b/sc/source/ui/inc/tabvwsh.hxx index 77afb12cd71f..af9161b3689d 100644 --- a/sc/source/ui/inc/tabvwsh.hxx +++ b/sc/source/ui/inc/tabvwsh.hxx @@ -172,12 +172,12 @@ private: bool IsSignatureLineSigned(); bool IsQRCodeSelected(); - DECL_LINK( SimpleRefClose, const OUString*, void ); - DECL_LINK( SimpleRefDone, const OUString&, void ); - DECL_LINK( SimpleRefAborted, const OUString&, void ); - DECL_LINK( SimpleRefChange, const OUString&, void ); - DECL_LINK( FormControlActivated, LinkParamNone*, void ); - DECL_LINK( DialogClosedHdl, css::ui::dialogs::DialogClosedEvent*, void ); + DECL_DLLPRIVATE_LINK( SimpleRefClose, const OUString*, void ); + DECL_DLLPRIVATE_LINK( SimpleRefDone, const OUString&, void ); + DECL_DLLPRIVATE_LINK( SimpleRefAborted, const OUString&, void ); + DECL_DLLPRIVATE_LINK( SimpleRefChange, const OUString&, void ); + DECL_DLLPRIVATE_LINK( FormControlActivated, LinkParamNone*, void ); + DECL_DLLPRIVATE_LINK( DialogClosedHdl, css::ui::dialogs::DialogClosedEvent*, void ); protected: virtual void Activate(bool bMDI) override; |