summaryrefslogtreecommitdiff
path: root/sc/source/ui/view/output2.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2016-10-19 08:45:15 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2016-10-19 08:35:32 +0000
commit6581152f036e94f27fc2b37b4c836a1733a1a471 (patch)
tree2a17a5fc41956e4226a11831093381e9119f1376 /sc/source/ui/view/output2.cxx
parent94b6b4678b4736b6f4974ec8ee73df5c11ff06d1 (diff)
loplugin:expandablemethodds in sc
Change-Id: Idda64b23ea91ec457b60279d851b7f01d8c02881 Reviewed-on: https://gerrit.libreoffice.org/30033 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/ui/view/output2.cxx')
-rw-r--r--sc/source/ui/view/output2.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/sc/source/ui/view/output2.cxx b/sc/source/ui/view/output2.cxx
index 0d38a6eeb618..ce51ee47bf0f 100644
--- a/sc/source/ui/view/output2.cxx
+++ b/sc/source/ui/view/output2.cxx
@@ -157,7 +157,6 @@ public:
// This assumes that a formula cell has already been calculated.
sal_uLong GetResultValueFormat() const { return nValueFormat;}
- sal_uLong GetValueFormat() const { return nValueFormat; }
bool GetLineBreak() const { return bLineBreak; }
bool IsRepeat() const { return bRepeat; }
bool IsShrink() const { return bShrink; }
@@ -498,7 +497,7 @@ bool ScDrawStringsVars::SetText( ScRefCellValue& rCell )
maLastCell = rCell; // store cell
Color* pColor;
- sal_uLong nFormat = GetValueFormat();
+ sal_uLong nFormat = nValueFormat;
ScCellFormat::GetString( rCell,
nFormat, aString, &pColor,
*pOutput->mpDoc->GetFormatTable(),