summaryrefslogtreecommitdiff
path: root/basctl
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2024-07-29 09:23:41 +0500
committerMike Kaganski <mike.kaganski@collabora.com>2024-07-29 15:21:39 +0200
commit18ed2be7f1406b879c1add35f8f86e68202d0876 (patch)
tree917fdba0b44fa0bc2427262323503726880b91df /basctl
parentc39978f41dccbeb2e973c919a67d9b1d974f8f3c (diff)
Prevent rtl::Reference -> css::uno::Reference -> rtl::Reference implicit path
Replace up-casting conversion constructor with respective conversion operator, similar to existing css::uno::Reference conversion operator. Thic change will not allow code like rtl::Reference<Foo> foo; rtl::Reference<Foo> bar(foo, uno::UNO_QUERY_THROW); which was possible because compiler could use temporary css::uno::Reference. Change-Id: I54b79af3e2508b26e9cd59f2cc7e2ae92f6efbbf Reviewed-on: https://gerrit.libreoffice.org/c/core/+/171166 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'basctl')
0 files changed, 0 insertions, 0 deletions