diff options
author | Matteo Casalin <matteo.casalin@yahoo.com> | 2019-02-17 16:40:57 +0100 |
---|---|---|
committer | Matteo Casalin <matteo.casalin@yahoo.com> | 2019-02-22 07:53:16 +0100 |
commit | d5ae190a6fd483f3d0346ce4abbc4089f5092234 (patch) | |
tree | 7948e64fdbe2cdfe8139bf4b8ff2f8d3ef25234b /sw | |
parent | f5a7821d694b98e020fe57efdb0bc22470e9e022 (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>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/graphic/ndgrf.cxx | 5 |
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 { |