diff options
author | Tor Lillqvist <tml@iki.fi> | 2012-11-28 20:07:22 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@iki.fi> | 2012-11-28 20:08:20 +0200 |
commit | 625e173aaf1816686853f6142227519dc7c37544 (patch) | |
tree | 9ca78481eb3b8c82b8cd8c48d83749fe2b003ae3 /codemaker | |
parent | 802619d745710d51957aad30b5f3ec7f4c039ed9 (diff) |
OUString::replace() does not replace in-place
Change-Id: I5a1d713ee8e9c913adad57b7d8fb0597f96a2db4
Diffstat (limited to 'codemaker')
-rw-r--r-- | codemaker/source/cppumaker/cppumaker.cxx | 2 | ||||
-rw-r--r-- | codemaker/source/javamaker/javamaker.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/codemaker/source/cppumaker/cppumaker.cxx b/codemaker/source/cppumaker/cppumaker.cxx index c3aee2a78955..7910149f35f7 100644 --- a/codemaker/source/cppumaker/cppumaker.cxx +++ b/codemaker/source/cppumaker/cppumaker.cxx @@ -196,7 +196,7 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv) if (tmpName.isEmpty()) tmpName = "/"; else - tmpName.replace('.', '/'); + tmpName = tmpName.replace('.', '/'); } // related to task #116780# the scope is recursively // generated. bFullScope = true diff --git a/codemaker/source/javamaker/javamaker.cxx b/codemaker/source/javamaker/javamaker.cxx index c64fce266c84..af4796d2966e 100644 --- a/codemaker/source/javamaker/javamaker.cxx +++ b/codemaker/source/javamaker/javamaker.cxx @@ -188,7 +188,7 @@ SAL_IMPLEMENT_MAIN_WITH_ARGS(argc, argv) if (tmpName.isEmpty()) tmpName = "/"; else - tmpName.replace('.', '/'); + tmpName = tmpName.replace('.', '/'); } // related to task #116780# the scope is recursively // generated. bFullScope = true |