vcl: rename DDInfo to DragDropInfo

Change-Id: I190a3ccea226c7a23eb553a1698d5959b8353b84
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/178506
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
Tested-by: Jenkins
This commit is contained in:
Christopher Sherlock
2025-02-18 09:33:55 +01:00
committed by Michael Weghorn
parent 1ba9ebc9ec
commit e4a2fa75e3
2 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -45,7 +45,7 @@ namespace weld {
class PopupMenu;
class VclBuilder;
struct DDInfo;
struct DragDropInfo;
struct Impl_IMEInfos;
#define EDIT_NOLIMIT SAL_MAX_INT32
@@ -57,7 +57,7 @@ class VCL_DLLPUBLIC Edit : public Control, public vcl::unohelper::DragAndDropCli
private:
VclPtr<Edit> mpSubEdit;
TextFilter* mpFilterText;
std::unique_ptr<DDInfo, o3tl::default_delete<DDInfo>> mpDDInfo;
std::unique_ptr<DragDropInfo, o3tl::default_delete<DragDropInfo>> mpDDInfo;
std::unique_ptr<Impl_IMEInfos> mpIMEInfos;
OUStringBuffer maText;
OUString maPlaceholderText;
+4 -4
View File
@@ -67,7 +67,7 @@ static FncGetSpecialChars pImplFncGetSpecialChars = nullptr;
#define EDIT_DELMODE_RESTOFWORD 12
#define EDIT_DELMODE_RESTOFCONTENT 13
struct DDInfo
struct DragDropInfo
{
vcl::Cursor aCursor;
Selection aDndStartSel;
@@ -77,7 +77,7 @@ struct DDInfo
bool bVisCursor = false;
bool bIsStringSupported = false;
DDInfo()
DragDropInfo()
{
aCursor.SetStyle( CURSOR_SHADOW );
}
@@ -2719,7 +2719,7 @@ void Edit::dragGestureRecognized(const css::datatransfer::dnd::DragGestureEvent&
return;
if ( !mpDDInfo )
mpDDInfo.reset(new DDInfo);
mpDDInfo.reset(new DragDropInfo);
mpDDInfo->bStarterOfDD = true;
mpDDInfo->aDndStartSel = aSel;
@@ -2812,7 +2812,7 @@ void Edit::dragEnter(const css::datatransfer::dnd::DropTargetDragEnterEvent& rDT
{
if ( !mpDDInfo )
{
mpDDInfo.reset(new DDInfo);
mpDDInfo.reset(new DragDropInfo);
}
// search for string data type
const css::uno::Sequence<css::datatransfer::DataFlavor>& rFlavors(rDTDE.SupportedDataFlavors);