summaryrefslogtreecommitdiff
path: root/sfx2/source/doc/oleprops.cxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-06-12 13:40:45 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-06-13 11:20:23 +0100
commit6191fa0847ac5b27083efe1a8c6cd84d080a638c (patch)
treeb107ce00125d0d204e5c32f6c472e70c73182bb2 /sfx2/source/doc/oleprops.cxx
parent2e16eaf31c7a4849110020aebd5fbc97a1ab3e99 (diff)
reduce use of UniString ctor from null-terminated unicodearray
Change-Id: I98361309ada084d8f78517ce88f210d785f59cc0
Diffstat (limited to 'sfx2/source/doc/oleprops.cxx')
-rw-r--r--sfx2/source/doc/oleprops.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sfx2/source/doc/oleprops.cxx b/sfx2/source/doc/oleprops.cxx
index 6a8cf4676b89..5e768b4fa359 100644
--- a/sfx2/source/doc/oleprops.cxx
+++ b/sfx2/source/doc/oleprops.cxx
@@ -361,7 +361,7 @@ String SfxOleStringHelper::ImplLoadString16( SvStream& rStrm ) const
rStrm.SeekRel( 2 );
// create string from character array
aBuffer.push_back( 0 );
- aValue = String( &aBuffer.front() );
+ aValue = rtl::OUString( &aBuffer.front() );
}
return aValue;
}