summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMaxim Monastirsky <momonasmon@gmail.com>2023-06-15 11:39:25 +0300
committerMaxim Monastirsky <momonasmon@gmail.com>2023-06-16 00:49:09 +0200
commit6cb6f76095d2df07102ffd3da7accf7d075df90b (patch)
tree8d7e84ec5a3339511ecc3733b8c6d3b44c559857 /include
parent6c4edf7f86912084371e15be7321e9c4764a9ca6 (diff)
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 <momonasmon@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/editeng/outliner.hxx2
1 files changed, 2 insertions, 0 deletions
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();