summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-08-17 10:50:34 +0100
committerEike Rathke <erack@redhat.com>2018-08-17 20:23:08 +0200
commitbc28d51cb88c796da241d1ab914bbe6bb174cc49 (patch)
tree8bb7a1d28971f76a54df67a6a344c81f651e140a /sc
parent2291c110738266abb42cb592df04c1220ddc4998 (diff)
ofz: make ValidNewTabName faster wrt collisions
Change-Id: Id2058719c3bc822518faa922a6cd0409b4088ac7 Reviewed-on: https://gerrit.libreoffice.org/59253 Tested-by: Jenkins Reviewed-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'sc')
-rw-r--r--sc/qa/unit/data/fods/SlowValidNewTabName1.fods408
-rw-r--r--sc/source/core/data/document.cxx19
2 files changed, 420 insertions, 7 deletions
diff --git a/sc/qa/unit/data/fods/SlowValidNewTabName1.fods b/sc/qa/unit/data/fods/SlowValidNewTabName1.fods
new file mode 100644
index 000000000000..3f5dd3fc4115
--- /dev/null
+++ b/sc/qa/unit/data/fods/SlowValidNewTabName1.fods
@@ -0,0 +1,408 @@
+<?xml version="1.0"?>
+<office:document xmlns:config="urn:oasis:names:tc:opendocument:xmlns:config:1.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:draw="urn:oasis:names:tc:opendocument:xmlns:drawing:1.0" xmlns:fo="urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0" xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:ooo="http://openoffice.org/2004/office" xmlns:style="urn:oasis:names:tc:opendocument:xmlns:style:1.0" xmlns:svg="urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0" xmlns:table="urn:oasis:names:tc:opendocument:xmlns:table:1.0" xmlns:text="urn:oasis:names:tc:opendocument:xmlns:text:1.0" office:mimetype="application/vnd.oasis.opendocument.presentation" office:version="1.0">
+ <office:settings>
+ <config:config-item-set config:name="ooo:view-settings">
+ <config:config-item config:name="VisibleAreaTop" config:type="int">0</config:config-item>
+ <config:config-item config:name="VisibleAreaHeight" config:type="int">27093</config:config-item>
+ </config:config-item-set>
+ </office:settings>
+ <office:styles/>
+ <office:font-face-decls>
+ <style:font-face style:font-charset="x-symbol" style:name="StarSymbol" svg:font-family="StarSymbol"/>
+ </office:font-face-decls>
+ <office:automatic-styles>
+ <style:style style:family="table" style:name="Table0">
+ <style:table-properties table:align="center"/>
+ </style:style>
+ <style:style style:family="table-column" style:name="Table0.Column1">
+ 9style:table-column-properties style:column-width="3.8194in"/>
+ ties draw:fill="none" draw:textarea-horizontal-align="center" fo:padding="0.0382in"/>
+ <style:paragraph-properties fo:border="0.03pt solid #000000"/>
+ </style:style>
+ </office:automatic-styles>
+ <office:master-styles>
+ <style:master-page draw:style-name="dp2" style:name="Default" style:page-layout-name="PM0"/>
+ <style:master-page draw:style-name="dp1" style:name="Default" style:page-layout-name="PM0"/>
+ <style:master-page draw:style-name="dp1" style:name="Defluat" style:page-layout-name="PM0"/>
+ <style:master-page draw:style-name="dp1" style:name="Default" style:page-layout-name="PM0"/>
+ <style:master-page draw:style-name="dp1" style:name="Default" style:page-layout-name="PM0"/>
+ <style:master-page draw:style-name="dp1" style:name="Default" style:page-layout-name="PM0"/>
+ </office:master-styles>
+ <office:body>
+ NMTOKENSe:presentation>
+ <draw:page draw:master-page-name="Default" draw:name="page1" draw:style-name="dp1">
+ <drawrf:ame draw:style-name="standard" svg:height="7.9028in" svg:width="11.4583in" svg:x="1.3750in" svg:y="1.3750in">
+ <table:table table:nameout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp1" style:name="Default" style:page-layout-name="PM5"/>
+ <table:table table:name="Table34028236692093840282366920938463463374607431768211457" table:stye="dp65536" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="TKble1" table:stye="dp2" style:name="Default" style:page-layout-name="PM-1"/>
+ <table:table table:name="Table9223372036854775809" table:stye="dp1" style:name="Default" style:page-layout-name="PM-1"/>
+ <table:table table:name="Table1" table:stye="dp1" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table34028236692093840282366920938463463374607431768211457" table:stye="dp65536" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="TKble1" table:stye="dp2" style:name="Default" style:page-layout-name="PM-18446744073709551615"/><table:table table:name="TKble1" table:stye="dp2" style:name="Default" style:page-layout-name="PM-0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp65537" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp12" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM1"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp17" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp10" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1" table:stye="dp11" style:name="Default" style:page-layout-name="PM0"/>
+ <table:table table:name="Table1""Table1" table:stye="dp-110934265694169852" style:name="Default" style:page-layo \ No newline at end of file
diff --git a/sc/source/core/data/document.cxx b/sc/source/core/data/document.cxx
index 6f68e4669338..5df5d77c2365 100644
--- a/sc/source/core/data/document.cxx
+++ b/sc/source/core/data/document.cxx
@@ -375,13 +375,18 @@ bool ScDocument::ValidTabName( const OUString& rName )
bool ScDocument::ValidNewTabName( const OUString& rName ) const
{
bool bValid = ValidTabName(rName);
- TableContainer::const_iterator it = maTabs.begin();
- for (; it != maTabs.end() && bValid; ++it)
- if ( *it )
- {
- OUString aOldName = (*it)->GetName();
- bValid = !ScGlobal::GetpTransliteration()->isEqual( rName, aOldName );
- }
+ if (!bValid)
+ return false;
+ OUString aUpperName = ScGlobal::pCharClass->uppercase(rName);
+ for (const auto& a : maTabs)
+ {
+ if (!a)
+ continue;
+ const OUString& rOldName = a->GetUpperName();
+ bValid = rOldName != aUpperName;
+ if (!bValid)
+ break;
+ }
return bValid;
}