summaryrefslogtreecommitdiff
path: root/sc/source/ui/optdlg
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-11-21 02:29:06 +0200
committerTor Lillqvist <tml@collabora.com>2014-11-21 02:29:06 +0200
commit061e80fb866d7d6b2a7348ed6eb1852835857ec4 (patch)
tree26c198ef14455d029aa8a3c53a1bf515a9d15544 /sc/source/ui/optdlg
parent0f92895d20286e13ce4a93b3a3dd5ecde424535c (diff)
Some of our supported compilers still don't have 'override' it seems
Change-Id: Ie3ca1636657b90fd5bc193aa7595f95f44d43915
Diffstat (limited to 'sc/source/ui/optdlg')
-rw-r--r--sc/source/ui/optdlg/calcoptionsdlg.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/sc/source/ui/optdlg/calcoptionsdlg.cxx b/sc/source/ui/optdlg/calcoptionsdlg.cxx
index 89f596ef7e7c..92653ab6c50f 100644
--- a/sc/source/ui/optdlg/calcoptionsdlg.cxx
+++ b/sc/source/ui/optdlg/calcoptionsdlg.cxx
@@ -1072,14 +1072,14 @@ struct UnOp : Op
{
}
- virtual void addHeader(ScDocument *pDoc, int nTab) const override
+ virtual void addHeader(ScDocument *pDoc, int nTab) const SAL_OVERRIDE
{
pDoc->SetString(ScAddress(0,0,nTab), "arg");
pDoc->SetString(ScAddress(1,0,nTab), msOp + "(arg)");
pDoc->SetString(ScAddress(2,0,nTab), "expected");
}
- virtual void addRow(ScDocument *pDoc, int nRow, int nTab) const override
+ virtual void addRow(ScDocument *pDoc, int nRow, int nTab) const SAL_OVERRIDE
{
double nArg;
@@ -1115,7 +1115,7 @@ struct UnOp : Op
}
}
- virtual OUString getSummaryFormula(ScDocument *pDoc, int nTab) const override
+ virtual OUString getSummaryFormula(ScDocument *pDoc, int nTab) const SAL_OVERRIDE
{
return OUString("=SUM(") +
ScRange(ScAddress(3,1,nTab),
@@ -1145,7 +1145,7 @@ struct BinOp : Op
{
}
- virtual void addHeader(ScDocument *pDoc, int nTab) const override
+ virtual void addHeader(ScDocument *pDoc, int nTab) const SAL_OVERRIDE
{
pDoc->SetString(ScAddress(0,0,nTab), "lhs");
pDoc->SetString(ScAddress(1,0,nTab), "rhs");
@@ -1153,7 +1153,7 @@ struct BinOp : Op
pDoc->SetString(ScAddress(3,0,nTab), "expected");
}
- virtual void addRow(ScDocument *pDoc, int nRow, int nTab) const override
+ virtual void addRow(ScDocument *pDoc, int nRow, int nTab) const SAL_OVERRIDE
{
double nLhs, nRhs;
@@ -1178,7 +1178,7 @@ struct BinOp : Op
",0,1)");
}
- virtual OUString getSummaryFormula(ScDocument *pDoc, int nTab) const override
+ virtual OUString getSummaryFormula(ScDocument *pDoc, int nTab) const SAL_OVERRIDE
{
return OUString("=SUM(") +
ScRange(ScAddress(4,1,nTab),