summaryrefslogtreecommitdiff
path: root/svx/source/fmcomp
diff options
context:
space:
mode:
authorOcke Janssen <oj@openoffice.org>2002-10-25 07:34:28 +0000
committerOcke Janssen <oj@openoffice.org>2002-10-25 07:34:28 +0000
commit4211ebcd7bd59ea26d5d5351a86c4bf2c5c5f795 (patch)
tree24d5e30213a5073792040b45bb901a4ed182a595 /svx/source/fmcomp
parent218927b4ad2ead079783c79b8b8475ad3daf7384 (diff)
#104474# set connection at descriptor
Diffstat (limited to 'svx/source/fmcomp')
-rw-r--r--svx/source/fmcomp/dbaexchange.cxx10
1 files changed, 8 insertions, 2 deletions
diff --git a/svx/source/fmcomp/dbaexchange.cxx b/svx/source/fmcomp/dbaexchange.cxx
index 173f662a418e..6ade9be2e70f 100644
--- a/svx/source/fmcomp/dbaexchange.cxx
+++ b/svx/source/fmcomp/dbaexchange.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: dbaexchange.cxx,v $
*
- * $Revision: 1.8 $
+ * $Revision: 1.9 $
*
- * last change: $Author: fs $ $Date: 2001-08-08 09:25:12 $
+ * last change: $Author: oj $ $Date: 2002-10-25 08:34:28 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -484,6 +484,9 @@ namespace svx
m_aDescriptor[daCommandType] <<= nObjectType;
m_aDescriptor[daCommand] <<= sObjectName;
+ if ( xConnection.is() ) // #104474# OJ
+ m_aDescriptor[daConnection] <<= xConnection;
+
sal_Bool bIsStatement = CommandType::COMMAND == nObjectType;
String sObjectKind = (CommandType::TABLE == nObjectType) ? String('1') : String('0');
@@ -680,6 +683,9 @@ namespace svx
/*************************************************************************
* history:
* $Log: not supported by cvs2svn $
+ * Revision 1.8 2001/08/08 09:25:12 fs
+ * #88849# OColumnTransferable: don't fake the to-be-dragged statement if the data source is no CommandType::COMMAND
+ *
* Revision 1.7 2001/08/07 08:57:14 fs
* #90660# +addDataToContainer
*