[Libreoffice-commits] core.git: sw/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Fri Feb 22 06:53:43 UTC 2019


 sw/source/core/graphic/ndgrf.cxx |    5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

New commits:
commit d5ae190a6fd483f3d0346ce4abbc4089f5092234
Author:     Matteo Casalin <matteo.casalin at yahoo.com>
AuthorDate: Sun Feb 17 16:40:57 2019 +0100
Commit:     Matteo Casalin <matteo.casalin at yahoo.com>
CommitDate: Fri Feb 22 07:53:16 2019 +0100

    Remove confusing comment
    
    Change-Id: I0e19228b50a19085c9eee70372b34a07e7255091
    Reviewed-on: https://gerrit.libreoffice.org/68115
    Tested-by: Jenkins
    Reviewed-by: Matteo Casalin <matteo.casalin at yahoo.com>

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
         {


More information about the Libreoffice-commits mailing list