diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2024-07-29 09:23:41 +0500 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2024-07-29 15:21:39 +0200 |
commit | 18ed2be7f1406b879c1add35f8f86e68202d0876 (patch) | |
tree | 917fdba0b44fa0bc2427262323503726880b91df /basctl | |
parent | c39978f41dccbeb2e973c919a67d9b1d974f8f3c (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