The code seems to be in JaxbPmlPart
- Code: Select all
61 protected static Random random = new Random();
62
63 protected long getSlideLayoutOrMasterId() {
64 // See spec 4.8.18 (ST_SlideLayoutId) and 4.8.20 (ST_SlideMasterId)
65 long val = random.nextInt(2147483647) + 2147483648l;
66 return val;
67 }
68 protected long getSlideId() {
69 // See spec 4.8.17 (ST_SlideId)
70 long val = random.nextInt(2147483392) + 256;
71 return val;
72 }
Does this not introduce a possible corruption where Ids can clash? (or am i missing something - which is perhaps likely). Admittedly this is unlikely, but does not seem impossible.