diff options
author | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-07-06 21:28:38 +0100 |
---|---|---|
committer | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-07-07 10:42:04 +0200 |
commit | 98ae74f85e08644be95e955449f0021d2f4151c2 (patch) | |
tree | 2e94588fa74614228d0b58ad29ef052ebde4d62e /sw | |
parent | 5c13cfd43dff1050b046633f6ebe8dce3298680d (diff) |
cid#1546189 COPY_INSTEAD_OF_MOVE
Change-Id: Ia286c035d64aa1534606a7561f3b5a89d66315df
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/170079
Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/access/accpara.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sw/source/core/access/accpara.cxx b/sw/source/core/access/accpara.cxx index 4be4a5feb4a2..64a1e622c272 100644 --- a/sw/source/core/access/accpara.cxx +++ b/sw/source/core/access/accpara.cxx @@ -1525,8 +1525,7 @@ void SwAccessibleParagraph::_getDefaultAttributesImpl( { PropertyValue rPropVal; rPropVal.Name = UNO_NAME_PARA_STYLE_NAME; - uno::Any aVal( uno::Any( pTextNode->GetTextColl()->GetName() ) ); - rPropVal.Value = aVal; + rPropVal.Value <<= pTextNode->GetTextColl()->GetName(); rPropVal.Handle = -1; rPropVal.State = beans::PropertyState_DEFAULT_VALUE; |