summaryrefslogtreecommitdiff
path: root/include/vcl/salgtype.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/vcl/salgtype.hxx')
-rw-r--r--include/vcl/salgtype.hxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/vcl/salgtype.hxx b/include/vcl/salgtype.hxx
index dc219047f48f..23b8977f141c 100644
--- a/include/vcl/salgtype.hxx
+++ b/include/vcl/salgtype.hxx
@@ -46,6 +46,13 @@ struct SalTwoRect
long mnDestY;
long mnDestWidth;
long mnDestHeight;
+
+ SalTwoRect() {}
+
+ SalTwoRect(long nSrcX, long nSrcY, long nSrcWidth, long nSrcHeight, long nDestX, long nDestY, long nDestWidth, long nDestHeight)
+ : mnSrcX(nSrcX), mnSrcY(nSrcY), mnSrcWidth(nSrcWidth), mnSrcHeight(nSrcHeight), mnDestX(nDestX), mnDestY(nDestY), mnDestWidth(nDestWidth), mnDestHeight(nDestHeight)
+ {
+ }
};
typedef sal_uInt16 SalROPColor;