Kaydet (Commit) 26e8b589 authored tarafından Noel Grandin's avatar Noel Grandin

convert various vcl system fields from unsigned long -> sal_uInt32

Change-Id: Iaa08ecb3a9a17f384267f2b685a4b672277db1ca
Reviewed-on: https://gerrit.libreoffice.org/44317Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarNoel Grandin <noel.grandin@collabora.co.uk>
üst d7817c54
......@@ -52,7 +52,7 @@ typedef struct CGContext *CGContextRef;
struct SystemEnvData
{
unsigned long nSize; // size in bytes of this structure
sal_uInt32 nSize; // size in bytes of this structure
#if defined(_WIN32)
HWND hWnd; // the window hwnd
#elif defined( MACOSX )
......@@ -100,7 +100,7 @@ struct SystemEnvData
struct SystemParentData
{
unsigned long nSize; // size in bytes of this structure
sal_uInt32 nSize; // size in bytes of this structure
#if defined(_WIN32)
HWND hWnd; // the window hwnd
#elif defined( MACOSX )
......@@ -127,7 +127,7 @@ struct SystemMenuData
struct SystemGraphicsData
{
unsigned long nSize; // size in bytes of this structure
sal_uInt32 nSize; // size in bytes of this structure
#if defined(_WIN32)
HDC hDC; // handle to a device context
HWND hWnd; // optional handle to a window
......@@ -182,7 +182,7 @@ struct SystemWindowData
struct SystemGlyphData
{
unsigned long index;
sal_uInt32 index;
double x;
double y;
int fallbacklevel;
......
......@@ -2339,7 +2339,7 @@ SystemTextLayoutData OutputDevice::GetSysTextLayoutData(const Point& rStartPt, c
while (pLayout->GetNextGlyphs(1, &pGlyph, aPos, nStart))
{
SystemGlyphData aSystemGlyph;
aSystemGlyph.index = static_cast<unsigned long> (pGlyph->maGlyphId);
aSystemGlyph.index = pGlyph->maGlyphId;
aSystemGlyph.x = aPos.X();
aSystemGlyph.y = aPos.Y();
int nLevel = pGlyph->mnFallbackLevel;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment