summaryrefslogtreecommitdiff
path: root/starmath/source/mathmlimport.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-04-12 11:55:28 +0200
committerNoel Grandin <noel@peralex.com>2016-04-12 11:55:28 +0200
commit230cd638676fc5adf7e3fe5e69d29eadb194d7f8 (patch)
tree5185039681843f02f4782edd6580df4332c51055 /starmath/source/mathmlimport.hxx
parent9649026cf50533595c172cd81b96acd45603d86b (diff)
clang-tidy performance-unnecessary-value-param in starmath
Change-Id: Ic8d319dac1d18f548d47ac84e489c04412a38d1a
Diffstat (limited to 'starmath/source/mathmlimport.hxx')
-rw-r--r--starmath/source/mathmlimport.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/starmath/source/mathmlimport.hxx b/starmath/source/mathmlimport.hxx
index bef17d24ed2a..7c265182cdd0 100644
--- a/starmath/source/mathmlimport.hxx
+++ b/starmath/source/mathmlimport.hxx
@@ -48,8 +48,8 @@ public:
sal_uLong Import(SfxMedium &rMedium);
static sal_uLong ReadThroughComponent(
- css::uno::Reference< css::io::XInputStream > xInputStream,
- css::uno::Reference< css::lang::XComponent > xModelComponent,
+ const css::uno::Reference< css::io::XInputStream >& xInputStream,
+ const css::uno::Reference< css::lang::XComponent >& xModelComponent,
css::uno::Reference< css::uno::XComponentContext > & rxContext,
css::uno::Reference< css::beans::XPropertySet > & rPropSet,
const sal_Char* pFilterName,
@@ -57,7 +57,7 @@ public:
static sal_uLong ReadThroughComponent(
const css::uno::Reference< css::embed::XStorage >& xStorage,
- css::uno::Reference< css::lang::XComponent > xModelComponent,
+ const css::uno::Reference< css::lang::XComponent >& xModelComponent,
const sal_Char* pStreamName,
const sal_Char* pCompatibilityStreamName,
css::uno::Reference< css::uno::XComponentContext > & rxContext,