[Libreoffice-commits] core.git: vcl/inc
Chris Sherlock
chris.sherlock79 at gmail.com
Wed Jan 27 04:12:23 PST 2016
vcl/inc/salgeom.hxx | 19 ++++++++++++-------
1 file changed, 12 insertions(+), 7 deletions(-)
New commits:
commit 03187ebf1d25dfbed909ac8c980ca29c01491fbf
Author: Chris Sherlock <chris.sherlock79 at gmail.com>
Date: Wed Jan 27 23:11:17 2016 +1100
vcl: change SalFrameGeometry from typedef struct to struct
Change-Id: I3d5d1a07c0ec088600e55dc557ccc5e698dcf649
diff --git a/vcl/inc/salgeom.hxx b/vcl/inc/salgeom.hxx
index d54c58a..0321e99 100644
--- a/vcl/inc/salgeom.hxx
+++ b/vcl/inc/salgeom.hxx
@@ -22,7 +22,7 @@
#include <vcl/dllapi.h>
-typedef struct _SalFrameGeometry {
+struct SalFrameGeometry {
// screen position of upper left corner of drawable area in pixel
long nX, nY;
// dimensions of the drawable area in pixel
@@ -34,13 +34,18 @@ typedef struct _SalFrameGeometry {
nBottomDecoration;
unsigned int nDisplayScreenNumber;
- _SalFrameGeometry() :
- nX( 0 ), nY( 0 ), nWidth( 1 ), nHeight( 1 ),
- nLeftDecoration( 0 ), nTopDecoration( 0 ),
- nRightDecoration( 0 ), nBottomDecoration( 0 ),
- nDisplayScreenNumber( 0 )
+ SalFrameGeometry() :
+ nX( 0 ),
+ nY( 0 ),
+ nWidth( 1 ),
+ nHeight( 1 ),
+ nLeftDecoration( 0 ),
+ nTopDecoration( 0 ),
+ nRightDecoration( 0 ),
+ nBottomDecoration( 0 ),
+ nDisplayScreenNumber( 0 )
{}
-} SalFrameGeometry;
+};
/// Interface used to share logic on sizing between
/// SalVirtualDevices and SalFrames
More information about the Libreoffice-commits
mailing list