#107130# misc cleanup

This commit is contained in:
Daniel Boelzle
2003-04-25 13:04:56 +00:00
parent 174da4fb13
commit b426d4671e
2 changed files with 8 additions and 7 deletions

View File

@@ -2,9 +2,9 @@
# #
# $RCSfile: makefile.mk,v $ # $RCSfile: makefile.mk,v $
# #
# $Revision: 1.1 $ # $Revision: 1.2 $
# #
# last change: $Author: dbo $ $Date: 2003-03-28 10:17:42 $ # last change: $Author: dbo $ $Date: 2003-04-25 14:04:53 $
# #
# The Contents of this file are made available subject to the terms of # The Contents of this file are made available subject to the terms of
# either of the following licenses # either of the following licenses
@@ -82,7 +82,8 @@ ALLTAR : \
CSFILES = \ CSFILES = \
uno$/QueryInterface.cs \ uno$/QueryInterface.cs \
uno$/Runtime.cs \ uno$/Runtime.cs \
uno$/util$/ServiceImplementationAttribute.cs \ uno$/ServiceImplementationAttribute.cs \
uno$/SingletonAttribute.cs \
uno$/util$/DisposeGuard.cs \ uno$/util$/DisposeGuard.cs \
uno$/util$/WeakAdapter.cs \ uno$/util$/WeakAdapter.cs \
uno$/util$/WeakBase.cs \ uno$/util$/WeakBase.cs \

View File

@@ -2,9 +2,9 @@
* *
* $RCSfile: DisposeGuard.cs,v $ * $RCSfile: DisposeGuard.cs,v $
* *
* $Revision: 1.2 $ * $Revision: 1.3 $
* *
* last change: $Author: dbo $ $Date: 2003-04-07 09:40:44 $ * last change: $Author: dbo $ $Date: 2003-04-25 14:04:56 $
* *
* The Contents of this file are made available subject to the terms of * The Contents of this file are made available subject to the terms of
* either of the following licenses * either of the following licenses
@@ -78,8 +78,8 @@ public struct DisposeGuard : IDisposable
*/ */
public DisposeGuard( Object obj ) public DisposeGuard( Object obj )
{ {
m_xComponent = (XComponent) uno.Runtime.queryInterface_throw( m_xComponent = (XComponent) uno.Runtime.queryInterface(
typeof (XComponent), obj ); typeof (XComponent), obj, uno.Runtime.QueryOption.Throw );
} }
/** ctor. /** ctor.