summaryrefslogtreecommitdiff
path: root/sd/source/ui/view/sdview2.cxx
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-11-23 09:57:02 +0200
committerNoel Grandin <noel@peralex.com>2015-11-23 13:30:53 +0200
commit980fe3f79102fdeb8d1b997668d9d5c2e1c7e690 (patch)
treea691cf6f0965aafb159c39e29f8103938d972d36 /sd/source/ui/view/sdview2.cxx
parent56a9594649872f4076b6891f917138d2b1e8d028 (diff)
loplugin:unusedfields in sd/
Change-Id: Id6da990828ece02132032285116f3a20de423519
Diffstat (limited to 'sd/source/ui/view/sdview2.cxx')
-rw-r--r--sd/source/ui/view/sdview2.cxx18
1 files changed, 4 insertions, 14 deletions
diff --git a/sd/source/ui/view/sdview2.cxx b/sd/source/ui/view/sdview2.cxx
index aef02b9b7ad6..9cd5e901ce64 100644
--- a/sd/source/ui/view/sdview2.cxx
+++ b/sd/source/ui/view/sdview2.cxx
@@ -75,22 +75,13 @@ using namespace ::com::sun::star;
struct SdNavigatorDropEvent : public ExecuteDropEvent
{
- DropTargetHelper& mrTargetHelper;
VclPtr< ::sd::Window> mpTargetWindow;
- sal_uInt16 mnPage;
- sal_uInt16 mnLayer;
SdNavigatorDropEvent (
const ExecuteDropEvent& rEvt,
- DropTargetHelper& rTargetHelper,
- ::sd::Window* pTargetWindow,
- sal_uInt16 nPage,
- sal_uInt16 nLayer )
+ ::sd::Window* pTargetWindow )
: ExecuteDropEvent( rEvt ),
- mrTargetHelper( rTargetHelper ),
- mpTargetWindow( pTargetWindow ),
- mnPage( nPage ),
- mnLayer( nLayer )
+ mpTargetWindow( pTargetWindow )
{}
};
@@ -623,7 +614,7 @@ sal_Int8 View::AcceptDrop( const AcceptDropEvent& rEvt, DropTargetHelper& rTarge
return nRet;
}
-sal_Int8 View::ExecuteDrop( const ExecuteDropEvent& rEvt, DropTargetHelper& rTargetHelper,
+sal_Int8 View::ExecuteDrop( const ExecuteDropEvent& rEvt,
::sd::Window* pTargetWindow, sal_uInt16 nPage, sal_uInt16 nLayer )
{
SdrPageView* pPV = GetSdrPageView();
@@ -721,8 +712,7 @@ sal_Int8 View::ExecuteDrop( const ExecuteDropEvent& rEvt, DropTargetHelper& rTar
{
// insert bookmark from own navigator (handled async. due to possible message box )
Application::PostUserEvent( LINK( this, View, ExecuteNavigatorDrop ),
- new SdNavigatorDropEvent( rEvt, rTargetHelper, pTargetWindow,
- nPage, nLayer ) );
+ new SdNavigatorDropEvent( rEvt, pTargetWindow ) );
nRet = nDropAction;
}
else