diff options
author | Noel Grandin <noel@peralex.com> | 2016-04-12 11:25:03 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-04-12 11:25:18 +0200 |
commit | 6a8873c874db41e8818a74eb6bf2561dfdb296db (patch) | |
tree | a34620db09e026d3e3c2a7da7ea3c2d8e9cd5c12 /filter/source/svg/svgfilter.cxx | |
parent | clang-tidy performance-unnecessary-value-param in dbaccess (diff) | |
download | core-6a8873c874db41e8818a74eb6bf2561dfdb296db.tar.gz core-6a8873c874db41e8818a74eb6bf2561dfdb296db.zip |
clang-tidy performance-unnecessary-value-param in filter
Change-Id: I6818f6c9593bfe7105cc194fcf6f69131046e4f3
Diffstat (limited to 'filter/source/svg/svgfilter.cxx')
-rw-r--r-- | filter/source/svg/svgfilter.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/filter/source/svg/svgfilter.cxx b/filter/source/svg/svgfilter.cxx index 503510a92a5c..2c5769ebf15f 100644 --- a/filter/source/svg/svgfilter.cxx +++ b/filter/source/svg/svgfilter.cxx @@ -304,7 +304,7 @@ void SAL_CALL SVGFilter::setTargetDocument( const Reference< XComponent >& xDoc mxDstDoc = xDoc; } -bool SVGFilter::isStreamGZip(uno::Reference<io::XInputStream> xInput) +bool SVGFilter::isStreamGZip(const uno::Reference<io::XInputStream>& xInput) { uno::Reference<io::XSeekable> xSeek(xInput, uno::UNO_QUERY); if(xSeek.is()) @@ -321,7 +321,7 @@ bool SVGFilter::isStreamGZip(uno::Reference<io::XInputStream> xInput) return false; } -bool SVGFilter::isStreamSvg(uno::Reference<io::XInputStream> xInput) +bool SVGFilter::isStreamSvg(const uno::Reference<io::XInputStream>& xInput) { uno::Reference<io::XSeekable> xSeek(xInput, uno::UNO_QUERY); if(xSeek.is()) |