From 24158311c115c2db6dd05a751f75a5c084e2c0d1 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 20 Dec 2017 13:30:21 +0200 Subject: TypedWhichId in svx part 1 and teach the idl compiler how to ignore the TypeWhichId part of the define Change-Id: I030f54080924d51e9f0ac09b19e14106648024db Reviewed-on: https://gerrit.libreoffice.org/46849 Tested-by: Jenkins Reviewed-by: Noel Grandin --- sc/source/ui/view/cellsh1.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sc') diff --git a/sc/source/ui/view/cellsh1.cxx b/sc/source/ui/view/cellsh1.cxx index 8769766b2539..06e61d3ec47f 100644 --- a/sc/source/ui/view/cellsh1.cxx +++ b/sc/source/ui/view/cellsh1.cxx @@ -2234,8 +2234,8 @@ void ScCellShell::ExecuteEdit( SfxRequest& rReq ) aCellId = static_cast(pCellId)->GetValue(); const SvxPostItTextItem* pTextItem = static_cast( pText ); - const SvxPostItAuthorItem* pAuthorItem = static_cast( pReqArgs->GetItem( SID_ATTR_POSTIT_AUTHOR ) ); - const SvxPostItDateItem* pDateItem = static_cast( pReqArgs->GetItem( SID_ATTR_POSTIT_DATE ) ); + const SvxPostItAuthorItem* pAuthorItem = pReqArgs->GetItem( SID_ATTR_POSTIT_AUTHOR ); + const SvxPostItDateItem* pDateItem = pReqArgs->GetItem( SID_ATTR_POSTIT_DATE ); if (!aCellId.isEmpty()) { -- cgit