diff options
author | Oliver Specht <os@openoffice.org> | 2000-12-05 11:27:39 +0000 |
---|---|---|
committer | Oliver Specht <os@openoffice.org> | 2000-12-05 11:27:39 +0000 |
commit | 1daab8c35811edd2c3eceebc9935a772b04175df (patch) | |
tree | 57ee93e5b89c9e3ac48cd954cf5fe8579adadc75 | |
parent | 918c5cca0662eb3e4f5c7c7d7f1ce853a3a95e5e (diff) |
#81017# DB drag and drop: dispose the connectin at the end
-rw-r--r-- | sw/source/ui/shells/textsh2.cxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sw/source/ui/shells/textsh2.cxx b/sw/source/ui/shells/textsh2.cxx index 221b00241a91..2f5afb030f34 100644 --- a/sw/source/ui/shells/textsh2.cxx +++ b/sw/source/ui/shells/textsh2.cxx @@ -2,9 +2,9 @@ * * $RCSfile: textsh2.cxx,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: os $ $Date: 2000-11-13 08:32:45 $ + * last change: $Author: os $ $Date: 2000-12-05 12:27:39 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -356,6 +356,9 @@ IMPL_STATIC_LINK( SwBaseShell, InsertDBTextHdl, String*, pString ) } delete pDlg; } + Reference <XComponent> xComp(xConnection, UNO_QUERY); + if(xComp.is()) + xComp->dispose(); } delete pString; |