diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2020-12-08 19:21:37 +0300 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2020-12-08 19:13:20 +0100 |
commit | e225b642518ad1df3ddd02f2cfb10393065f55e0 (patch) | |
tree | a3055a31d612348cf5dd9e899b0800a113ec5b11 /sw/source/uibase/wrtsh | |
parent | c3f628e7905da6ff4586a0ee429af5769dd6f4eb (diff) |
Simplify attribute set definitions a little
Change-Id: I5dfc626d4e8eafa30d48b698f1c1bf89dd5834b4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107431
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'sw/source/uibase/wrtsh')
-rw-r--r-- | sw/source/uibase/wrtsh/wrtsh1.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/wrtsh/wrtsh1.cxx b/sw/source/uibase/wrtsh/wrtsh1.cxx index 04d028f692d0..0019de241a1f 100644 --- a/sw/source/uibase/wrtsh/wrtsh1.cxx +++ b/sw/source/uibase/wrtsh/wrtsh1.cxx @@ -1609,7 +1609,7 @@ void SwWrtShell::AutoUpdatePara(SwTextFormatColl* pColl, const SfxItemSet& rStyl StartAction(); if(bReset) { - ResetAttr( o3tl::sorted_vector<sal_uInt16>(), pCursor ); + ResetAttr({}, pCursor); SetAttrSet(aCoreSet, SetAttrMode::DEFAULT, pCursor); } mxDoc->ChgFormat(*pColl, rStyleSet ); |