related tdf#33603: sd: fix notespanel crash on drag and drop
Change-Id: I067fd3f3eccd8e0fa0d13795f660fe43410b0aa3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165809 Tested-by: Jenkins Reviewed-by: Samuel Mehrbrodt <samuel.mehrbrodt@allotropia.de>
This commit is contained in:
committed by
Samuel Mehrbrodt
parent
7a495eb899
commit
fd7afc0a66
@@ -85,6 +85,11 @@ public:
|
||||
virtual const OutlinerView* GetTextEditOutlinerView() const override { return &maOutlinerView; }
|
||||
virtual OutlinerView* GetTextEditOutlinerView() override { return &maOutlinerView; }
|
||||
|
||||
virtual sal_Int8 AcceptDrop(const AcceptDropEvent& rEvt, DropTargetHelper& rTargetHelper,
|
||||
SdrLayerID nLayer) override;
|
||||
virtual sal_Int8 ExecuteDrop(const ExecuteDropEvent& rEvt, ::sd::Window* pTargetWindow,
|
||||
sal_uInt16 nPage, SdrLayerID nLayer) override;
|
||||
|
||||
DECL_LINK(StatusEventHdl, EditStatus&, void);
|
||||
DECL_LINK(EditModifiedHdl, LinkParamNone*, void);
|
||||
DECL_LINK(ModifyTimerHdl, Timer*, void);
|
||||
|
||||
@@ -305,6 +305,16 @@ SvtScriptType NotesPanelView::GetScriptType() const
|
||||
return nScriptType;
|
||||
}
|
||||
|
||||
sal_Int8 NotesPanelView::AcceptDrop(const AcceptDropEvent&, DropTargetHelper&, SdrLayerID)
|
||||
{
|
||||
return DND_ACTION_NONE;
|
||||
}
|
||||
|
||||
sal_Int8 NotesPanelView::ExecuteDrop(const ExecuteDropEvent&, ::sd::Window*, sal_uInt16, SdrLayerID)
|
||||
{
|
||||
return DND_ACTION_NONE;
|
||||
}
|
||||
|
||||
} // end of namespace sd
|
||||
|
||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */
|
||||
|
||||
Reference in New Issue
Block a user