summaryrefslogtreecommitdiff
path: root/vcl/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-07-22 16:10:32 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-07-23 06:46:41 +0200
commitea20fcce1dac735a9730ab6672bf60ccec595e71 (patch)
treedf8f25ec6a90f47fb878236e239f8a23e679943c /vcl/inc
parenta17b19726d723b16dacb49db7a8efd5fee9cb4cf (diff)
close some more holes in structures
and improve the pahole script so I can just run it once over the whole codebase Change-Id: I7e1775974a3a61f8c0e40646158f01163ace60cc Reviewed-on: https://gerrit.libreoffice.org/76122 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/inc')
-rw-r--r--vcl/inc/salmenu.hxx8
-rw-r--r--vcl/inc/unx/gtk/gtksalmenu.hxx6
-rw-r--r--vcl/inc/wall2.hxx6
3 files changed, 10 insertions, 10 deletions
diff --git a/vcl/inc/salmenu.hxx b/vcl/inc/salmenu.hxx
index 6829e3a623d1..c696503549e6 100644
--- a/vcl/inc/salmenu.hxx
+++ b/vcl/inc/salmenu.hxx
@@ -29,12 +29,12 @@ class SalFrame;
struct SalItemParams
{
- sal_uInt16 nId; // item Id
- MenuItemType eType; // MenuItem-Type
- MenuItemBits nBits; // MenuItem-Bits
+ Image aImage; // Image
VclPtr<Menu> pMenu; // Pointer to Menu
OUString aText; // Menu-Text
- Image aImage; // Image
+ MenuItemType eType; // MenuItem-Type
+ sal_uInt16 nId; // item Id
+ MenuItemBits nBits; // MenuItem-Bits
};
struct SalMenuButtonItem
diff --git a/vcl/inc/unx/gtk/gtksalmenu.hxx b/vcl/inc/unx/gtk/gtksalmenu.hxx
index b973684b21f1..858584398974 100644
--- a/vcl/inc/unx/gtk/gtksalmenu.hxx
+++ b/vcl/inc/unx/gtk/gtksalmenu.hxx
@@ -158,11 +158,11 @@ public:
GtkSalMenuItem( const SalItemParams* );
virtual ~GtkSalMenuItem() override;
- sal_uInt16 const mnId; // Item ID
- MenuItemType const mnType; // Item type
- bool mbVisible; // Item visibility.
GtkSalMenu* mpParentMenu; // The menu into which this menu item is inserted
GtkSalMenu* mpSubMenu; // Submenu of this item (if defined)
+ MenuItemType const mnType; // Item type
+ sal_uInt16 const mnId; // Item ID
+ bool mbVisible; // Item visibility.
};
#endif // INCLUDED_VCL_INC_UNX_GTK_GTKSALMENU_HXX
diff --git a/vcl/inc/wall2.hxx b/vcl/inc/wall2.hxx
index cad63ee4332d..37cd4fa66812 100644
--- a/vcl/inc/wall2.hxx
+++ b/vcl/inc/wall2.hxx
@@ -27,12 +27,12 @@ class ImplWallpaper
friend class Wallpaper;
private:
- Color maColor;
+ boost::optional<tools::Rectangle> mpRect;
std::unique_ptr<BitmapEx> mpBitmap;
std::unique_ptr<Gradient> mpGradient;
- boost::optional<tools::Rectangle> mpRect;
- WallpaperStyle meStyle;
std::unique_ptr<BitmapEx> mpCache;
+ Color maColor;
+ WallpaperStyle meStyle;
public:
ImplWallpaper();