diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-09-30 09:49:23 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2019-10-01 09:05:53 +0200 |
commit | 8c0059e1c997d08133cb691c1daad8693d991d2f (patch) | |
tree | e9cd314780f1340afb2dc9444bad24fddaa2da72 /basic | |
parent | 12273af6f18edade1bdda828fe270fa37960e14f (diff) |
loplugin:duplicate-defines in basic
Change-Id: I0e400bdd9cfc5fd123c574e05c4aca55b782395f
Reviewed-on: https://gerrit.libreoffice.org/79831
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'basic')
-rw-r--r-- | basic/source/inc/runtime.hxx | 2 | ||||
-rw-r--r-- | basic/source/runtime/runtime.cxx | 2 |
2 files changed, 1 insertions, 3 deletions
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 |