summaryrefslogtreecommitdiff
path: root/stoc
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2018-02-05 10:57:07 +0200
committerTor Lillqvist <tml@collabora.com>2018-02-05 10:57:54 +0200
commit52030a3a65657dc5a3aed3208b25b33df7277e1b (patch)
treed68b4165076d04bb672dd8045e403d89099783c5 /stoc
parent2c6712b5fe7c0118d67887fa5d18affca8636c1b (diff)
Remove code that has been commented out since initial import in 2000
Change-Id: I42aaed79e88b6cb8bb0b93aa49555aad45050fe7
Diffstat (limited to 'stoc')
-rw-r--r--stoc/source/invocation/invocation.cxx18
1 files changed, 0 insertions, 18 deletions
diff --git a/stoc/source/invocation/invocation.cxx b/stoc/source/invocation/invocation.cxx
index f639e55bdee8..f564425c4202 100644
--- a/stoc/source/invocation/invocation.cxx
+++ b/stoc/source/invocation/invocation.cxx
@@ -357,10 +357,6 @@ void Invocation_Impl::setMaterial( const Any& rMaterial )
_xNameContainer.set( _xDirect, UNO_QUERY );
_xENDirect.set( _xDirect, UNO_QUERY );
_xDirect2.set( _xDirect, UNO_QUERY );
-
- // only once!!!
- //_xIntrospectionAccess = XIntrospectionAccessRef();
- //_xPropertySet = XPropertySetRef();
}
else
{
@@ -417,20 +413,6 @@ void Invocation_Impl::setMaterial( const Any& rMaterial )
_xENIntrospection.set( _xIntrospectionAccess, UNO_QUERY );
}
}
- /* only once !!!
- _xDirect = XInvocationRef();
- if( !_xIntrospectionAccess.is() )
- {
- // reset
- _xElementAccess = XElementAccessRef();
- _xEnumerationAccess = XEnumerationAccessRef();
- _xIndexAccess = XIndexAccessRef();
- _xIndexContainer = XIndexContainerRef();
- _xNameAccess = XNameAccessRef();
- _xNameContainer = XNameContainerRef();
- _xPropertySet = XPropertySetRef();
- }
- */
}
}