summaryrefslogtreecommitdiff
path: root/basctl/source/basicide
diff options
context:
space:
mode:
authorArnaud Versini <arnaud.versini@libreoffice.org>2021-03-07 11:38:09 +0100
committerNoel Grandin <noel.grandin@collabora.co.uk>2021-03-08 08:20:29 +0100
commit486258be7950e06cacbb3ae403129b57e3625995 (patch)
tree730aa860aa9d7610c5982480933f2cab5a83e7cc /basctl/source/basicide
parentc7b898df4d452746399621f6adc8e7da088f0f3a (diff)
BASIC : simplify BaseWindow initialization.
Change-Id: If12b32fa7cf19341a2de1a4c0efb156075ff6ec5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112122 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'basctl/source/basicide')
-rw-r--r--basctl/source/basicide/bastypes.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/basctl/source/basicide/bastypes.cxx b/basctl/source/basicide/bastypes.cxx
index 27b19fa4b3b5..2d1cfa6f0b76 100644
--- a/basctl/source/basicide/bastypes.cxx
+++ b/basctl/source/basicide/bastypes.cxx
@@ -55,13 +55,13 @@ using namespace ::com::sun::star;
BaseWindow::BaseWindow( vcl::Window* pParent, const ScriptDocument& rDocument, const OUString& aLibName, const OUString& aName )
:Window( pParent, WinBits( WB_3DLOOK ) )
+ ,pShellHScrollBar( nullptr)
+ ,pShellVScrollBar( nullptr)
+ ,nStatus( 0)
,m_aDocument( rDocument )
,m_aLibName( aLibName )
,m_aName( aName )
{
- pShellHScrollBar = nullptr;
- pShellVScrollBar = nullptr;
- nStatus = 0;
}
BaseWindow::~BaseWindow()