diff options
author | Tor Lillqvist <tlillqvist@suse.com> | 2012-03-07 11:02:59 +0200 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@suse.com> | 2012-03-07 11:02:59 +0200 |
commit | 7fd4640469ce0cc3211a38393c7f25bd2deecd87 (patch) | |
tree | 54a7777d8efa6861587f6186a4dc338f0babed57 /sw | |
parent | 2a3c3b32cae53698ed8a35292ffebf35d9f5b0d8 (diff) |
Fix MSVC compilation error: can't assign a const char* to String
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/filter/ww8/ww8par3.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/filter/ww8/ww8par3.cxx b/sw/source/filter/ww8/ww8par3.cxx index f6bed3cd8d89..a2c729083e22 100644 --- a/sw/source/filter/ww8/ww8par3.cxx +++ b/sw/source/filter/ww8/ww8par3.cxx @@ -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 |