summaryrefslogtreecommitdiff
path: root/starmath/source/uiobject.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'starmath/source/uiobject.hxx')
-rw-r--r--starmath/source/uiobject.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/starmath/source/uiobject.hxx b/starmath/source/uiobject.hxx
index 004f1ab79dd1..ecfef8abe627 100644
--- a/starmath/source/uiobject.hxx
+++ b/starmath/source/uiobject.hxx
@@ -24,7 +24,7 @@ private:
public:
- ElementUIObject(VclPtr<SmElementsControl> xElementSelector,
+ ElementUIObject(const VclPtr<SmElementsControl>& xElementSelector,
const OUString& rID);
virtual StringMap get_state() override;
@@ -43,7 +43,7 @@ private:
public:
- explicit ElementSelectorUIObject(VclPtr<SmElementsControl> xElementSelector);
+ explicit ElementSelectorUIObject(const VclPtr<SmElementsControl>& xElementSelector);
virtual StringMap get_state() override;