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-06-04 20:10:16 +0300
commit4dfd6d22e50b839d695eaf2983d193156391ffcf (patch)
tree2e78187eda472b9f12d958b95c99531102faf69c /stoc
parent0fd6fa15a9fc29874ceaa0c3369787a56486937c (diff)
Remove code that has been commented out since initial import in 2000
Change-Id: I42aaed79e88b6cb8bb0b93aa49555aad45050fe7 (cherry picked from commit 52030a3a65657dc5a3aed3208b25b33df7277e1b)
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 e70017baa0da..3ea0f1419f9e 100644
--- a/stoc/source/invocation/invocation.cxx
+++ b/stoc/source/invocation/invocation.cxx
@@ -364,10 +364,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
{
@@ -424,20 +420,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();
- }
- */
}
}