fix wrong SET/QUERY flags passed to uno::Reference
By creating deleted methods for the wrong calls. Avoids the compiler needing to construct a temporary Change-Id: I3b8c648d6bb22d22827bf74f21ea5a2a17fc0f6a Reviewed-on: https://gerrit.libreoffice.org/72103 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
This commit is contained in:
@@ -153,7 +153,7 @@ static void createInstance(
|
||||
throw RuntimeException( "cannot get service instance \"" + rServiceName + "\"!" );
|
||||
}
|
||||
|
||||
rxOut.set( x, UNO_QUERY_THROW );
|
||||
rxOut.set( x.get(), UNO_QUERY_THROW );
|
||||
}
|
||||
|
||||
/// @throws Exception
|
||||
|
||||
Reference in New Issue
Block a user