summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2013-03-08 11:37:03 -0500
committerKohei Yoshida <kohei.yoshida@gmail.com>2013-03-08 12:01:41 -0500
commitcba1509b63d9996431f95ab0b12882601d6621bf (patch)
treebf422e26155683e6bed844d974852d1b18ecfb4e /sc
parent34aa49e81d0522d99141df362bc7ff7aa90d530c (diff)
A little cleanup.
Change-Id: I244b32545548ad882a80f8b0d5128b8620d9fba0
Diffstat (limited to 'sc')
-rw-r--r--sc/inc/docuno.hxx2
-rw-r--r--sc/source/ui/unoobj/docuno.cxx12
2 files changed, 3 insertions, 11 deletions
diff --git a/sc/inc/docuno.hxx b/sc/inc/docuno.hxx
index 4aa8aab990f7..8659d4724cba 100644
--- a/sc/inc/docuno.hxx
+++ b/sc/inc/docuno.hxx
@@ -120,7 +120,7 @@ public:
ScDocument* GetDocument() const;
SfxObjectShell* GetEmbeddedObject() const;
- void UpdateAllRowHeights( const ScMarkData* pTabMark = NULL, bool bCalcOutputFactor = false );
+ void UpdateAllRowHeights();
void BeforeXMLLoading();
void AfterXMLLoading(sal_Bool bRet);
diff --git a/sc/source/ui/unoobj/docuno.cxx b/sc/source/ui/unoobj/docuno.cxx
index feb3eb8bae27..18b9e5b6b7af 100644
--- a/sc/source/ui/unoobj/docuno.cxx
+++ b/sc/source/ui/unoobj/docuno.cxx
@@ -412,18 +412,10 @@ SfxObjectShell* ScModelObj::GetEmbeddedObject() const
return pDocShell;
}
-void ScModelObj::UpdateAllRowHeights(const ScMarkData* pTabMark, bool bCalcOutputFactor)
+void ScModelObj::UpdateAllRowHeights()
{
if (pDocShell)
- {
-#ifdef FIXME_REMOVE_WHEN_RE_BASE_COMPLETE
- if (bCalcOutputFactor)
- pDocShell->CalcOutputFactor();
-#else
- (void)bCalcOutputFactor;
-#endif
- pDocShell->UpdateAllRowHeights(pTabMark);
- }
+ pDocShell->UpdateAllRowHeights(NULL);
}
void ScModelObj::BeforeXMLLoading()