summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatteo Casalin <matteo.casalin@yahoo.com>2019-02-17 16:40:57 +0100
committerMatteo Casalin <matteo.casalin@yahoo.com>2019-02-22 07:53:16 +0100
commitd5ae190a6fd483f3d0346ce4abbc4089f5092234 (patch)
tree7948e64fdbe2cdfe8139bf4b8ff2f8d3ef25234b
parentf5a7821d694b98e020fe57efdb0bc22470e9e022 (diff)
Remove confusing comment
Change-Id: I0e19228b50a19085c9eee70372b34a07e7255091 Reviewed-on: https://gerrit.libreoffice.org/68115 Tested-by: Jenkins Reviewed-by: Matteo Casalin <matteo.casalin@yahoo.com>
-rw-r--r--sw/source/core/graphic/ndgrf.cxx5
1 files changed, 1 insertions, 4 deletions
diff --git a/sw/source/core/graphic/ndgrf.cxx b/sw/source/core/graphic/ndgrf.cxx
index 8045a4158135..1b32c727734b 100644
--- a/sw/source/core/graphic/ndgrf.cxx
+++ b/sw/source/core/graphic/ndgrf.cxx
@@ -569,13 +569,10 @@ void SwGrfNode::InsertLink( const OUString& rGrfName, const OUString& rFltName )
if( rFltName == "DDE" )
{
sal_Int32 nTmp = 0;
- // Cannot use getToken as argument in function call:
- // evaluation order is undefined!
const OUString sApp{ rGrfName.getToken( 0, sfx2::cTokenSeparator, nTmp ) };
const OUString sTopic{ rGrfName.getToken( 0, sfx2::cTokenSeparator, nTmp ) };
const OUString sItem{ rGrfName.copy( nTmp ) };
- rIDLA.GetLinkManager().InsertDDELink( refLink.get(),
- sApp, sTopic, sItem );
+ rIDLA.GetLinkManager().InsertDDELink( refLink.get(), sApp, sTopic, sItem );
}
else
{