loplugin:passstuffbyref in sax

Change-Id: I95f0a17b9b8bab592a60f6b5223b4668c5355275
This commit is contained in:
Noel Grandin
2016-04-13 11:25:24 +02:00
parent d60d957a68
commit 746289bf97
2 changed files with 3 additions and 3 deletions

View File

@@ -93,7 +93,7 @@ namespace sax
{
m_handler = delegate;
}
css::uno::Reference< css::xml::sax::XDocumentHandler > SAL_CALL
const css::uno::Reference< css::xml::sax::XDocumentHandler >& SAL_CALL
getDelegate()
{
return m_handler;
@@ -215,7 +215,7 @@ namespace sax
{
m_handler = delegate;
}
css::uno::Reference< css::xml::sax::XExtendedDocumentHandler > SAL_CALL
const css::uno::Reference< css::xml::sax::XExtendedDocumentHandler >& SAL_CALL
getDelegate()
{
return m_handler;

View File

@@ -51,7 +51,7 @@ public:
{}
~CachedOutputStream() {}
css::uno::Reference< css::io::XOutputStream > getOutputStream() const
const css::uno::Reference< css::io::XOutputStream >& getOutputStream() const
{
return mxOutputStream;
}