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

Eike Rathke (via logerrit) logerrit at kemper.freedesktop.org
Fri Mar 29 21:07:56 UTC 2019


 sc/source/filter/excel/xestyle.cxx |    3 ---
 1 file changed, 3 deletions(-)

New commits:
commit 68a78526a099739be73b9e87c2ecc8cd39510567
Author:     Eike Rathke <erack at redhat.com>
AuthorDate: Fri Mar 29 22:05:56 2019 +0100
Commit:     Eike Rathke <erack at redhat.com>
CommitDate: Fri Mar 29 22:07:23 2019 +0100

    Remove now moot comment
    
    That compiler workaround isn't necessary anymore since at least
    
        commit 9894f158a287bdfe9933df96ab117a9527e9195b
        CommitDate: Sat Apr 21 12:51:13 2012 +0200
    
            simplify lifetime management of some variables
    
    that changed the array form to a simple instance.
    
    Change-Id: Ic11fa8422c0be62f24e2135298104123d23c8d2f

diff --git a/sc/source/filter/excel/xestyle.cxx b/sc/source/filter/excel/xestyle.cxx
index 9478698140d5..ed71e063eda5 100644
--- a/sc/source/filter/excel/xestyle.cxx
+++ b/sc/source/filter/excel/xestyle.cxx
@@ -1351,9 +1351,6 @@ void XclExpNumFmt::SaveXml( XclExpXmlStream& rStrm )
 
 XclExpNumFmtBuffer::XclExpNumFmtBuffer( const XclExpRoot& rRoot ) :
     XclExpRoot( rRoot ),
-    /*  Compiler needs a hint, this doesn't work: new NfKeywordTable;
-        cannot convert from 'class String *' to 'class String (*)[54]'
-        The effective result here is class String (*)[54*1] */
     mxFormatter( new SvNumberFormatter( comphelper::getProcessComponentContext(), LANGUAGE_ENGLISH_US ) ),
     mpKeywordTable( new NfKeywordTable ),
     mnStdFmt( GetFormatter().GetStandardIndex( ScGlobal::eLnge ) )


More information about the Libreoffice-commits mailing list