summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2013-02-11 23:02:40 +0100
committerJulien Nabet <serval2412@yahoo.fr>2013-02-11 23:03:38 +0100
commit9e5e1dc6897bcdd81d86282f2df86d762d462972 (patch)
tree9a355bdf496d9938c4174f60edc46019ce6043a8
parent684951f14679e2f73cd9ed8123c48fc9ab61515a (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.cxx7
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 )
{