summaryrefslogtreecommitdiff
path: root/svl/source/items/cntwall.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svl/source/items/cntwall.cxx')
-rw-r--r--svl/source/items/cntwall.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/svl/source/items/cntwall.cxx b/svl/source/items/cntwall.cxx
index 76660e07a15e..3eb89d8b7abe 100644
--- a/svl/source/items/cntwall.cxx
+++ b/svl/source/items/cntwall.cxx
@@ -54,7 +54,7 @@ CntWallpaperItem::CntWallpaperItem( sal_uInt16 which, SvStream& rStream, sal_uIn
{
// Okay, data were stored by CntWallpaperItem.
- readUnicodeString(rStream, _aURL, nVersion >= 1);
+ _aURL = readUnicodeString(rStream, nVersion >= 1);
// !!! Color stream operators do not work - they discard any
// transparency info !!!
_nColor.Read( rStream, sal_True );
@@ -76,7 +76,7 @@ CntWallpaperItem::CntWallpaperItem( sal_uInt16 which, SvStream& rStream, sal_uIn
}
// Read SfxWallpaperItem's string member _aURL.
- readUnicodeString(rStream, _aURL, false);
+ _aURL = readUnicodeString(rStream, false);
// "Read" SfxWallpaperItem's string member _aFilter.
read_lenPrefixed_uInt8s_ToOString<sal_uInt16>(rStream);