summaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/filedialogimpl-win32.cpp
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2018-06-19 15:11:19 +0000
committerMarc Jeanmougin <marcjeanmougin@free.fr>2018-06-20 09:51:42 +0000
commitaf7e9ecd1fdd9a3499da7fc2721c4e4a74d8542f (patch)
tree1cd0e24fa031a9231b800b0b41102a5d95e7082c /src/ui/dialog/filedialogimpl-win32.cpp
parentReplace functions with methods in SPColor. (diff)
downloadinkscape-af7e9ecd1fdd9a3499da7fc2721c4e4a74d8542f.tar.gz
inkscape-af7e9ecd1fdd9a3499da7fc2721c4e4a74d8542f.zip
Replace typedef struct with struct in POD type declarations.
Diffstat (limited to 'src/ui/dialog/filedialogimpl-win32.cpp')
-rw-r--r--src/ui/dialog/filedialogimpl-win32.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ui/dialog/filedialogimpl-win32.cpp b/src/ui/dialog/filedialogimpl-win32.cpp
index 0effddfed..c57594551 100644
--- a/src/ui/dialog/filedialogimpl-win32.cpp
+++ b/src/ui/dialog/filedialogimpl-win32.cpp
@@ -1097,7 +1097,7 @@ bool FileOpenDialogImplWin32::set_image_preview()
// for the bbox rectangle.
#pragma pack( push )
#pragma pack( 2 )
-typedef struct
+struct APMHEADER
{
DWORD dwKey;
WORD hmf;
@@ -1105,7 +1105,8 @@ typedef struct
WORD wInch;
DWORD dwReserved;
WORD wCheckSum;
-} APMHEADER, *PAPMHEADER;
+};
+using PAPMHEADER = APMHEADER *;
#pragma pack( pop )