summaryrefslogtreecommitdiff
path: root/svx/source/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-04-07 14:45:20 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-04-10 08:51:52 +0200
commit67af00a76a3bb86790447e2b223b03c5dddacc4a (patch)
tree0000760e720b469c581bab1c82974e51b3e9f52d /svx/source/inc
parentdc6f945f9ff7459a18e4d67af4899c57d58bf030 (diff)
new loplugin:inlinefields
look for fields which can be declared inline in the parent class. start with some likely candidates in svx Change-Id: I56cdca273272b72bb728ed2e3f5e1e976f8c7c32 Reviewed-on: https://gerrit.libreoffice.org/36262 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'svx/source/inc')
-rw-r--r--svx/source/inc/formcontroller.hxx4
-rw-r--r--svx/source/inc/svxpixelctlaccessiblecontext.hxx2
-rw-r--r--svx/source/inc/svxrectctaccessiblecontext.hxx3
3 files changed, 5 insertions, 4 deletions
diff --git a/svx/source/inc/formcontroller.hxx b/svx/source/inc/formcontroller.hxx
index 5ee325731154..7fe54a170052 100644
--- a/svx/source/inc/formcontroller.hxx
+++ b/svx/source/inc/formcontroller.hxx
@@ -166,8 +166,8 @@ namespace svxform
Idle m_aTabActivationIdle;
Timer m_aFeatureInvalidationTimer;
- ::svxform::ControlBorderManager*
- m_pControlBorderManager;
+ ::svxform::ControlBorderManager
+ m_aControlBorderManager;
css::uno::Reference< css::form::runtime::XFormOperations >
m_xFormOperations;
diff --git a/svx/source/inc/svxpixelctlaccessiblecontext.hxx b/svx/source/inc/svxpixelctlaccessiblecontext.hxx
index 827fab99a0b2..618801734d3d 100644
--- a/svx/source/inc/svxpixelctlaccessiblecontext.hxx
+++ b/svx/source/inc/svxpixelctlaccessiblecontext.hxx
@@ -69,7 +69,7 @@ class SvxPixelCtlAccessibleChild :
SvxPixelCtl& mrParentWindow;
css::uno::Reference< css::accessibility::XAccessible > mxParent;
bool m_bPixelColorOrBG;//Pixel Color Or BackGround Color
- tools::Rectangle* mpBoundingBox;
+ tools::Rectangle maBoundingBox;
/// index of child in parent
long mnIndexInParent;
public:
diff --git a/svx/source/inc/svxrectctaccessiblecontext.hxx b/svx/source/inc/svxrectctaccessiblecontext.hxx
index 1a71e781d2ef..5cfe6f87d288 100644
--- a/svx/source/inc/svxrectctaccessiblecontext.hxx
+++ b/svx/source/inc/svxrectctaccessiblecontext.hxx
@@ -45,6 +45,7 @@
#include <comphelper/servicehelper.hxx>
#include <svx/rectenum.hxx>
#include <vcl/vclptr.hxx>
+#include <tools/gen.hxx>
namespace com { namespace sun { namespace star { namespace awt {
struct Point;
@@ -437,7 +438,7 @@ private:
mxParent;
/// Bounding box
- tools::Rectangle* mpBoundingBox;
+ tools::Rectangle maBoundingBox;
/// window of parent
const vcl::Window& mrParentWindow;