summaryrefslogtreecommitdiff
path: root/include/vcl/outdevmap.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/vcl/outdevmap.hxx')
-rw-r--r--include/vcl/outdevmap.hxx10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/vcl/outdevmap.hxx b/include/vcl/outdevmap.hxx
index d4ef27e94e91..467dd688c612 100644
--- a/include/vcl/outdevmap.hxx
+++ b/include/vcl/outdevmap.hxx
@@ -28,6 +28,16 @@ struct ImplMapRes
tools::Long mnMapScNumY; // Scaling factor - numerator in Y direction
tools::Long mnMapScDenomX; // Scaling factor - denominator in X direction
tools::Long mnMapScDenomY; // Scaling factor - denominator in Y direction
+
+ ImplMapRes()
+ : mnMapOfsX(0)
+ , mnMapOfsY(0)
+ , mnMapScNumX(1)
+ , mnMapScNumY(1)
+ , mnMapScDenomX(1)
+ , mnMapScDenomY(1)
+ {
+ }
};
#endif // INCLUDED_VCL_OUTDEVMAP_HXX