summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2018-09-13 20:34:05 +0200
committerStephan Bergmann <sbergman@redhat.com>2018-09-14 09:10:00 +0200
commit1cb4dc25a9d45e748d637177ac2a15a68debc162 (patch)
tree1cc3a4eca5f6659582c3ff40f2d5d28443ad02e4
parentfa652c4062d87e85e84a86c717d6059d667dfbf5 (diff)
Remove MSVC workaround from 2002
...introduced with fec05c3deabec6299eec87fa481b7e50b6fb29f5 "#90279# performance: DoSubTotals: collect formula cell positions and put cells after InsertRow calls to not have them inspected for updates again" and hopefully no longer necessary Change-Id: I2cd781c81defb3838612d460e8234fd4de97b88d Reviewed-on: https://gerrit.libreoffice.org/60459 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
-rw-r--r--sc/source/core/data/table3.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/sc/source/core/data/table3.cxx b/sc/source/core/data/table3.cxx
index 94c86f5eb8c2..c90f60bb55c1 100644
--- a/sc/source/core/data/table3.cxx
+++ b/sc/source/core/data/table3.cxx
@@ -1935,15 +1935,14 @@ static void lcl_RemoveNumberFormat( ScTable* pTab, SCCOL nCol, SCROW nRow )
}
}
-// at least MSC needs this at linkage level to be able to use it in a template
-typedef struct lcl_ScTable_DoSubTotals_RowEntry
+struct RowEntry
{
sal_uInt16 nGroupNo;
SCROW nSubStartRow;
SCROW nDestRow;
SCROW nFuncStart;
SCROW nFuncEnd;
-} RowEntry;
+};
static const char* lcl_GetSubTotalStrId(int id)