summaryrefslogtreecommitdiff
path: root/oox/source/drawingml
diff options
context:
space:
mode:
authorCaolán McNamara <caolan.mcnamara@collabora.com>2024-01-14 21:24:33 +0000
committerCaolán McNamara <caolan.mcnamara@collabora.com>2024-01-15 09:42:24 +0100
commitcb16c98aeff98dd14929d82130508a1516baf6ae (patch)
treefb79ef85646b04e2e017a56f6d179ce8860fe930 /oox/source/drawingml
parent88dc47367938fe274871819900bdf87fee5aeacd (diff)
cid#1545843 COPY_INSTEAD_OF_MOVE
and cid#1545976 COPY_INSTEAD_OF_MOVE cid#1546073 COPY_INSTEAD_OF_MOVE cid#1546499 COPY_INSTEAD_OF_MOVE just silence these with a hammer Change-Id: I071bc9814287944928eea0286455bc59f7f6cefb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/162062 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Diffstat (limited to 'oox/source/drawingml')
-rw-r--r--oox/source/drawingml/table/predefined-table-styles.cxx13
1 files changed, 5 insertions, 8 deletions
diff --git a/oox/source/drawingml/table/predefined-table-styles.cxx b/oox/source/drawingml/table/predefined-table-styles.cxx
index 26b05612d010..7df96036137d 100644
--- a/oox/source/drawingml/table/predefined-table-styles.cxx
+++ b/oox/source/drawingml/table/predefined-table-styles.cxx
@@ -238,10 +238,6 @@ std::unique_ptr<TableStyle> CreateTableStyle(const OUString& styleId)
::oox::drawingml::Color firstColTextColor;
::oox::drawingml::Color lastRowTextColor;
::oox::drawingml::Color lastColTextColor;
- ::oox::drawingml::Color band1HTextColor;
- ::oox::drawingml::Color band1VTextColor;
- ::oox::drawingml::Color band2HTextColor;
- ::oox::drawingml::Color band2VTextColor;
// Fill properties definitions for table parts
@@ -900,10 +896,11 @@ std::unique_ptr<TableStyle> CreateTableStyle(const OUString& styleId)
pTableStyle->getFirstCol().getTextColor() = firstColTextColor;
pTableStyle->getLastRow().getTextColor() = lastRowTextColor;
pTableStyle->getLastCol().getTextColor() = lastColTextColor;
- pTableStyle->getBand1H().getTextColor() = band1HTextColor;
- pTableStyle->getBand1V().getTextColor() = band1VTextColor;
- pTableStyle->getBand2H().getTextColor() = band2HTextColor;
- pTableStyle->getBand2V().getTextColor() = band2VTextColor;
+
+ pTableStyle->getBand1H().getTextColor() = ::oox::drawingml::Color(); //band1HTextColor
+ pTableStyle->getBand1V().getTextColor() = ::oox::drawingml::Color(); //band1VTextColor
+ pTableStyle->getBand2H().getTextColor() = ::oox::drawingml::Color(); //band2HTextColor
+ pTableStyle->getBand2V().getTextColor() = ::oox::drawingml::Color(); //band2VTextColor
pTableStyle->getBackgroundFillProperties() = pTblBgFillProperties;
pTableStyle->getWholeTbl().getFillProperties() = pWholeTblFillProperties;