summaryrefslogtreecommitdiffstats
path: root/writerfilter
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2013-06-29 14:42:54 +0200
committerThomas Arnhold <thomas@arnhold.org>2013-06-29 16:23:23 +0200
commit318f2b64cc32038b2ab1b18b4a13e3f41e1e35ff (patch)
treec375d326f022d1e3f3b9baea19ea262982dbc4a3 /writerfilter
parentmake HitTestNativeControl const (diff)
downloadcore-318f2b64cc32038b2ab1b18b4a13e3f41e1e35ff.tar.gz
core-318f2b64cc32038b2ab1b18b4a13e3f41e1e35ff.zip
remove some createFromAscii usage
there are a lot more of them: git grep 'createFromAscii[^)]*"' Change-Id: Ibc2e9cae208d8b9c91667bb3b177c6bd6d3a9424
Diffstat (limited to 'writerfilter')
-rw-r--r--writerfilter/source/rtftok/rtfdocumentimpl.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/writerfilter/source/rtftok/rtfdocumentimpl.cxx b/writerfilter/source/rtftok/rtfdocumentimpl.cxx
index 4195dac647cc..f408346be01e 100644
--- a/writerfilter/source/rtftok/rtfdocumentimpl.cxx
+++ b/writerfilter/source/rtftok/rtfdocumentimpl.cxx
@@ -3176,16 +3176,16 @@ int RTFDocumentImpl::dispatchValue(RTFKeyword nKeyword, int nParam)
break;
case RTF_TRRH:
{
- OUString hRule = OUString::createFromAscii("auto");
+ OUString hRule("auto");
if ( nParam < 0 )
{
RTFValue::Pointer_t pAbsValue(new RTFValue(-nParam));
pIntValue.swap( pAbsValue );
- hRule = OUString::createFromAscii("exact");
+ hRule = "exact";
}
else if ( nParam > 0 )
- hRule = OUString::createFromAscii("atLeast");
+ hRule = "atLeast";
lcl_putNestedAttribute(m_aStates.top().aTableRowSprms,
NS_ooxml::LN_CT_TrPrBase_trHeight, NS_ooxml::LN_CT_Height_val, pIntValue);