summaryrefslogtreecommitdiff
path: root/svx/workben
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-01-13 15:09:23 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-01-13 16:46:31 +0000
commita55ae5fde1cbd8c29f8aa3a66a4d362355a3062c (patch)
treefbdfb6193f1b1e994cecf872219d6651f990f508 /svx/workben
parent4a68a5f32bcc815b116063e6c047397ed9a3e241 (diff)
just return the read string here instead of passing one in by ref
Diffstat (limited to 'svx/workben')
-rw-r--r--svx/workben/msview/xmlconfig.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/svx/workben/msview/xmlconfig.cxx b/svx/workben/msview/xmlconfig.cxx
index 9c633857832b..b7611d11eefb 100644
--- a/svx/workben/msview/xmlconfig.cxx
+++ b/svx/workben/msview/xmlconfig.cxx
@@ -451,8 +451,7 @@ rtl::OUString ElementConfig::dump_uint( SvStream& rStream, sal_Size& nLength )
rtl::OUString ElementConfig::dump_unistring( SvStream& rStream, sal_Size& nLength )
{
- String aString;
- SvxMSDffManager::MSDFFReadZString( rStream, aString, nLength, sal_True );
+ String aString = SvxMSDffManager::MSDFFReadZString( rStream, nLength, sal_True );
nLength = 0;
return aString;
}