[Libreoffice-commits] core.git: basctl/source
Arnaud Versini (via logerrit)
logerrit at kemper.freedesktop.org
Mon Mar 8 07:21:10 UTC 2021
basctl/source/basicide/bastypes.cxx | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 486258be7950e06cacbb3ae403129b57e3625995
Author: Arnaud Versini <arnaud.versini at libreoffice.org>
AuthorDate: Sun Mar 7 11:38:09 2021 +0100
Commit: Noel Grandin <noel.grandin at collabora.co.uk>
CommitDate: Mon Mar 8 08:20:29 2021 +0100
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 at collabora.co.uk>
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()
More information about the Libreoffice-commits
mailing list