diff options
Diffstat (limited to 'binaryurp')
-rw-r--r-- | binaryurp/source/bridge.cxx | 2 | ||||
-rw-r--r-- | binaryurp/source/bridge.hxx | 4 | ||||
-rw-r--r-- | binaryurp/source/proxy.hxx | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/binaryurp/source/bridge.cxx b/binaryurp/source/bridge.cxx index 6298351bdab0..1bfdd17def98 100644 --- a/binaryurp/source/bridge.cxx +++ b/binaryurp/source/bridge.cxx @@ -104,7 +104,7 @@ public: ~AttachThread(); - rtl::ByteSequence getTid() throw () { return tid_;} + const rtl::ByteSequence& getTid() throw () { return tid_;} private: AttachThread(const AttachThread&) = delete; diff --git a/binaryurp/source/bridge.hxx b/binaryurp/source/bridge.hxx index c89e85b0919a..7c148756704d 100644 --- a/binaryurp/source/bridge.hxx +++ b/binaryurp/source/bridge.hxx @@ -88,10 +88,10 @@ public: // thread: void terminate(bool final); - com::sun::star::uno::Reference< com::sun::star::connection::XConnection > + const com::sun::star::uno::Reference< com::sun::star::connection::XConnection >& getConnection() const { return connection_;} - com::sun::star::uno::Reference< com::sun::star::bridge::XInstanceProvider > + const com::sun::star::uno::Reference< com::sun::star::bridge::XInstanceProvider >& getProvider() const { return provider_;} com::sun::star::uno::Mapping & getCppToBinaryMapping() { return cppToBinaryMapping_;} diff --git a/binaryurp/source/proxy.hxx b/binaryurp/source/proxy.hxx index 7f90f116c137..5ad8cee120dc 100644 --- a/binaryurp/source/proxy.hxx +++ b/binaryurp/source/proxy.hxx @@ -43,9 +43,9 @@ public: rtl::Reference< Bridge > const & bridge, OUString const & oid, com::sun::star::uno::TypeDescription const & type); - OUString getOid() const { return oid_;} + const OUString& getOid() const { return oid_;} - com::sun::star::uno::TypeDescription getType() const { return type_;} + const com::sun::star::uno::TypeDescription& getType() const { return type_;} void do_acquire(); |