summaryrefslogtreecommitdiff
path: root/include/vcl/gdimtf.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/vcl/gdimtf.hxx')
-rw-r--r--include/vcl/gdimtf.hxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/vcl/gdimtf.hxx b/include/vcl/gdimtf.hxx
index ccf3380c8f5a..a9dc49dccb1e 100644
--- a/include/vcl/gdimtf.hxx
+++ b/include/vcl/gdimtf.hxx
@@ -157,9 +157,9 @@ public:
size_t GetActionSize() const;
- void AddAction( rtl::Reference<MetaAction> pAction );
- void AddAction( rtl::Reference<MetaAction> pAction, size_t nPos );
- void push_back( rtl::Reference<MetaAction> pAction );
+ void AddAction(const rtl::Reference<MetaAction>& pAction);
+ void AddAction(const rtl::Reference<MetaAction>& pAction, size_t nPos);
+ void push_back(const rtl::Reference<MetaAction>& pAction);
/**
* @param pAction takes ownership
* @param nAction the action to replace