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

Jochen Nitschke j.nitschke+logerrit at ok.de
Thu Jan 26 06:28:10 UTC 2017


 sc/source/filter/inc/namebuff.hxx |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

New commits:
commit 26273f1c5522e6cccd4acd5e1523b28b277b7331
Author: Jochen Nitschke <j.nitschke+logerrit at ok.de>
Date:   Wed Jan 25 20:12:27 2017 +0100

    fix useless assign
    
    typo from commit a599196064003b724c8ffe3144b77292a4082df3
    Date:   Mon Sep 30 14:38:41 2013 +0200
        covnert sc/source/filter/inc/namebuff.hxx from String to OUString
    
    '=' should have been '+='
    was 'aScAbsName.AppendAscii( RTL_CONSTASCII_STRINGPARAM( "_ABS" ) );'
    
    Change-Id: Ic9c6dcd5c7871c35ae44e6be0f8314d073a863b3
    Reviewed-on: https://gerrit.libreoffice.org/33556
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>

diff --git a/sc/source/filter/inc/namebuff.hxx b/sc/source/filter/inc/namebuff.hxx
index 13233c7..8f2b171 100644
--- a/sc/source/filter/inc/namebuff.hxx
+++ b/sc/source/filter/inc/namebuff.hxx
@@ -87,12 +87,11 @@ private:
                             Entry( const OUString& rName, const OUString& rScName, const ScComplexRefData& rCRD )
                                 : aStrHashEntry( rName )
                                 , aScComplexRefDataRel( rCRD )
-                                , aScAbsName( rScName )
+                                , aScAbsName( rScName + "_ABS" )
                                 , nAbsInd(0)
                                 , nRelInd(0)
                                 , bSingleRef(false)
                             {
-                                aScAbsName = "_ABS";
                             }
     };
 


More information about the Libreoffice-commits mailing list