summaryrefslogtreecommitdiff
path: root/stoc/source/inspect/introspection.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'stoc/source/inspect/introspection.cxx')
-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 eb06b6656830..08bd1485deba 100644
--- a/stoc/source/inspect/introspection.cxx
+++ b/stoc/source/inspect/introspection.cxx
@@ -1776,8 +1776,7 @@ css::uno::Reference<css::beans::XIntrospectionAccess> Implementation::inspect(
Property& rProp = rAllPropArray[ rPropCount ];
rProp.Name = xField->getName();
rProp.Handle = rPropCount;
- Type aFieldType( xPropType->getTypeClass(), xPropType->getName() );
- rProp.Type = aFieldType;
+ rProp.Type = Type(xPropType->getTypeClass(), xPropType->getName());
FieldAccessMode eAccessMode = xField->getAccessMode();
rProp.Attributes = (eAccessMode == FieldAccessMode_READONLY ||
eAccessMode == FieldAccessMode_CONST)