summaryrefslogtreecommitdiff
path: root/include/vcl
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-07-19 10:50:07 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-07-19 10:50:07 +0200
commit90576b93244ea836714cb1b75dff16503a270772 (patch)
treeb2e8eab0e2d298a5aa0b2ebff48457c722035f04 /include/vcl
parent454ab144c9f531a090a38ad23b5f50af85f1fbea (diff)
clang-tidy performance-unnecessary-value-param in vcl
Change-Id: I0b53c4bf5b4619cde357cf4eb432b153b1f7e6b5
Diffstat (limited to 'include/vcl')
-rw-r--r--include/vcl/ctrl.hxx2
-rw-r--r--include/vcl/implimagetree.hxx2
-rw-r--r--include/vcl/longcurr.hxx2
-rw-r--r--include/vcl/slider.hxx2
4 files changed, 4 insertions, 4 deletions
diff --git a/include/vcl/ctrl.hxx b/include/vcl/ctrl.hxx
index c72a0d334270..ae3266f0b386 100644
--- a/include/vcl/ctrl.hxx
+++ b/include/vcl/ctrl.hxx
@@ -72,7 +72,7 @@ protected:
if the Control instance has been destroyed in any of the call
*/
bool ImplCallEventListenersAndHandler(
- sal_uLong nEvent, std::function<void()> callHandler
+ sal_uLong nEvent, std::function<void()> const & callHandler
);
/** draws the given text onto the given device
diff --git a/include/vcl/implimagetree.hxx b/include/vcl/implimagetree.hxx
index 154b56ac7007..95fca467ce97 100644
--- a/include/vcl/implimagetree.hxx
+++ b/include/vcl/implimagetree.hxx
@@ -104,7 +104,7 @@ private:
void loadImageLinks();
- void parseLinkFile(std::shared_ptr<SvStream> stream);
+ void parseLinkFile(std::shared_ptr<SvStream> const & stream);
/// Return name of a real .png according to links.txt.
OUString const & getRealImageName(OUString const & name);
diff --git a/include/vcl/longcurr.hxx b/include/vcl/longcurr.hxx
index 48eca605c0f4..7c03c0fd190a 100644
--- a/include/vcl/longcurr.hxx
+++ b/include/vcl/longcurr.hxx
@@ -30,7 +30,7 @@ class LocaleDataWrapper;
class VCL_DLLPUBLIC LongCurrencyFormatter : public FormatterBase
{
private:
- SAL_DLLPRIVATE friend bool ImplLongCurrencyReformat( const OUString&, BigInt, BigInt, sal_uInt16, const LocaleDataWrapper&, OUString&, LongCurrencyFormatter& );
+ SAL_DLLPRIVATE friend bool ImplLongCurrencyReformat( const OUString&, BigInt const &, BigInt const &, sal_uInt16, const LocaleDataWrapper&, OUString&, LongCurrencyFormatter& );
SAL_DLLPRIVATE void ImpInit();
protected:
diff --git a/include/vcl/slider.hxx b/include/vcl/slider.hxx
index 4f035b1c1571..3112d002c325 100644
--- a/include/vcl/slider.hxx
+++ b/include/vcl/slider.hxx
@@ -109,7 +109,7 @@ public:
Size CalcWindowSizePixel();
- void SetLinkedField(VclPtr<NumericField> pField);
+ void SetLinkedField(VclPtr<NumericField> const & pField);
void SetSlideHdl( const Link<Slider*,void>& rLink ) { maSlideHdl = rLink; }
void SetEndSlideHdl( const Link<Slider*,void>& rLink ) { maEndSlideHdl = rLink; }