summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2012-09-12 15:35:05 -0400
committerKohei Yoshida <kohei.yoshida@gmail.com>2012-09-13 23:48:45 -0400
commit732f3546c4051d92e544df6462022e7d07765e83 (patch)
tree5447336d954cb37822bb52474d6f1d29125a40f8 /sc
parentff0e6c53782196fe1fc223ae08964a34eb20f740 (diff)
Let's just remove this.
Commit 291c919cf98347703e7ad2216b2b79aacd7cdfac made this dangling code block. Change-Id: Id8d09f1c364d621661c9d6584cd863f253c01d95
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/data/fillinfo.cxx13
1 files changed, 2 insertions, 11 deletions
diff --git a/sc/source/core/data/fillinfo.cxx b/sc/source/core/data/fillinfo.cxx
index 1ee5a51c85a6..65b93cb72f43 100644
--- a/sc/source/core/data/fillinfo.cxx
+++ b/sc/source/core/data/fillinfo.cxx
@@ -511,17 +511,8 @@ void ScDocument::FillInfo( ScTableInfo& rTabInfo, SCCOL nX1, SCROW nY1, SCCOL nX
pInfo->pShadowAttr = pShadowAttr;
// nWidth wird nicht mehr einzeln gesetzt
- bool bEmbed = false; //bIsEmbedded &&
-#if 0 // Huh? Is this intentional or accidental? Clang warns
- // "expression result unused", so ifdef out these lines. The
- // code has been like this since 2004.
- nTab >= aEmbedRange.aStart.Tab() &&
- nTab <= aEmbedRange.aEnd.Tab() &&
- nX >= aEmbedRange.aStart.Col() &&
- nX <= aEmbedRange.aEnd.Col() &&
- nCurRow >= aEmbedRange.aStart.Row() &&
- nCurRow <= aEmbedRange.aEnd.Row();
-#endif
+ bool bEmbed = false;
+
if (bScenario)
{
pInfo->pBackground = ScGlobal::GetButtonBrushItem();