summaryrefslogtreecommitdiff
path: root/sd/source/ui/remotecontrol
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-04-13 15:37:03 +0200
committerNoel Grandin <noel@peralex.com>2016-04-14 09:21:40 +0200
commitbaf34a9e44fbd39c3657cabd22d871bc804ab12d (patch)
treecd82a6b15c89f5ae510f2e241b3587f6a294dcb5 /sd/source/ui/remotecontrol
parent89fa923a28fb351bb4faad1f69ca94d17f8a5b06 (diff)
loplugin:passstuffbyref in sd
Change-Id: If5a68861451efe025b77f71a20e805b71240b827
Diffstat (limited to 'sd/source/ui/remotecontrol')
-rw-r--r--sd/source/ui/remotecontrol/ZeroconfService.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/remotecontrol/ZeroconfService.hxx b/sd/source/ui/remotecontrol/ZeroconfService.hxx
index 832fc9fe725e..a809ebe142a6 100644
--- a/sd/source/ui/remotecontrol/ZeroconfService.hxx
+++ b/sd/source/ui/remotecontrol/ZeroconfService.hxx
@@ -40,7 +40,7 @@ namespace sd{
:name(aname), port(aport){}
virtual ~ZeroconfService(){}
- std::string getName() const {return name;}
+ const std::string& getName() const {return name;}
void setName(const char * n) {name = n;}
// Clean up the service when closing