summaryrefslogtreecommitdiffstats
path: root/sc/qa/unit/ucalc_sharedformula.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/qa/unit/ucalc_sharedformula.cxx')
-rw-r--r--sc/qa/unit/ucalc_sharedformula.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/sc/qa/unit/ucalc_sharedformula.cxx b/sc/qa/unit/ucalc_sharedformula.cxx
index 7cb85e8c9bbf..b67880171d63 100644
--- a/sc/qa/unit/ucalc_sharedformula.cxx
+++ b/sc/qa/unit/ucalc_sharedformula.cxx
@@ -599,6 +599,8 @@ void Test::testSharedFormulasRefUpdateRange()
m_pDoc->DeleteTab(0);
}
+namespace {
+
struct SortByArea
{
bool operator ()( const sc::AreaListener& rLeft, const sc::AreaListener& rRight ) const
@@ -622,6 +624,8 @@ struct SortByArea
}
};
+}
+
void Test::testSharedFormulasRefUpdateRangeDeleteRow()
{
sc::AutoCalcSwitch aACSwitch(*m_pDoc, true); // turn on auto calc.