diff options
Diffstat (limited to 'sw/source/uibase/sidebar/StylePresetsPanel.hxx')
-rw-r--r-- | sw/source/uibase/sidebar/StylePresetsPanel.hxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sw/source/uibase/sidebar/StylePresetsPanel.hxx b/sw/source/uibase/sidebar/StylePresetsPanel.hxx index 75a6cb3c4e0e..f91268886332 100644 --- a/sw/source/uibase/sidebar/StylePresetsPanel.hxx +++ b/sw/source/uibase/sidebar/StylePresetsPanel.hxx @@ -15,6 +15,7 @@ #include <sfx2/sidebar/PanelLayout.hxx> #include <sfx2/sidebar/ControllerItem.hxx> #include <svtools/valueset.hxx> +#include <utility> namespace sw::sidebar { @@ -39,8 +40,8 @@ public: private: struct TemplateEntry { - explicit TemplateEntry(const OUString& rURL) - : maURL(rURL) + explicit TemplateEntry(OUString aURL) + : maURL(std::move(aURL)) {} OUString maURL; |