summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2012-11-28 01:31:58 -0600
committerNorbert Thiebaud <nthiebaud@gmail.com>2012-11-28 01:32:06 -0600
commit9865cc0aee96b6b19bf673df3efb0d9d1755744a (patch)
tree4f09800310b9fcc8e0cf3a5ed86d69c98aae2a0d /framework
parentfd773e669a0958f5f989e17a87ef815ecfd02476 (diff)
fix misuse of toAscii(Lower|Upper)Case
OUString are immutable so these api, contrary to what happen with String, do not change the object but create a new copy Change-Id: Ib48a8d11e485d4b8556f4427880aaaca32d4e82c
Diffstat (limited to 'framework')
-rw-r--r--framework/source/helper/titlebarupdate.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/framework/source/helper/titlebarupdate.cxx b/framework/source/helper/titlebarupdate.cxx
index f13fdc7e57e7..4c2060545e2b 100644
--- a/framework/source/helper/titlebarupdate.cxx
+++ b/framework/source/helper/titlebarupdate.cxx
@@ -195,8 +195,7 @@ void TitleBarUpdate::impl_updateApplicationID(const css::uno::Reference< css::fr
sDesktopName = ::rtl::OUString("base");
else
sDesktopName = ::rtl::OUString("startcenter");
- sApplicationID = utl::ConfigManager::getProductName().
- toAsciiLowerCase();
+ sApplicationID = utl::ConfigManager::getProductName().toAsciiLowerCase();
sApplicationID += ::rtl::OUString(sal_Unicode('-'));
sApplicationID += sDesktopName;
}