summaryrefslogtreecommitdiffstats
path: root/dbaccess/source/ui/tabledesign/TableRowExchange.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'dbaccess/source/ui/tabledesign/TableRowExchange.cxx')
-rw-r--r--dbaccess/source/ui/tabledesign/TableRowExchange.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/dbaccess/source/ui/tabledesign/TableRowExchange.cxx b/dbaccess/source/ui/tabledesign/TableRowExchange.cxx
index 37e68dd35e6e..b6d036b13889 100644
--- a/dbaccess/source/ui/tabledesign/TableRowExchange.cxx
+++ b/dbaccess/source/ui/tabledesign/TableRowExchange.cxx
@@ -30,9 +30,9 @@ namespace dbaui
: m_vTableRow(_rvTableRow)
{
}
- bool OTableRowExchange::WriteObject( SotStorageStreamRef& rxOStm, void* pUserObject, sal_uInt32 nUserObjectId, const ::com::sun::star::datatransfer::DataFlavor& /*rFlavor*/ )
+ bool OTableRowExchange::WriteObject( SotStorageStreamRef& rxOStm, void* pUserObject, SotClipboardFormatId nUserObjectId, const ::com::sun::star::datatransfer::DataFlavor& /*rFlavor*/ )
{
- if(nUserObjectId == SOT_FORMATSTR_ID_SBA_TABED)
+ if(nUserObjectId == SotClipboardFormatId::SBA_TABED)
{
::std::vector< ::boost::shared_ptr<OTableRow> >* pRows = reinterpret_cast< ::std::vector< ::boost::shared_ptr<OTableRow> >* >(pUserObject);
if(pRows)
@@ -50,13 +50,13 @@ namespace dbaui
void OTableRowExchange::AddSupportedFormats()
{
if ( !m_vTableRow.empty() )
- AddFormat(SOT_FORMATSTR_ID_SBA_TABED);
+ AddFormat(SotClipboardFormatId::SBA_TABED);
}
bool OTableRowExchange::GetData( const css::datatransfer::DataFlavor& rFlavor, const OUString& /*rDestDoc*/ )
{
- sal_uLong nFormat = SotExchange::GetFormat(rFlavor);
- if(nFormat == SOT_FORMATSTR_ID_SBA_TABED)
- return SetObject(&m_vTableRow,SOT_FORMATSTR_ID_SBA_TABED,rFlavor);
+ SotClipboardFormatId nFormat = SotExchange::GetFormat(rFlavor);
+ if(nFormat == SotClipboardFormatId::SBA_TABED)
+ return SetObject(&m_vTableRow,SotClipboardFormatId::SBA_TABED,rFlavor);
return false;
}
void OTableRowExchange::ObjectReleased()