summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-09-11 12:36:29 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-09-11 18:17:58 +0200
commit83a962578f616ae4ff215fa782763f2045a20bcc (patch)
tree4286476b26081960248ea63752822d9589db6d0f /include
parent591db0f97b6084723c138a01d5f336b1f1a3a639 (diff)
loplugin:simplifyconstruct in svtools..svx
Change-Id: Ia20fac7cec01ac658a903f8b001807b2e72dbf3e Reviewed-on: https://gerrit.libreoffice.org/60316 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include')
-rw-r--r--include/svtools/asynclink.hxx4
-rw-r--r--include/svtools/editbrowsebox.hxx3
-rw-r--r--include/svx/hlnkitem.hxx2
3 files changed, 2 insertions, 7 deletions
diff --git a/include/svtools/asynclink.hxx b/include/svtools/asynclink.hxx
index 5f4a33b2fee8..5a5c891ef97a 100644
--- a/include/svtools/asynclink.hxx
+++ b/include/svtools/asynclink.hxx
@@ -51,19 +51,15 @@ public:
AsynchronLink( const Link<void*,void>& rLink )
: _aLink( rLink )
, _nEventId( nullptr )
- , _pIdle( nullptr )
, _bInCall( false )
, _pDeleted( nullptr )
, _pArg( nullptr )
- , _pMutex( nullptr )
{}
AsynchronLink()
: _nEventId( nullptr )
- , _pIdle( nullptr )
, _bInCall( false )
, _pDeleted( nullptr )
, _pArg( nullptr )
- , _pMutex( nullptr )
{}
~AsynchronLink();
diff --git a/include/svtools/editbrowsebox.hxx b/include/svtools/editbrowsebox.hxx
index 2c66a3cb612e..3a6d897405c0 100644
--- a/include/svtools/editbrowsebox.hxx
+++ b/include/svtools/editbrowsebox.hxx
@@ -457,8 +457,7 @@ namespace svt
public:
BrowserMouseEventPtr()
- : pEvent(nullptr)
- , bDown(false)
+ : bDown(false)
{
}
diff --git a/include/svx/hlnkitem.hxx b/include/svx/hlnkitem.hxx
index ad4aaf164a70..0762556f2428 100644
--- a/include/svx/hlnkitem.hxx
+++ b/include/svx/hlnkitem.hxx
@@ -61,7 +61,7 @@ public:
static SfxPoolItem* CreateDefault();
SvxHyperlinkItem( sal_uInt16 _nWhich = SID_HYPERLINK_GETLINK ):
- SfxPoolItem(_nWhich), pMacroTable(nullptr) { eType = HLINK_DEFAULT; nMacroEvents=HyperDialogEvent::NONE; };
+ SfxPoolItem(_nWhich) { eType = HLINK_DEFAULT; nMacroEvents=HyperDialogEvent::NONE; };
SvxHyperlinkItem( const SvxHyperlinkItem& rHyperlinkItem );
SvxHyperlinkItem( sal_uInt16 nWhich, const OUString& rName, const OUString& rURL,
const OUString& rTarget, const OUString& rIntName,