diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-02-02 12:41:42 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2018-02-03 16:04:17 +0100 |
commit | e3308af401013713bbfe27b6df9952586c52f4aa (patch) | |
tree | d498f4a3bfefef5a4c964986cf76d86201ba58e8 /sc/source/core/data/dpobject.cxx | |
parent | a4fbb496ef001d62fce0ad3cdd7a829f99aa182e (diff) |
TypedWhichId in sc
Change-Id: I43558191f65bfb07abfbc92970629d5dd561a04e
Reviewed-on: https://gerrit.libreoffice.org/49141
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/core/data/dpobject.cxx')
-rw-r--r-- | sc/source/core/data/dpobject.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/data/dpobject.cxx b/sc/source/core/data/dpobject.cxx index 963de1d40987..0bafb21b85ca 100644 --- a/sc/source/core/data/dpobject.cxx +++ b/sc/source/core/data/dpobject.cxx @@ -945,7 +945,7 @@ ScRange ScDPObject::GetOutputRangeByType( sal_Int32 nType ) const static bool lcl_HasButton( const ScDocument* pDoc, SCCOL nCol, SCROW nRow, SCTAB nTab ) { - return static_cast<const ScMergeFlagAttr*>(pDoc->GetAttr( nCol, nRow, nTab, ATTR_MERGE_FLAG ))->HasPivotButton(); + return pDoc->GetAttr( nCol, nRow, nTab, ATTR_MERGE_FLAG )->HasPivotButton(); } void ScDPObject::RefreshAfterLoad() |