diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/font/Feature.hxx | 2 | ||||
-rw-r--r-- | include/vcl/graphictools.hxx | 2 | ||||
-rw-r--r-- | include/vcl/svapp.hxx | 4 |
3 files changed, 4 insertions, 4 deletions
diff --git a/include/vcl/font/Feature.hxx b/include/vcl/font/Feature.hxx index b16843abea7d..3026f105fbfb 100644 --- a/include/vcl/font/Feature.hxx +++ b/include/vcl/font/Feature.hxx @@ -68,7 +68,7 @@ public: FeatureDefinition(); FeatureDefinition(uint32_t nCode, OUString const& rDescription, FeatureParameterType eType = FeatureParameterType::BOOL, - std::vector<FeatureParameter> const& rEnumParameters + std::vector<FeatureParameter>&& rEnumParameters = std::vector<FeatureParameter>{}, uint32_t nDefault = 0); FeatureDefinition(uint32_t nCode, TranslateId pDescriptionID, diff --git a/include/vcl/graphictools.hxx b/include/vcl/graphictools.hxx index 90dcbc360d1d..932df413cc58 100644 --- a/include/vcl/graphictools.hxx +++ b/include/vcl/graphictools.hxx @@ -84,7 +84,7 @@ public: CapType aCap, JoinType aJoin, double fMiterLimit, - const DashArray& rDashArray ); // TODO: Dash array offset (position where to start, see PS) + DashArray&& rDashArray ); // TODO: Dash array offset (position where to start, see PS) // accessors /// Query path to stroke diff --git a/include/vcl/svapp.hxx b/include/vcl/svapp.hxx index 519aad8bb27b..e422c47c66ad 100644 --- a/include/vcl/svapp.hxx +++ b/include/vcl/svapp.hxx @@ -161,8 +161,8 @@ public: and are the \em only events that accept an array of strings. No other events should use this constructor. */ - ApplicationEvent(Type type, std::vector<OUString> const & data): - aEvent(type), aData(data) + ApplicationEvent(Type type, std::vector<OUString>&& data): + aEvent(type), aData(std::move(data)) { assert(type == Type::Open || type == Type::Print); } |