diff options
author | Noel Grandin <noel@peralex.com> | 2016-04-12 11:54:45 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2016-04-12 11:54:45 +0200 |
commit | 9649026cf50533595c172cd81b96acd45603d86b (patch) | |
tree | e7dade92b6674fe445ab36492afc2db02a827f05 /sd/source/ui/remotecontrol | |
parent | 6a8873c874db41e8818a74eb6bf2561dfdb296db (diff) |
clang-tidy performance-unnecessary-value-param in sd
Change-Id: Id55410931305a9695a001977a5227b430a984e99
Diffstat (limited to 'sd/source/ui/remotecontrol')
-rw-r--r-- | sd/source/ui/remotecontrol/Server.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/ui/remotecontrol/Server.cxx b/sd/source/ui/remotecontrol/Server.cxx index f0ebbff1acd3..f58d69f9b71b 100644 --- a/sd/source/ui/remotecontrol/Server.cxx +++ b/sd/source/ui/remotecontrol/Server.cxx @@ -270,7 +270,7 @@ std::vector< std::shared_ptr< ClientInfo > > RemoteServer::getClients() return aClients; } -bool RemoteServer::connectClient( std::shared_ptr< ClientInfo > pClient, const OUString& aPin ) +bool RemoteServer::connectClient( const std::shared_ptr< ClientInfo >& pClient, const OUString& aPin ) { SAL_INFO( "sdremote", "RemoteServer::connectClient called" ); if ( !spServer ) @@ -337,7 +337,7 @@ bool RemoteServer::connectClient( std::shared_ptr< ClientInfo > pClient, const O } } -void RemoteServer::deauthoriseClient( std::shared_ptr< ClientInfo > pClient ) +void RemoteServer::deauthoriseClient( const std::shared_ptr< ClientInfo >& pClient ) { // TODO: we probably want to forcefully disconnect at this point too? // But possibly via a separate function to allow just disconnecting from |