diff options
author | Radek Doulik <rodo@novell.com> | 2011-10-05 17:04:23 +0200 |
---|---|---|
committer | Radek Doulik <rodo@novell.com> | 2011-10-05 17:42:02 +0200 |
commit | d31f1fa381db9a62050c3c033de1ac2dd80bbf1b (patch) | |
tree | 11c54064c1b08d3455439a4317c6e6b7a226ec24 /oox | |
parent | fcdc9c4fa0f318f3fe7a9cba3a95f0737fb62ffc (diff) |
fix compilation with debug enabled
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/dump/dumperbase.cxx | 3 |
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 { |