basctl/source/basicide/bastypes.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
New commits: commit 486258be7950e06cacbb3ae403129b57e3625995 Author: Arnaud Versini <arnaud.vers...@libreoffice.org> AuthorDate: Sun Mar 7 11:38:09 2021 +0100 Commit: Noel Grandin <noel.gran...@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.gran...@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() _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits