summaryrefslogtreecommitdiff
path: root/basic/source/inc/filefmt.hxx
diff options
context:
space:
mode:
authorLaurent Godard <lgodard.libre@laposte.net>2015-09-18 17:06:29 +0200
committerCaolán McNamara <caolanm@redhat.com>2015-10-01 16:36:05 +0100
commitddb45261590939d884ac2bcb1fd258de7b2370da (patch)
treea3d3e5c7117c48355429dbf80b421a2df3ede2a5 /basic/source/inc/filefmt.hxx
parentcb81ca35d4d4db27f8bd3322fc16aa73d9cf38bb (diff)
tdf#94617 allow to store nStart information greater than sal_Int16 limit
- preserve backward compatibility - nDebugFlag is stored but not used when loaded - Flag nDebugFlag set the top bit to 1 - stores the multiplier of sal_Int16 limit to reach nStart - in load, test this flag bit - rebuild correct nStart - new B_CURVERSION file format for binary storage macro - unit test for big modules Reviewed-on: https://gerrit.libreoffice.org/18926 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit db17079fcff6f9a068c499b17f2501cc4c82d10b) Change-Id: Iaa037982d828fef7195615e6eda546b7199a4fe8
Diffstat (limited to 'basic/source/inc/filefmt.hxx')
-rw-r--r--basic/source/inc/filefmt.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/basic/source/inc/filefmt.hxx b/basic/source/inc/filefmt.hxx
index db0b1f6e919f..c9d6ba7c8f95 100644
--- a/basic/source/inc/filefmt.hxx
+++ b/basic/source/inc/filefmt.hxx
@@ -40,11 +40,12 @@ class SvStream;
// Version 11: #29955 force anew compilation because of build-inconsistences
// Version 12: aoo#64377 increase code size that basic can handle
// tdf#75973 support user defined types B_USERTYPES in password protected macros
+// Version 13: tdf#94617 store methods nStart information greater than sal_Int16 limit
//
#define B_LEGACYVERSION 0x00000011L
#define B_EXT_IMG_VERSION 0x00000012L
-#define B_CURVERSION 0x00000012L
+#define B_CURVERSION 0x00000013L
// The file contains either a module- or a library-record.
// Those records contain further records. Every record's got