summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorHannah Meeks <hmeeks4135@gmail.com>2022-07-12 17:15:17 +0100
committerTomaž Vajngerl <quikee@gmail.com>2022-07-14 10:19:57 +0200
commitfebfbaff07562dd68bc2b5bc870699754f763e50 (patch)
tree64775fa1f054df5e37bdd610ee89ac34773e7381 /sw
parent0b5df6634a2021986b0de2ab12a41c0d4af4f60c (diff)
The DefaultPropertyName for range is tex
Change-Id: I0e5f1ae0757a2ad8f58f011df435c30c577d8a79 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137006 Tested-by: Jenkins Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'sw')
-rw-r--r--sw/source/ui/vba/vbarange.hxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/sw/source/ui/vba/vbarange.hxx b/sw/source/ui/vba/vbarange.hxx
index 38e2631e40fe..ee8ed621bb8c 100644
--- a/sw/source/ui/vba/vbarange.hxx
+++ b/sw/source/ui/vba/vbarange.hxx
@@ -67,11 +67,13 @@ public:
virtual void SAL_CALL setParagraphFormat( const css::uno::Reference< ooo::vba::word::XParagraphFormat >& rParagraphFormat ) override;
virtual css::uno::Any SAL_CALL getStyle() override;
virtual void SAL_CALL setStyle( const css::uno::Any& _xStyle ) override;
-
virtual css::uno::Reference< ooo::vba::word::XFont > SAL_CALL getFont() override;
virtual css::uno::Reference< ooo::vba::word::XFind > SAL_CALL getFind() override;
virtual css::uno::Reference< ooo::vba::word::XListFormat > SAL_CALL getListFormat() override;
+ //XDefaultProperty
+ virtual OUString SAL_CALL getDefaultPropertyName() override { return "Text"; }
+
// Methods
virtual void SAL_CALL InsertBreak(const css::uno::Any& _breakType) override;
virtual void SAL_CALL Select() override;