summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vcl/source/gdi/TypeSerializer.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/source/gdi/TypeSerializer.cxx b/vcl/source/gdi/TypeSerializer.cxx
index 8dc98c91da5d..329c9b3f0e6a 100644
--- a/vcl/source/gdi/TypeSerializer.cxx
+++ b/vcl/source/gdi/TypeSerializer.cxx
@@ -419,11 +419,11 @@ void TypeSerializer::writeGraphic(const Graphic& rGraphic)
void TypeSerializer::readMapMode(MapMode& rMapMode)
{
VersionCompatRead aCompat(mrStream);
- sal_uInt16 nTmp16;
+ sal_uInt16 nTmp16(0);
Point aOrigin;
Fraction aScaleX;
Fraction aScaleY;
- bool bSimple;
+ bool bSimple(true);
mrStream.ReadUInt16(nTmp16);
MapUnit eUnit = static_cast<MapUnit>(nTmp16);