summaryrefslogtreecommitdiffstats
path: root/sw
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@suse.com>2012-03-07 11:02:59 +0200
committerTor Lillqvist <tlillqvist@suse.com>2012-03-07 11:02:59 +0200
commit7fd4640469ce0cc3211a38393c7f25bd2deecd87 (patch)
tree54a7777d8efa6861587f6186a4dc338f0babed57 /sw
parentconvert SwWW8ImplReader::simpleAddTextToParagraph to SAL_INFO() (diff)
downloadcore-7fd4640469ce0cc3211a38393c7f25bd2deecd87.tar.gz
core-7fd4640469ce0cc3211a38393c7f25bd2deecd87.zip
Fix MSVC compilation error: can't assign a const char* to String
Diffstat (limited to 'sw')
-rw-r--r--sw/source/filter/ww8/ww8par3.cxx2
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