diff options
| author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> | 2018-06-19 15:11:19 +0000 |
|---|---|---|
| committer | Marc Jeanmougin <marcjeanmougin@free.fr> | 2018-06-20 09:51:42 +0000 |
| commit | af7e9ecd1fdd9a3499da7fc2721c4e4a74d8542f (patch) | |
| tree | 1cd0e24fa031a9231b800b0b41102a5d95e7082c /src/ui/dialog/filedialogimpl-win32.cpp | |
| parent | Replace functions with methods in SPColor. (diff) | |
| download | inkscape-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.cpp | 5 |
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 ) |
