[Libreoffice-commits] core.git: sc/source
Julien Nabet
serval2412 at yahoo.fr
Mon Feb 11 14:05:36 PST 2013
sc/source/core/data/fillinfo.cxx | 7 -------
1 file changed, 7 deletions(-)
New commits:
commit 9e5e1dc6897bcdd81d86282f2df86d762d462972
Author: Julien Nabet <serval2412 at yahoo.fr>
Date: Mon Feb 11 23:02:40 2013 +0100
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
diff --git a/sc/source/core/data/fillinfo.cxx b/sc/source/core/data/fillinfo.cxx
index 0b27fb6..9c10c9c 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 )
{
More information about the Libreoffice-commits
mailing list