sw/source/core/edit/autofmt.cxx | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-)
New commits: commit 104d72b00c2c328f63591b26b9e65dd7355649b4 Author: Noel Grandin <noel.gran...@collabora.co.uk> Date: Tue Mar 14 13:29:59 2017 +0200 remove WITH_ALPHANUM_AS_NUMFMT code never been used since commit 70de0c38fd177b3c95837118c5fb35e380c87e90 "MWS_SRX644: migrate branch mws_srx644 -> HEAD" in 2003. Change-Id: I794aa890a222bcffb692db86772f8a1a5e76cb6c diff --git a/sw/source/core/edit/autofmt.cxx b/sw/source/core/edit/autofmt.cxx index 65c8d28..fbc2421 100644 --- a/sw/source/core/edit/autofmt.cxx +++ b/sw/source/core/edit/autofmt.cxx @@ -792,14 +792,7 @@ sal_uInt16 SwAutoFormat::GetDigitLevel( const SwTextNode& rNd, sal_Int32& rPos, // Roman numbers are "mdclxvi". Since we want to start numbering with c or d more often, // convert first to characters and later to roman numbers if needed. -#ifdef WITH_ALPHANUM_AS_NUMFMT - // detection of 'c' and 'd' a ROMAN numbering should not be done here - if( 256 > cLow &&( (eScan & (LOWER_ROMAN|UPPER_ROMAN)) - ? strchr( "mdclxvi", cLow ) - : strchr( "mlxvi", cLow ) )) -#else - if( 256 > cLow && ( strchr( "mdclxvi", cLow ) )) -#endif + if( 256 > cLow && strchr( "mdclxvi", cLow ) ) { if( bIsUpper ) { _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits