summaryrefslogtreecommitdiff
path: root/stoc
diff options
context:
space:
mode:
Diffstat (limited to 'stoc')
-rw-r--r--stoc/source/inspect/introspection.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/stoc/source/inspect/introspection.cxx b/stoc/source/inspect/introspection.cxx
index 2637c7ede5dc..79df9d25a542 100644
--- a/stoc/source/inspect/introspection.cxx
+++ b/stoc/source/inspect/introspection.cxx
@@ -813,13 +813,13 @@ void ImplIntrospectionAccess::cacheXNameContainer()
if (mpStaticImpl->mbNameContainer)
{
xNameContainer.set( mxIface, UNO_QUERY );
- xNameReplace.set( xNameContainer, UNO_QUERY );
- xNameAccess.set( xNameContainer, UNO_QUERY );
+ xNameReplace = xNameContainer;
+ xNameAccess = xNameContainer;
}
else if (mpStaticImpl->mbNameReplace)
{
xNameReplace.set( mxIface, UNO_QUERY );
- xNameAccess.set( xNameReplace, UNO_QUERY );
+ xNameAccess = xNameReplace;
}
else if (mpStaticImpl->mbNameAccess)
{
@@ -881,13 +881,13 @@ void ImplIntrospectionAccess::cacheXIndexContainer()
if (mpStaticImpl->mbIndexContainer)
{
xIndexContainer.set( mxIface, UNO_QUERY );
- xIndexReplace.set( xIndexContainer, UNO_QUERY );
- xIndexAccess.set( xIndexContainer, UNO_QUERY );
+ xIndexReplace = xIndexContainer;
+ xIndexAccess = xIndexContainer;
}
else if (mpStaticImpl->mbIndexReplace)
{
xIndexReplace.set( mxIface, UNO_QUERY );
- xIndexAccess.set( xIndexReplace, UNO_QUERY );
+ xIndexAccess = xIndexReplace;
}
else if (mpStaticImpl->mbIndexAccess)
{