summaryrefslogtreecommitdiff
path: root/include/vcl
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-07-20 11:13:20 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-07-20 13:02:31 +0200
commitf24b46c27243b88e4d367d7b105d1365e97dbd76 (patch)
treeff7d573afc446c189f852382312d477c67d26108 /include/vcl
parentc93eb59b65d5cecb185b4dae11593149009a60bf (diff)
loplugin:unusedfields in vcl
Change-Id: I207866df495ec81bb9288e6d0f664b96d90251d6 Reviewed-on: https://gerrit.libreoffice.org/40217 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/vcl')
-rw-r--r--include/vcl/button.hxx5
-rw-r--r--include/vcl/menu.hxx8
-rw-r--r--include/vcl/opengl/OpenGLContext.hxx1
-rw-r--r--include/vcl/svapp.hxx12
-rw-r--r--include/vcl/throbber.hxx1
-rw-r--r--include/vcl/toolbox.hxx1
6 files changed, 0 insertions, 28 deletions
diff --git a/include/vcl/button.hxx b/include/vcl/button.hxx
index b469060661bf..3872a8c2c156 100644
--- a/include/vcl/button.hxx
+++ b/include/vcl/button.hxx
@@ -280,11 +280,6 @@ private:
bool mbRadioCheck;
bool mbStateChanged;
Link<RadioButton&,void> maToggleHdl;
- // when mbLegacyNoTextAlign is set then the old behaviour where
- // the WB_LEFT, WB_RIGHT & WB_CENTER affect the image placement
- // occurs, otherwise the image ( radiobutton circle ) is placed
- // to the left or right ( depending on RTL or LTR settings )
- bool mbLegacyNoTextAlign;
SAL_DLLPRIVATE void ImplInitRadioButtonData();
SAL_DLLPRIVATE WinBits ImplInitStyle( const vcl::Window* pPrevWindow, WinBits nStyle );
SAL_DLLPRIVATE void ImplInitSettings( bool bBackground );
diff --git a/include/vcl/menu.hxx b/include/vcl/menu.hxx
index 10c708f830b5..c828aae0baa3 100644
--- a/include/vcl/menu.hxx
+++ b/include/vcl/menu.hxx
@@ -116,13 +116,6 @@ struct ImplMenuDelData
bool isDeleted() const { return mpMenu == nullptr; }
};
-struct MenuLogo
-{
- BitmapEx aBitmap;
- Color aStartColor;
- Color aEndColor;
-};
-
typedef void (*MenuUserDataReleaseFunction)(sal_uLong);
class VCL_DLLPUBLIC Menu : public VclReferenceBase
@@ -137,7 +130,6 @@ class VCL_DLLPUBLIC Menu : public VclReferenceBase
private:
ImplMenuDelData* mpFirstDel;
std::unique_ptr<MenuItemList> pItemList; // list with MenuItems
- MenuLogo* pLogo;
VclPtr<Menu> pStartedFrom;
VclPtr<vcl::Window> pWindow;
diff --git a/include/vcl/opengl/OpenGLContext.hxx b/include/vcl/opengl/OpenGLContext.hxx
index 5fc88d6c0008..738f503269d2 100644
--- a/include/vcl/opengl/OpenGLContext.hxx
+++ b/include/vcl/opengl/OpenGLContext.hxx
@@ -200,7 +200,6 @@ private:
public:
vcl::Region maClipRegion;
- int mnPainting;
// Don't hold references to ourselves:
OpenGLContext *mpPrevContext;
diff --git a/include/vcl/svapp.hxx b/include/vcl/svapp.hxx
index eddce0abf324..d5b81b2a20a4 100644
--- a/include/vcl/svapp.hxx
+++ b/include/vcl/svapp.hxx
@@ -674,18 +674,6 @@ public:
///@{
- /** Call on all event hooks
-
- @param rEvt Reference to the notification event to send
- to the event hook.
-
- @return If any of the event hooks called upon fail with a non-zero
- status, then it stops processing any more event hooks and returns
- the error code as a long.
-
- */
- static long CallEventHooks( NotifyEvent& rEvt );
-
/** Add a VCL event listener to the application. If no event listener exists,
then initialize the application's event listener with a new one, then add
the event listener.
diff --git a/include/vcl/throbber.hxx b/include/vcl/throbber.hxx
index 91906c41aeae..a7fccb02a17a 100644
--- a/include/vcl/throbber.hxx
+++ b/include/vcl/throbber.hxx
@@ -80,7 +80,6 @@ private:
sal_Int32 mnStepTime;
sal_Int32 mnCurStep;
AutoTimer maWaitTimer;
- ImageSet meImageSet;
DECL_LINK( TimeOutHdl, Timer*, void );
};
diff --git a/include/vcl/toolbox.hxx b/include/vcl/toolbox.hxx
index 7412452e8948..5136a343612a 100644
--- a/include/vcl/toolbox.hxx
+++ b/include/vcl/toolbox.hxx
@@ -103,7 +103,6 @@ private:
Idle *mpIdle;
tools::Rectangle maUpperRect;
tools::Rectangle maLowerRect;
- tools::Rectangle maOutDockRect;
tools::Rectangle maInDockRect;
tools::Rectangle maPaintRect;
VclPtr<FloatingWindow> mpFloatWin;