diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-10-01 16:56:10 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-10-01 20:29:01 +0100 |
commit | 8cb61cbb09f702b968649395f5beaf50e40edf99 (patch) | |
tree | 7c0b27b1f7711e0bbc51b2dac778cc0aa2be97b9 /starmath/source | |
parent | 8f9bc93ba3299efbd8ad181481e6e2e87df7c066 (diff) |
coverity#1242448 Identical code for different branches
Change-Id: Ie864a4d04ea1ae701ab5dbb5b93807e98d5f0f1c
Diffstat (limited to 'starmath/source')
-rw-r--r-- | starmath/source/edit.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/starmath/source/edit.cxx b/starmath/source/edit.cxx index eb3ac83c21d6..9ab5776e9810 100644 --- a/starmath/source/edit.cxx +++ b/starmath/source/edit.cxx @@ -917,12 +917,12 @@ void SmEditWindow::MouseMove(const MouseEvent &rEvt) sal_Int8 SmEditWindow::AcceptDrop( const AcceptDropEvent& /*rEvt*/ ) { - return pEditView ? /*pEditView->QueryDrop( rEvt )*/DND_ACTION_NONE: DND_ACTION_NONE; + return DND_ACTION_NONE; } sal_Int8 SmEditWindow::ExecuteDrop( const ExecuteDropEvent& /*rEvt*/ ) { - return pEditView ? /*pEditView->Drop( rEvt )*/DND_ACTION_NONE : DND_ACTION_NONE; + return DND_ACTION_NONE; } ESelection SmEditWindow::GetSelection() const |