CWS-TOOLING: integrate CWS cmcfixes71

This commit is contained in:
Vladimir Glazunov 2010-02-15 15:55:35 +01:00
commit cf0e05f0a6

View file

@ -1053,7 +1053,7 @@ void SVTXFormattedField::setProperty( const ::rtl::OUString& PropertyName, const
case ::com::sun::star::uno::TypeClass_DOUBLE:
if (pField->TreatingAsNumber())
{
double d;
double d = 0.0;
rValue >>= d;
aReturn <<= d;
}
@ -1065,7 +1065,7 @@ void SVTXFormattedField::setProperty( const ::rtl::OUString& PropertyName, const
// should never fail
Color* pDum;
double d;
double d = 0.0;
rValue >>= d;
String sConverted;
pFormatter->GetOutputString(d, 0, sConverted, &pDum);