summaryrefslogtreecommitdiff
path: root/compilerplugins
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@collabora.com>2022-03-10 15:03:25 +0100
committerLuboš Luňák <l.lunak@collabora.com>2022-04-14 10:16:21 +0200
commit8113cc4aac983d0b04df765efa630d1f8c9dbace (patch)
tree010f1cdcc2256d0626a328bb52b9e1936e0f10a9 /compilerplugins
parent7252170e4e1ea7348b8c66022dcec8002541ea8e (diff)
load ods/xlsx with full row attributes without allocating all columns
If there's e.g. an entire row bold, it's enough to set default attribute for unallocated columns. This also reverts the workaround from commit 297ab561c6754, as it's no longer necessary. Change-Id: I0b208709aeaff1c0d59da2410926876715cfe642 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131320 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
Diffstat (limited to 'compilerplugins')
-rw-r--r--compilerplugins/clang/redundantfcast.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/compilerplugins/clang/redundantfcast.cxx b/compilerplugins/clang/redundantfcast.cxx
index 67ff2c56edef..2cfe5183ed46 100644
--- a/compilerplugins/clang/redundantfcast.cxx
+++ b/compilerplugins/clang/redundantfcast.cxx
@@ -329,7 +329,8 @@ public:
if (fn == SRCDIR "/bridges/source/jni_uno/jni_bridge.cxx")
return false;
// TODO constructing a temporary to pass to a && param
- if (fn == SRCDIR "/sc/source/ui/view/viewfunc.cxx")
+ if (fn == SRCDIR "/sc/source/ui/view/viewfunc.cxx"
+ || fn == SRCDIR "/sc/source/core/data/table2.cxx")
return false;
// tdf#145203: FIREBIRD cannot create a table
if (fn == SRCDIR "/connectivity/source/drivers/firebird/DatabaseMetaData.cxx")