diff options
author | Ivan Timofeev <timofeev.i.s@gmail.com> | 2012-12-11 16:24:26 +0400 |
---|---|---|
committer | Ivan Timofeev <timofeev.i.s@gmail.com> | 2012-12-11 16:24:26 +0400 |
commit | c88508bc53e7df7ead7bc1b102da3d7dd81f7688 (patch) | |
tree | cfbb85dd8fb69ff5b3eb9d921e612457370696b9 | |
parent | 88096c2d4a139d943a73db416b25a55c925e8fb7 (diff) |
OUString::replaceAll unused results
Change-Id: I8d8dd139e57fb00decda8705157480439009cde8
-rw-r--r-- | filter/source/xsltdialog/xmlfiltertabdialog.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/filter/source/xsltdialog/xmlfiltertabdialog.cxx b/filter/source/xsltdialog/xmlfiltertabdialog.cxx index 9e9f4620800c..28083758ee24 100644 --- a/filter/source/xsltdialog/xmlfiltertabdialog.cxx +++ b/filter/source/xsltdialog/xmlfiltertabdialog.cxx @@ -55,7 +55,7 @@ XMLFilterTabDialog::XMLFilterTabDialog( Window *pParent, ResMgr& rResMgr, const mpNewInfo = new filter_info_impl( *mpOldInfo ); OUString aTitle( GetText() ); - aTitle.replaceAll("%s", mpNewInfo->maFilterName); + aTitle = aTitle.replaceAll("%s", mpNewInfo->maFilterName); SetText( aTitle ); maTabCtrl.Show(); @@ -277,12 +277,12 @@ bool XMLFilterTabDialog::onOk() if( aReplace2.getLength() ) { - aMessage.replaceAll( "%s1", aReplace1 ); - aMessage.replaceAll( "%s2", aReplace2 ); + aMessage = aMessage.replaceAll( "%s1", aReplace1 ); + aMessage = aMessage.replaceAll( "%s2", aReplace2 ); } else if( aReplace1.getLength() ) { - aMessage.replaceAll( "%s", aReplace1 ); + aMessage = aMessage.replaceAll( "%s", aReplace1 ); } ErrorBox aBox(this, (WinBits)(WB_OK), aMessage ); |