summaryrefslogtreecommitdiff
path: root/sw/source/ui/dochdl
diff options
context:
space:
mode:
authorOliver Specht <os@openoffice.org>2001-10-16 10:12:11 +0000
committerOliver Specht <os@openoffice.org>2001-10-16 10:12:11 +0000
commit5576b33df44ac37714c6809523894744c0e84dfe (patch)
tree0476f9c51ddd37f76620f4530960e4e86436ed84 /sw/source/ui/dochdl
parent8bcd2898322dcea14ab3dff80d3bd684dc079c4b (diff)
#93183# database drop: send Selection, too
Diffstat (limited to 'sw/source/ui/dochdl')
-rw-r--r--sw/source/ui/dochdl/swdtflvr.cxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/sw/source/ui/dochdl/swdtflvr.cxx b/sw/source/ui/dochdl/swdtflvr.cxx
index b8cd87012df2..07f19ddb61f6 100644
--- a/sw/source/ui/dochdl/swdtflvr.cxx
+++ b/sw/source/ui/dochdl/swdtflvr.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: swdtflvr.cxx,v $
*
- * $Revision: 1.43 $
+ * $Revision: 1.44 $
*
- * last change: $Author: jp $ $Date: 2001-10-10 13:44:36 $
+ * last change: $Author: os $ $Date: 2001-10-16 11:10:19 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -2430,6 +2430,7 @@ int SwTransferable::_PasteDBData( TransferableDataHelper& rData,
SfxUsrAnyItem* pCommandItem = 0;
SfxUsrAnyItem* pCommandTypeItem = 0;
SfxUsrAnyItem* pColumnNameItem = 0;
+ SfxUsrAnyItem* pSelectionItem = 0;
BOOL bDataAvailable = TRUE;
ODataAccessDescriptor aDesc;
@@ -2447,6 +2448,7 @@ int SwTransferable::_PasteDBData( TransferableDataHelper& rData,
pCommandItem = new SfxUsrAnyItem(FN_DB_DATA_COMMAND_ANY, aDesc[daCommand]);
pCommandTypeItem = new SfxUsrAnyItem(FN_DB_DATA_COMMAND_TYPE_ANY, aDesc[daCommandType]);
pColumnNameItem = new SfxUsrAnyItem(FN_DB_DATA_COLUMN_NAME_ANY, aDesc[daColumnName]);
+ pSelectionItem = new SfxUsrAnyItem(FN_DB_DATA_SELECTION_ANY, aDesc[daSelection]);
}
SwView& rView = rSh.GetView();
@@ -2458,7 +2460,7 @@ int SwTransferable::_PasteDBData( TransferableDataHelper& rData,
nWh, SFX_CALLMODE_ASYNCHRON, &aDataDesc,
pConnectionItem, pColumnItem,
pSourceItem, pCommandItem, pCommandTypeItem,
- pColumnNameItem, 0L);
+ pColumnNameItem, pSelectionItem, 0L);
delete pConnectionItem;
delete pColumnItem;
delete pSourceItem;