summaryrefslogtreecommitdiff
path: root/sw
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-03-14 13:29:59 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-03-14 13:36:15 +0200
commit104d72b00c2c328f63591b26b9e65dd7355649b4 (patch)
tree8706611c0a58ca8837591ae0b65451ede0162454 /sw
parentf25cdaf6cba85a6a161755fe5f8067e479ab0414 (diff)
remove WITH_ALPHANUM_AS_NUMFMT code
never been used since commit 70de0c38fd177b3c95837118c5fb35e380c87e90 "MWS_SRX644: migrate branch mws_srx644 -> HEAD" in 2003. Change-Id: I794aa890a222bcffb692db86772f8a1a5e76cb6c
Diffstat (limited to 'sw')
-rw-r--r--sw/source/core/edit/autofmt.cxx9
1 files changed, 1 insertions, 8 deletions
diff --git a/sw/source/core/edit/autofmt.cxx b/sw/source/core/edit/autofmt.cxx
index 65c8d285698e..fbc2421f4b9f 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 )
{