summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-03-30 02:55:18 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2016-03-30 04:05:06 +0000
commit2c69316037e29db52393d898100e6593a6cd5a24 (patch)
tree412cad1ed5ddab23db461ecb261757bee1948463
parentextract another function from ScDocument::FillInfo (diff)
downloadcore-2c69316037e29db52393d898100e6593a6cd5a24.tar.gz
core-2c69316037e29db52393d898100e6593a6cd5a24.zip
add TODO comment for a bug
This bug is the first one that was discovered because it is now much easier to see which parts of the code work on cells, pattern areas and whole columns/rows. Change-Id: I8f22bf421298947d65bfc2fc9c986d85169e6545 Reviewed-on: https://gerrit.libreoffice.org/23636 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
-rw-r--r--sc/source/core/data/fillinfo.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sc/source/core/data/fillinfo.cxx b/sc/source/core/data/fillinfo.cxx
index 384e3ae4a973..b32f48327e51 100644
--- a/sc/source/core/data/fillinfo.cxx
+++ b/sc/source/core/data/fillinfo.cxx
@@ -363,6 +363,8 @@ bool handleConditionalFormat(ScConditionalFormatList* pCondFormList, const std::
pInfo->pConditionSet = &pStyleSheet->GetItemSet();
bAnyCondition = true;
+ // TODO: moggi: looks like there is a but around bHidden and bHideFormula
+ // They are normally for the whole pattern and not for a single cell
// we need to check already here for protected cells
const SfxPoolItem* pItem;
if ( bTabProtect && pInfo->pConditionSet->GetItemState( ATTR_PROTECTION, true, &pItem ) == SfxItemState::SET )