From 0f98bcdf4d47193fa0fe38a5fc04218bdbb7d886 Mon Sep 17 00:00:00 2001 From: Arnaud Versini Date: Sat, 9 Oct 2021 20:54:09 +0200 Subject: basic: simplifiy class initialization Change-Id: I87fa2f606011aab8e34d9445d9e9299786f05747 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/123324 Tested-by: Jenkins Reviewed-by: Arnaud Versini --- basic/source/runtime/runtime.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'basic/source/runtime/runtime.cxx') diff --git a/basic/source/runtime/runtime.cxx b/basic/source/runtime/runtime.cxx index 5c27b84223f7..2d7b988d7647 100644 --- a/basic/source/runtime/runtime.cxx +++ b/basic/source/runtime/runtime.cxx @@ -290,9 +290,9 @@ const SbiRuntime::pStep2 SbiRuntime::aStep2[] = {// all opcodes with two operand // SbiRTLData SbiRTLData::SbiRTLData() + : nDirFlags(SbAttributes::NONE) + , nCurDirPos(0) { - nDirFlags = SbAttributes::NONE; - nCurDirPos = 0; } SbiRTLData::~SbiRTLData() -- cgit