summaryrefslogtreecommitdiff
path: root/extensions/source/plugin/win/winmgr.cxx
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 /extensions/source/plugin/win/winmgr.cxx
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 'extensions/source/plugin/win/winmgr.cxx')
-rw-r--r--extensions/source/plugin/win/winmgr.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/extensions/source/plugin/win/winmgr.cxx b/extensions/source/plugin/win/winmgr.cxx
index b954b6a41e86..3abf3f959dbf 100644
--- a/extensions/source/plugin/win/winmgr.cxx
+++ b/extensions/source/plugin/win/winmgr.cxx
@@ -96,8 +96,7 @@ static void addPluginsFromPath( const TCHAR * pPluginsPath, PluginLocationMap &
while (hFind != INVALID_HANDLE_VALUE)
{
- OString aName( aFindData.cFileName );
- aName.toAsciiLowerCase();
+ OString aName = OUString( aFindData.cFileName ).toAsciiLowerCase();
// no netscape default plugin anymore...
// and no double plugin dlls