diff options
Diffstat (limited to 'svx/source/dialog/svxbmpnumvalueset.cxx')
-rw-r--r-- | svx/source/dialog/svxbmpnumvalueset.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/svx/source/dialog/svxbmpnumvalueset.cxx b/svx/source/dialog/svxbmpnumvalueset.cxx index f1b810c69692..e885e17f758e 100644 --- a/svx/source/dialog/svxbmpnumvalueset.cxx +++ b/svx/source/dialog/svxbmpnumvalueset.cxx @@ -310,17 +310,17 @@ void SvxNumValueSet::UserDraw( const UserDrawEvent& rUDEvt ) aNumberingTypes[i] = 0; for(sal_Int32 nProperty = 0; nProperty < aLevel.getLength() - 1; nProperty++) { - if(pValues[nProperty].Name.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(cNumberingType))) + if ( pValues[nProperty].Name == cNumberingType ) pValues[nProperty].Value >>= aNumberingTypes[i]; - else if(pValues[nProperty].Name.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(cBulletFontName))) + else if ( pValues[nProperty].Name == cBulletFontName ) pValues[nProperty].Value >>= sFontNames[i]; - else if(pValues[nProperty].Name.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(cBulletChar))) + else if ( pValues[nProperty].Name == cBulletChar ) pValues[nProperty].Value >>= sBulletChars[i]; - else if(pValues[nProperty].Name.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(cPrefix))) + else if ( pValues[nProperty].Name == cPrefix ) pValues[nProperty].Value >>= sPrefixes[i]; - else if(pValues[nProperty].Name.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(cSuffix))) + else if ( pValues[nProperty].Name == cSuffix ) pValues[nProperty].Value >>= sSuffixes[i]; - else if(pValues[nProperty].Name.equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(cParentNumbering))) + else if ( pValues[nProperty].Name == cParentNumbering ) pValues[nProperty].Value >>= aParentNumberings[i]; } Sequence< PropertyValue > aProperties(2); |