Kaydet (Commit) 570d59cc authored tarafından Matteo Casalin's avatar Matteo Casalin

Remove unneeded OUString temporaries

Change-Id: I48119d0d63163dffb9eab4217c7dddba1ece7e6f
üst 6de84aea
...@@ -563,9 +563,9 @@ Sequence< Sequence< PropertyValue > > SwXTextView::getRubyList( sal_Bool /*bAuto ...@@ -563,9 +563,9 @@ Sequence< Sequence< PropertyValue > > SwXTextView::getRubyList( sal_Bool /*bAuto
pRet[n].realloc(5); pRet[n].realloc(5);
PropertyValue* pValues = pRet[n].getArray(); PropertyValue* pValues = pRet[n].getArray();
pValues[0].Name = UNO_NAME_RUBY_BASE_TEXT; 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].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; pValues[2].Name = UNO_NAME_RUBY_CHAR_STYLE_NAME;
SwStyleNameMapper::FillProgName(rAttr.GetCharFmtName(), aString, nsSwGetPoolIdFromName::GET_POOLID_CHRFMT, true ); SwStyleNameMapper::FillProgName(rAttr.GetCharFmtName(), aString, nsSwGetPoolIdFromName::GET_POOLID_CHRFMT, true );
pValues[2].Value <<= aString; pValues[2].Value <<= aString;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment