diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-05-19 17:16:38 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-05-19 17:16:38 +0200 |
commit | 713843bebb27f09b5af9190cf84c57f6076e54aa (patch) | |
tree | 1936b003f3ca2a7daf84fa8349d44d801ff58cd5 /sw/source/uibase/wrtsh/wrtsh1.cxx | |
parent | 039913c383477e8ea1d62426df5cc30f6637ebfe (diff) |
loplugin:stringcopy: sw
Change-Id: I0a794e1d2a4b7e97133df0f7243817da7caaee1d
Diffstat (limited to 'sw/source/uibase/wrtsh/wrtsh1.cxx')
-rw-r--r-- | sw/source/uibase/wrtsh/wrtsh1.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/wrtsh/wrtsh1.cxx b/sw/source/uibase/wrtsh/wrtsh1.cxx index 1fa40eb160d7..9145fb223c37 100644 --- a/sw/source/uibase/wrtsh/wrtsh1.cxx +++ b/sw/source/uibase/wrtsh/wrtsh1.cxx @@ -209,7 +209,7 @@ void SwWrtShell::Insert( const OUString &rStr ) SwRewriter aRewriter; aRewriter.AddRule(UndoArg1, GetCursorDescr()); - aRewriter.AddRule(UndoArg2, OUString(SwResId(STR_YIELDS))); + aRewriter.AddRule(UndoArg2, SwResId(STR_YIELDS)); { OUString aTmpStr; aTmpStr += SwResId(STR_START_QUOTE); @@ -479,7 +479,7 @@ bool SwWrtShell::InsertOleObject( const svt::EmbeddedObjectRef& xRef, SwFlyFrame { try { - xSet->setPropertyValue("Formula", uno::makeAny( OUString( aMathData ) ) ); + xSet->setPropertyValue("Formula", uno::makeAny( aMathData ) ); bActivate = false; } catch (const uno::Exception&) |