summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRadek Doulik <rodo@novell.com>2011-10-05 17:04:23 +0200
committerRadek Doulik <rodo@novell.com>2011-10-05 17:42:02 +0200
commitd31f1fa381db9a62050c3c033de1ac2dd80bbf1b (patch)
tree11c54064c1b08d3455439a4317c6e6b7a226ec24
parentfcdc9c4fa0f318f3fe7a9cba3a95f0737fb62ffc (diff)
fix compilation with debug enabled
-rw-r--r--oox/source/dump/dumperbase.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/oox/source/dump/dumperbase.cxx b/oox/source/dump/dumperbase.cxx
index 3ebeff97d592..f1623799e25c 100644
--- a/oox/source/dump/dumperbase.cxx
+++ b/oox/source/dump/dumperbase.cxx
@@ -575,8 +575,9 @@ void StringHelper::appendEncChar( OUStringBuffer& rStr, sal_Unicode cChar, sal_I
// C-style hex code
OUStringBuffer aCode;
appendCChar( aCode, cChar, bPrefix );
+ OUString aCodeStr = aCode.makeStringAndClear();
for( sal_Int32 nIdx = 0; nIdx < nCount; ++nIdx )
- rStr.append( aCode.makeStringAndClear() );
+ rStr.append( aCodeStr );
}
else
{