From d4ca0cc293e060e68237f251173d951eceb7898f Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 21 Oct 2014 14:08:19 +0200 Subject: loplugin: cstylecast Change-Id: I0eaeebad6be75a1c0cccdf90955fde1a2909bdba --- cui/source/dialogs/pastedlg.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cui/source/dialogs/pastedlg.cxx') diff --git a/cui/source/dialogs/pastedlg.cxx b/cui/source/dialogs/pastedlg.cxx index d8bff176376c..17468a7779e5 100644 --- a/cui/source/dialogs/pastedlg.cxx +++ b/cui/source/dialogs/pastedlg.cxx @@ -162,7 +162,7 @@ sal_uLong SvPasteObjectDialog::GetFormat( const TransferableDataHelper& rHelper, if( LISTBOX_ENTRY_NOTFOUND == ObjectLB().GetEntryPos( aName ) ) ObjectLB().SetEntryData( - ObjectLB().InsertEntry( aName ), (void*) nFormat ); + ObjectLB().InsertEntry( aName ), reinterpret_cast(nFormat) ); } } @@ -199,7 +199,7 @@ sal_uLong SvPasteObjectDialog::GetFormat( const TransferableDataHelper& rHelper, if( Dialog::Execute() == RET_OK ) { - nSelFormat = (sal_uLong)ObjectLB().GetEntryData( ObjectLB().GetSelectEntryPos() ); + nSelFormat = reinterpret_cast(ObjectLB().GetEntryData( ObjectLB().GetSelectEntryPos() )); } return nSelFormat; -- cgit