summaryrefslogtreecommitdiff
path: root/sfx2/source/sidebar/SidebarPanelBase.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sfx2/source/sidebar/SidebarPanelBase.cxx')
-rw-r--r--sfx2/source/sidebar/SidebarPanelBase.cxx9
1 files changed, 5 insertions, 4 deletions
diff --git a/sfx2/source/sidebar/SidebarPanelBase.cxx b/sfx2/source/sidebar/SidebarPanelBase.cxx
index 5f72192f13f6..a662dffa5174 100644
--- a/sfx2/source/sidebar/SidebarPanelBase.cxx
+++ b/sfx2/source/sidebar/SidebarPanelBase.cxx
@@ -21,6 +21,7 @@
#include <sfx2/sidebar/IContextChangeReceiver.hxx>
#include <sfx2/sidebar/PanelLayout.hxx>
#include <sfx2/sidebar/SidebarModelUpdate.hxx>
+#include <utility>
#include <vcl/EnumContext.hxx>
#include <vcl/svapp.hxx>
#include <comphelper/processfactory.hxx>
@@ -49,13 +50,13 @@ Reference<ui::XUIElement> SidebarPanelBase::Create (
}
SidebarPanelBase::SidebarPanelBase (
- const OUString& rsResourceURL,
- const css::uno::Reference<css::frame::XFrame>& rxFrame,
+ OUString sResourceURL,
+ css::uno::Reference<css::frame::XFrame> xFrame,
std::unique_ptr<PanelLayout> xControl,
const css::ui::LayoutSize& rLayoutSize)
- : mxFrame(rxFrame),
+ : mxFrame(std::move(xFrame)),
mxControl(std::move(xControl)),
- msResourceURL(rsResourceURL),
+ msResourceURL(std::move(sResourceURL)),
maLayoutSize(rLayoutSize)
{
if (mxFrame.is())