From 6cb6f76095d2df07102ffd3da7accf7d075df90b Mon Sep 17 00:00:00 2001 From: Maxim Monastirsky Date: Thu, 15 Jun 2023 11:39:25 +0300 Subject: tdf#103064 sw: use the comment style by default instead of DF As part of that, language changes in the document's body are no longer applied to comments, as that would be a DF. Instead, the default language of comments is controlled via the style (see tdf#153805 for the use case). Change-Id: Icfa9a7334b52fe74292e82fa8daa01a15197e384 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153158 Tested-by: Jenkins Reviewed-by: Maxim Monastirsky --- include/editeng/outliner.hxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/editeng/outliner.hxx') diff --git a/include/editeng/outliner.hxx b/include/editeng/outliner.hxx index 7622138271ee..0b9b06395dba 100644 --- a/include/editeng/outliner.hxx +++ b/include/editeng/outliner.hxx @@ -267,6 +267,8 @@ public: void Paste( bool bUseSpecial = false ); void PasteSpecial(); + void SetStyleSheet(const OUString& rStyleName); + const SfxStyleSheet* GetStyleSheet() const; SfxStyleSheet* GetStyleSheet(); -- cgit