From 2962ceec4b96758bec7e7a0390d5ec60e3ce708f Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 10 May 2017 12:37:04 +0200 Subject: remove some unnecessary temporary OUStrings found with: git grep -nP 'OUString\(\s*\w+\s*\)' | grep -v new | grep -v return Change-Id: I923109b4339210aed2639e423fbc4d5f19233f02 Reviewed-on: https://gerrit.libreoffice.org/37463 Reviewed-by: Noel Grandin Tested-by: Noel Grandin --- filter/source/msfilter/rtfutil.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'filter') diff --git a/filter/source/msfilter/rtfutil.cxx b/filter/source/msfilter/rtfutil.cxx index 6b1dd95ed9f6..ad1e9d13fbfa 100644 --- a/filter/source/msfilter/rtfutil.cxx +++ b/filter/source/msfilter/rtfutil.cxx @@ -134,7 +134,7 @@ OString OutChar(sal_Unicode c, int* pUCMode, rtl_TextEncoding eDestEnc, bool* pS OString OutString(const OUString& rStr, rtl_TextEncoding eDestEnc, bool bUnicode) { - SAL_INFO("filter.ms", OSL_THIS_FUNC << ", rStr = '" << OUString(rStr) << "'"); + SAL_INFO("filter.ms", OSL_THIS_FUNC << ", rStr = '" << rStr << "'"); OStringBuffer aBuf; int nUCMode = 1; for (sal_Int32 n = 0; n < rStr.getLength(); ++n) -- cgit v1.2.3