cid#1557889 Use of auto that causes a copy
Change-Id: I6c510fa69e8db6ddc6ca6b9a169f4181ef62adab Reviewed-on: https://gerrit.libreoffice.org/c/core/+/169861 Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com> Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com>
This commit is contained in:
parent
52dc33d76f
commit
a3fe1c6fa7
@ -1130,8 +1130,7 @@ namespace cmis
|
||||
std::vector< std::string > aPaths = pPwc->getPaths( );
|
||||
if ( !aPaths.empty() )
|
||||
{
|
||||
auto sPath = aPaths.front( );
|
||||
aCmisUrl.setObjectPath( STD_TO_OUSTR( sPath ) );
|
||||
aCmisUrl.setObjectPath(STD_TO_OUSTR(aPaths.front()));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user