From cb16c98aeff98dd14929d82130508a1516baf6ae Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Sun, 14 Jan 2024 21:24:33 +0000 Subject: cid#1545843 COPY_INSTEAD_OF_MOVE MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- oox/source/drawingml/table/predefined-table-styles.cxx | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'oox/source/drawingml') 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 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 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; -- cgit