diff options
author | Matteo Casalin <matteo.casalin@yahoo.com> | 2014-07-24 11:24:00 +0200 |
---|---|---|
committer | Matteo Casalin <matteo.casalin@yahoo.com> | 2014-07-26 14:25:27 +0200 |
commit | 570d59cc32fd5009cce69fa777190c1c208103a4 (patch) | |
tree | 6dd2bcc88ffe6da90b3b8fad4f0c5fced6a29835 /sw | |
parent | 6de84aea95209e7484b5afe4afbb7d7ec75385a1 (diff) |
Remove unneeded OUString temporaries
Change-Id: I48119d0d63163dffb9eab4217c7dddba1ece7e6f
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/uibase/uno/unotxvw.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/uno/unotxvw.cxx b/sw/source/uibase/uno/unotxvw.cxx index b2100afb8030..05fd21692b3d 100644 --- a/sw/source/uibase/uno/unotxvw.cxx +++ b/sw/source/uibase/uno/unotxvw.cxx @@ -563,9 +563,9 @@ Sequence< Sequence< PropertyValue > > SwXTextView::getRubyList( sal_Bool /*bAuto pRet[n].realloc(5); PropertyValue* pValues = pRet[n].getArray(); pValues[0].Name = UNO_NAME_RUBY_BASE_TEXT; - pValues[0].Value <<= OUString(rEntryText); + pValues[0].Value <<= rEntryText; pValues[1].Name = UNO_NAME_RUBY_TEXT; - pValues[1].Value <<= OUString(rAttr.GetText()); + pValues[1].Value <<= rAttr.GetText(); pValues[2].Name = UNO_NAME_RUBY_CHAR_STYLE_NAME; SwStyleNameMapper::FillProgName(rAttr.GetCharFmtName(), aString, nsSwGetPoolIdFromName::GET_POOLID_CHRFMT, true ); pValues[2].Value <<= aString; |