Kaydet (Commit) 104d72b0 authored tarafından Noel Grandin's avatar Noel Grandin

remove WITH_ALPHANUM_AS_NUMFMT code

never been used since commit
70de0c38
"MWS_SRX644: migrate branch mws_srx644 -> HEAD" in 2003.

Change-Id: I794aa890a222bcffb692db86772f8a1a5e76cb6c
üst f25cdaf6
......@@ -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 )
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment