diff options
author | Noel Grandin <noel@peralex.com> | 2015-08-20 12:58:15 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-08-20 13:52:17 +0200 |
commit | c53b880f0058889f9f4850bb474323213cd49c81 (patch) | |
tree | e284030d45f41ed264abd7460c5bca59c08d784c /sd/source/ui/dlg/sdtreelb.cxx | |
parent | b0f205a33da99da3c8b4a376eecf395bbbc2df3b (diff) |
loplugin:defaultparams
Change-Id: Ib7a4be246e5d82f5a704a188f8b950f187d04138
Diffstat (limited to 'sd/source/ui/dlg/sdtreelb.cxx')
-rw-r--r-- | sd/source/ui/dlg/sdtreelb.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sd/source/ui/dlg/sdtreelb.cxx b/sd/source/ui/dlg/sdtreelb.cxx index 9282a4788b34..bac890e5890c 100644 --- a/sd/source/ui/dlg/sdtreelb.cxx +++ b/sd/source/ui/dlg/sdtreelb.cxx @@ -1146,9 +1146,9 @@ void SdPageObjsTLB::StartDrag( sal_Int8 nAction, const Point& rPosPixel) // Select all entries and disable them as drop targets. SetSelectionMode(MULTIPLE_SELECTION); - SetCursor(NULL, false); + SetCursor(static_cast<SvTreeListEntry*>(NULL)); SelectAll(true, false); - EnableSelectionAsDropTarget(false, true); + EnableSelectionAsDropTarget(false); // Enable only the entries as drop targets that are children of the // page under the mouse. @@ -1156,16 +1156,16 @@ void SdPageObjsTLB::StartDrag( sal_Int8 nAction, const Point& rPosPixel) if (pParent != NULL) { SelectAll(false, false); - Select(pParent, true); + Select(pParent); // for (SvTreeListEntry*pChild=FirstChild(pParent); pChild!=NULL; pChild=NextSibling(pChild)) // Select(pChild, sal_True); - EnableSelectionAsDropTarget(true, true);//sal_False); + EnableSelectionAsDropTarget(true);//sal_False); } // Set selection back to the entry under the mouse. SelectAll(false, false); SetSelectionMode(SINGLE_SELECTION); - Select(pEntry, true); + Select(pEntry); // We can delete the Navigator from ExecuteDrag (when switching to // another document type), but that would kill the StarView MouseMove |