diff options
author | Noel Grandin <noel@peralex.com> | 2014-10-21 14:08:19 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2014-10-23 12:36:14 +0200 |
commit | d4ca0cc293e060e68237f251173d951eceb7898f (patch) | |
tree | 58e4b7a97b82b1dc4847fdcb063f09d23c0138d8 /cui/source/dialogs/pastedlg.cxx | |
parent | 50a8c89f36b3b8f2d029a0bedc1ed9362807321d (diff) |
loplugin: cstylecast
Change-Id: I0eaeebad6be75a1c0cccdf90955fde1a2909bdba
Diffstat (limited to 'cui/source/dialogs/pastedlg.cxx')
-rw-r--r-- | cui/source/dialogs/pastedlg.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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<void*>(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<sal_uLong>(ObjectLB().GetEntryData( ObjectLB().GetSelectEntryPos() )); } return nSelFormat; |