diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2013-02-11 23:02:40 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2013-02-11 23:03:38 +0100 |
commit | 9e5e1dc6897bcdd81d86282f2df86d762d462972 (patch) | |
tree | 9a355bdf496d9938c4174f60edc46019ce6043a8 | |
parent | 684951f14679e2f73cd9ed8123c48fc9ab61515a (diff) |
Remove uncalled block
See http://nabble.documentfoundation.org/Cppcheck-quot-bEmbed-quot-always-false-gt-block-never-called-in-fillinfo-cxx-sc-module-td4036346.html
Change-Id: I2fc95bf3ef8eb8d05c4f7d85ad45a72d54669eef
-rw-r--r-- | sc/source/core/data/fillinfo.cxx | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/sc/source/core/data/fillinfo.cxx b/sc/source/core/data/fillinfo.cxx index 0b27fb63893b..9c10c9cd7717 100644 --- a/sc/source/core/data/fillinfo.cxx +++ b/sc/source/core/data/fillinfo.cxx @@ -504,18 +504,11 @@ void ScDocument::FillInfo( ScTableInfo& rTabInfo, SCCOL nX1, SCROW nY1, SCCOL nX pInfo->pShadowAttr = pShadowAttr; // nWidth wird nicht mehr einzeln gesetzt - bool bEmbed = false; - if (bScenario) { pInfo->pBackground = ScGlobal::GetButtonBrushItem(); pThisRowInfo->bEmptyBack = false; } - else if (bEmbed) - { - pInfo->pBackground = ScGlobal::GetEmbeddedBrushItem(); - pThisRowInfo->bEmptyBack = false; - } if ( bContainsCondFormat ) { |