basic/source/inc/runtime.hxx | 2 +- basic/source/runtime/runtime.cxx | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-)
New commits: commit 8c0059e1c997d08133cb691c1daad8693d991d2f Author: Noel Grandin <noel.gran...@collabora.co.uk> AuthorDate: Mon Sep 30 09:49:23 2019 +0200 Commit: Noel Grandin <noel.gran...@collabora.co.uk> CommitDate: Tue Oct 1 09:05:53 2019 +0200 loplugin:duplicate-defines in basic Change-Id: I0e400bdd9cfc5fd123c574e05c4aca55b782395f Reviewed-on: https://gerrit.libreoffice.org/79831 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.gran...@collabora.co.uk> diff --git a/basic/source/inc/runtime.hxx b/basic/source/inc/runtime.hxx index 11da4275c77b..532f0d9a4b17 100644 --- a/basic/source/inc/runtime.hxx +++ b/basic/source/inc/runtime.hxx @@ -81,7 +81,7 @@ struct SbiForStack { // for/next stack: {} }; -#define MAXRECURSION 500 +#define MAXRECURSION 500 //to prevent dead-recursions enum class SbAttributes { NONE = 0x0000, diff --git a/basic/source/runtime/runtime.cxx b/basic/source/runtime/runtime.cxx index 59daf1531d2a..52f7c645c640 100644 --- a/basic/source/runtime/runtime.cxx +++ b/basic/source/runtime/runtime.cxx @@ -119,8 +119,6 @@ struct SbiArgv { // Argv stack: nArgc(nArgc_) {} }; -#define MAXRECURSION 500 //to prevent dead-recursions - struct SbiGosub { // GOSUB-Stack: const sal_uInt8* pCode; // Return-Pointer sal_uInt16 nStartForLvl; // #118235: For Level in moment of gosub _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits