diff options
Diffstat (limited to 'starmath/source/uiobject.cxx')
-rw-r--r-- | starmath/source/uiobject.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/starmath/source/uiobject.cxx b/starmath/source/uiobject.cxx index d505ed9d95eb..51b0733ff545 100644 --- a/starmath/source/uiobject.cxx +++ b/starmath/source/uiobject.cxx @@ -12,7 +12,7 @@ #include "ElementsDockingWindow.hxx" -ElementUIObject::ElementUIObject(VclPtr<SmElementsControl> xElementSelector, +ElementUIObject::ElementUIObject(const VclPtr<SmElementsControl>& xElementSelector, const OUString& rID): mxElementsSelector(xElementSelector), maID(rID) @@ -52,7 +52,7 @@ void ElementUIObject::execute(const OUString& rAction, } } -ElementSelectorUIObject::ElementSelectorUIObject(VclPtr<SmElementsControl> xElementSelector): +ElementSelectorUIObject::ElementSelectorUIObject(const VclPtr<SmElementsControl>& xElementSelector): WindowUIObject(xElementSelector), mxElementsSelector(xElementSelector) { |