summaryrefslogtreecommitdiff
path: root/sc/source/ui/unoobj/cellsuno.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-02-02 12:41:42 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-02-03 16:04:17 +0100
commite3308af401013713bbfe27b6df9952586c52f4aa (patch)
treed498f4a3bfefef5a4c964986cf76d86201ba58e8 /sc/source/ui/unoobj/cellsuno.cxx
parenta4fbb496ef001d62fce0ad3cdd7a829f99aa182e (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/ui/unoobj/cellsuno.cxx')
-rw-r--r--sc/source/ui/unoobj/cellsuno.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/unoobj/cellsuno.cxx b/sc/source/ui/unoobj/cellsuno.cxx
index 8cee317d4f8b..430e07b663d4 100644
--- a/sc/source/ui/unoobj/cellsuno.cxx
+++ b/sc/source/ui/unoobj/cellsuno.cxx
@@ -3538,8 +3538,8 @@ uno::Reference<sheet::XSheetCellRanges> SAL_CALL ScCellRangesBase::queryContentC
{
// date/time identification
- sal_uLong nIndex = static_cast<sal_uLong>(static_cast<const SfxUInt32Item*>(rDoc.GetAttr(
- aIter.GetPos(), ATTR_VALUE_FORMAT))->GetValue());
+ sal_uLong nIndex = static_cast<sal_uLong>(rDoc.GetAttr(
+ aIter.GetPos(), ATTR_VALUE_FORMAT)->GetValue());
SvNumFormatType nTyp = rDoc.GetFormatTable()->GetType(nIndex);
if ((nTyp == SvNumFormatType::DATE) || (nTyp == SvNumFormatType::TIME) ||
(nTyp == SvNumFormatType::DATETIME))