Fix MSVC compilation error: can't assign a const char* to String

This commit is contained in:
Tor Lillqvist 2012-03-07 11:02:59 +02:00
parent 2a3c3b32ca
commit 7fd4640469

View file

@ -2183,7 +2183,7 @@ void WW8FormulaControl::FormulaRead(SwWw8ControlType nWhich,
{
if ( iRes != 25 )
nChecked = iRes;
sDefault = ( wDef == 0 ) ? "0" : "1";
sDefault = ( wDef == 0 ) ? rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("0") ) : rtl::OUString( RTL_CONSTASCII_USTRINGPARAM("1") );
}
}
// xstzTextFormat