diff options
Diffstat (limited to 'sax/test/testcomponent.cxx')
-rw-r--r-- | sax/test/testcomponent.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sax/test/testcomponent.cxx b/sax/test/testcomponent.cxx index e498b2290908..339ee621f290 100644 --- a/sax/test/testcomponent.cxx +++ b/sax/test/testcomponent.cxx @@ -69,7 +69,7 @@ int main (int argc, char **argv) { // Create registration service Reference < XInterface > x = xSMgr->createInstance( "com.sun.star.registry.ImplementationRegistration" ); - xReg = Reference< XImplementationRegistration > ( x , UNO_QUERY ); + xReg.set( x , UNO_QUERY ); } catch (const Exception&) { |