summaryrefslogtreecommitdiff
path: root/include/sax
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-04-13 11:25:24 +0200
committerNoel Grandin <noel@peralex.com>2016-04-13 13:27:52 +0200
commit746289bf97ee6eeaf8a1df6b040dd9ae29bab0ce (patch)
tree41ce4775ff7bd938408ec3ad639a95e3eec42534 /include/sax
parentd60d957a680d9c98823aac05facb652bf619a750 (diff)
loplugin:passstuffbyref in sax
Change-Id: I95f0a17b9b8bab592a60f6b5223b4668c5355275
Diffstat (limited to 'include/sax')
-rw-r--r--include/sax/tools/documenthandleradapter.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sax/tools/documenthandleradapter.hxx b/include/sax/tools/documenthandleradapter.hxx
index b36a49705a09..9f8f89861e48 100644
--- a/include/sax/tools/documenthandleradapter.hxx
+++ b/include/sax/tools/documenthandleradapter.hxx
@@ -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;