summaryrefslogtreecommitdiff
path: root/dbaccess/source/ui/tabledesign/TEditControl.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'dbaccess/source/ui/tabledesign/TEditControl.cxx')
-rw-r--r--dbaccess/source/ui/tabledesign/TEditControl.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/dbaccess/source/ui/tabledesign/TEditControl.cxx b/dbaccess/source/ui/tabledesign/TEditControl.cxx
index 7bca5f87db98..a066fa62b088 100644
--- a/dbaccess/source/ui/tabledesign/TEditControl.cxx
+++ b/dbaccess/source/ui/tabledesign/TEditControl.cxx
@@ -733,8 +733,7 @@ void OTableEditorCtrl::CopyRows()
}
if(!vClipboardList.empty())
{
- OTableRowExchange* pData = new OTableRowExchange(vClipboardList);
- Reference< css::datatransfer::XTransferable> xRef = pData;
+ rtl::Reference<OTableRowExchange> pData = new OTableRowExchange(vClipboardList);
pData->CopyToClipboard(GetParent());
}
}