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:
Noel Grandin
2019-05-13 08:15:27 +02:00
parent ce76026231
commit a361231b13
352 changed files with 814 additions and 804 deletions
+1 -1
View File
@@ -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