diff options
author | Michael Stahl <mstahl@redhat.com> | 2017-04-19 12:35:30 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2017-04-19 13:02:18 +0200 |
commit | 31aac86f14d088628979c7809588f14bef643feb (patch) | |
tree | 9611b9252d45598c431ddbd1dca300fed58586a2 /sw/source/uibase/dochdl | |
parent | 876e13576bf112786172fdc113363f3fe54f19f7 (diff) |
sw: replace rudimentary SwCursorShell::m_nBasicActionCnt
The functions to modify the counter were removed in 2004-2006 and there
is no evidence in the git repo of these functions ever being called, so
the BasicActionPend() condition is effectively equivalent to
ActionPend().
Change-Id: Ic8b9c8c6039c318943c96e90f2370cb5a1046ff9
Diffstat (limited to 'sw/source/uibase/dochdl')
-rw-r--r-- | sw/source/uibase/dochdl/swdtflvr.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/source/uibase/dochdl/swdtflvr.cxx b/sw/source/uibase/dochdl/swdtflvr.cxx index 1562752f40a5..27171bf0e836 100644 --- a/sw/source/uibase/dochdl/swdtflvr.cxx +++ b/sw/source/uibase/dochdl/swdtflvr.cxx @@ -415,7 +415,7 @@ bool SwTransferable::GetData( const DataFlavor& rFlavor, const OUString& rDestDo // when pending we will not get the correct type, but SelectionType::Text // as fallback. This *happens* during D&D, so we need to check if we are in // the fallback and just try to get a graphic - const bool bPending(m_pWrtShell->BasicActionPend()); + const bool bPending(m_pWrtShell->ActionPend()); // SEL_GRF is from ContentType of editsh if(bPending || ((SelectionType::Graphic | SelectionType::DbForm) & nSelectionType)) |