diff options
author | Noel Grandin <noelgrandin@gmail.com> | 2024-08-04 09:30:29 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2024-08-04 21:07:57 +0200 |
commit | 59471bb949e8d8d64023b17136921f59e0bf705e (patch) | |
tree | f14edbd86462719a3c064ac64d867f0540ff0cb9 /sw/inc | |
parent | f9c4fd0b981d7a0ebf76d3110955e16809dd6068 (diff) |
use more concrete UNO type in writerfilter
Change-Id: I70dd95a647c5a1e89d505da6d971c48662026d95
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171456
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
Diffstat (limited to 'sw/inc')
-rw-r--r-- | sw/inc/unostyle.hxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sw/inc/unostyle.hxx b/sw/inc/unostyle.hxx index d4618570bd9e..1790944e282f 100644 --- a/sw/inc/unostyle.hxx +++ b/sw/inc/unostyle.hxx @@ -70,7 +70,7 @@ public: SwXStyleFamilies(SwDocShell& rDocShell); //XNameAccess - virtual css::uno::Any SAL_CALL getByName(const OUString& Name) override; + SW_DLLPUBLIC virtual css::uno::Any SAL_CALL getByName(const OUString& Name) override; virtual css::uno::Sequence< OUString > SAL_CALL getElementNames() override; virtual sal_Bool SAL_CALL hasByName(const OUString& Name) override; @@ -94,7 +94,8 @@ public: SW_DLLPUBLIC rtl::Reference<SwXStyleFamily> GetPageStyles(); SW_DLLPUBLIC rtl::Reference<SwXStyleFamily> GetCharacterStyles(); SW_DLLPUBLIC rtl::Reference<SwXStyleFamily> GetParagraphStyles(); - rtl::Reference<SwXStyleFamily> GetStylesByName(const OUString& rName); + SW_DLLPUBLIC rtl::Reference<SwXStyleFamily> GetNumberingStyles(); + SW_DLLPUBLIC rtl::Reference<SwXStyleFamily> GetStylesByName(const OUString& rName); rtl::Reference<SwXStyleFamily> GetStylesByIndex(sal_Int32 nIndex); static css::uno::Reference<css::style::XStyle> CreateStyle(SfxStyleFamily eFamily, SwDoc& rDoc); |