diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2023-03-23 19:38:07 +0000 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2023-03-24 05:44:56 +0000 |
commit | 53c39db4cfbeec29c0972df8ade4b12a23074f10 (patch) | |
tree | fb2047a89cdbb3cec031cf8baf3475ea1b739e4d /include/com/sun/star/uno/Reference.h | |
parent | 6e70d50db34afc9242b45172f456bb8221c4fa00 (diff) |
These must be const
Change-Id: I6af7a8933662dc5b8585c14d1cb66e2aad883252
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/149444
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'include/com/sun/star/uno/Reference.h')
-rw-r--r-- | include/com/sun/star/uno/Reference.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/com/sun/star/uno/Reference.h b/include/com/sun/star/uno/Reference.h index 1a6e6a10cee5..417d28b0418b 100644 --- a/include/com/sun/star/uno/Reference.h +++ b/include/com/sun/star/uno/Reference.h @@ -566,14 +566,14 @@ public: @return new reference */ - template< class other_type > inline Reference< other_type > query(); + template< class other_type > inline Reference< other_type > query() const; /** Queries this for the required interface, and returns the requested reference, or throws on failure. A syntactic sugar for 'Reference< other_type > xOther(xThis, UNO_QUERY_THROW)' that avoids some verbocity. @return new reference */ - template< class other_type > inline Reference< other_type > queryThrow(); + template< class other_type > inline Reference< other_type > queryThrow() const; #endif }; |