diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-03-09 10:11:00 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-03-09 12:41:09 +0000 |
commit | 5a308b1239a09417507b0d05090ff2d3418d5133 (patch) | |
tree | 990fa9015a4107e4916691eb4dee80fa5713e96b /include/sfx2 | |
parent | c1a227600d0b16df283162d24f1a31f5c9cee474 (diff) |
V801: Decreased performance
Change-Id: Iba139ede7bd72e23c0b7a28a8a4ff38ea816725a
Diffstat (limited to 'include/sfx2')
-rw-r--r-- | include/sfx2/sidebar/EnumContext.hxx | 8 | ||||
-rw-r--r-- | include/sfx2/sidebar/Tools.hxx | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/include/sfx2/sidebar/EnumContext.hxx b/include/sfx2/sidebar/EnumContext.hxx index 29185374b6ba..80e8228484ed 100644 --- a/include/sfx2/sidebar/EnumContext.hxx +++ b/include/sfx2/sidebar/EnumContext.hxx @@ -117,12 +117,12 @@ public: Writer or WriterWeb -> WriterAndWeb Use the Application_DrawImpress or Application_WriterAndWeb values in the CombinedEnumContext macro. */ - sal_Int32 GetCombinedContext_DI(void) const; + sal_Int32 GetCombinedContext_DI() const; - Application GetApplication_DI (void) const; + Application GetApplication_DI() const; - bool operator == (const EnumContext aOther); - bool operator != (const EnumContext aOther); + bool operator == (const EnumContext& rOther); + bool operator != (const EnumContext& rOther); /** When two contexts are matched against each other then application or context name may have the wildcard value 'any'. diff --git a/include/sfx2/sidebar/Tools.hxx b/include/sfx2/sidebar/Tools.hxx index 0df6d17c620a..3aff9ea7a022 100644 --- a/include/sfx2/sidebar/Tools.hxx +++ b/include/sfx2/sidebar/Tools.hxx @@ -45,8 +45,8 @@ public: const ::rtl::OUString& rsURL, const css::uno::Reference<css::frame::XFrame>& rxFrame); - static css::awt::Gradient VclToAwtGradient (const Gradient aGradient); - static Gradient AwtToVclGradient (const css::awt::Gradient aGradient); + static css::awt::Gradient VclToAwtGradient (const Gradient& rGradient); + static Gradient AwtToVclGradient (const css::awt::Gradient& rGradient); static css::util::URL GetURL (const ::rtl::OUString& rsCommand); static css::uno::Reference<css::frame::XDispatch> GetDispatch ( |