summaryrefslogtreecommitdiff
path: root/sw/inc/formatlinebreak.hxx
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2022-03-02 09:38:14 +0100
committerMiklos Vajna <vmiklos@collabora.com>2022-03-25 15:46:53 +0100
commit5feb766541d8817cdab4af5da4c9c40b48771840 (patch)
tree88c2b577c1a2ae45afd032fcebcf555663f11c6b /sw/inc/formatlinebreak.hxx
parentc9ccb88b99eeda1d227fbbbbf44587c09241e74d (diff)
sw clearing breaks: add UNO API to insert this with custom clear / char props
- if (character) properties are specified when the text content itself is inserted, then format the anchor ("dummy") character like that - add the ability to specify a clear type (none/left/right/all) on the line break object itself before insertion (cherry picked from commit 1a240807f2c051ff9a63d713625404a024d7c221) Change-Id: I219a1031e53c2e0368ff329d45b7e3fff0934038 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132107 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'sw/inc/formatlinebreak.hxx')
-rw-r--r--sw/inc/formatlinebreak.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/inc/formatlinebreak.hxx b/sw/inc/formatlinebreak.hxx
index 9e26ab11351f..c3a2b0164f86 100644
--- a/sw/inc/formatlinebreak.hxx
+++ b/sw/inc/formatlinebreak.hxx
@@ -70,7 +70,7 @@ public:
void InvalidateLineBreak();
- css::uno::Reference<css::text::XTextRange> getAnchor(SwDoc& rDoc) const;
+ css::uno::Reference<css::text::XTextRange> GetAnchor() const;
void SetTextLineBreak(SwTextLineBreak* pTextAttr) { m_pTextAttr = pTextAttr; }