summaryrefslogtreecommitdiff
path: root/stoc/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2023-12-07 09:30:04 +0000
committerCaolán McNamara <caolan.mcnamara@collabora.com>2023-12-08 09:33:59 +0100
commit4d01186dcef85b0515e51478bf7340268e0b147a (patch)
treeb971a36517c7423f1c5c2fd37f4871e550659446 /stoc/source
parent6c91e703354c545e3885a162b47139ade4caae6c (diff)
cid#1546472 COPY_INSTEAD_OF_MOVE
and cid#1546459 COPY_INSTEAD_OF_MOVE cid#1546452 COPY_INSTEAD_OF_MOVE cid#1546403 COPY_INSTEAD_OF_MOVE cid#1546396 COPY_INSTEAD_OF_MOVE cid#1546394 COPY_INSTEAD_OF_MOVE cid#1546338 COPY_INSTEAD_OF_MOVE cid#1546324 COPY_INSTEAD_OF_MOVE Change-Id: If61457cfaf1d7ce4a069bcecdc0cc657aeb43c68 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/160445 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'stoc/source')
-rw-r--r--stoc/source/inspect/introspection.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/stoc/source/inspect/introspection.cxx b/stoc/source/inspect/introspection.cxx
index be39b568002e..eb06b6656830 100644
--- a/stoc/source/inspect/introspection.cxx
+++ b/stoc/source/inspect/introspection.cxx
@@ -1774,8 +1774,7 @@ css::uno::Reference<css::beans::XIntrospectionAccess> Implementation::inspect(
// Enter in own property array
Property& rProp = rAllPropArray[ rPropCount ];
- OUString aFieldName = xField->getName();
- rProp.Name = aFieldName;
+ rProp.Name = xField->getName();
rProp.Handle = rPropCount;
Type aFieldType( xPropType->getTypeClass(), xPropType->getName() );
rProp.Type = aFieldType;