summaryrefslogtreecommitdiff
path: root/reportdesign/source
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-04-22 14:06:13 +0200
committerNoel Grandin <noel@peralex.com>2015-04-29 10:41:37 +0200
commitc97b81ea139a2299d9528f4ef04d0f88acc60c09 (patch)
tree6a737e0727064b356ba94c17cef25de83d9d3512 /reportdesign/source
parenta47be3914efb6940c1608763fbe9c7fd7dee9455 (diff)
convert CTF_ constants to scoped enum
Change-Id: I1c8149e9fccde761bb2a5fd2cf3cddcd2d9748dd
Diffstat (limited to 'reportdesign/source')
-rw-r--r--reportdesign/source/ui/report/ReportSection.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/reportdesign/source/ui/report/ReportSection.cxx b/reportdesign/source/ui/report/ReportSection.cxx
index 7d31fa225538..a01b1c2fa5bc 100644
--- a/reportdesign/source/ui/report/ReportSection.cxx
+++ b/reportdesign/source/ui/report/ReportSection.cxx
@@ -767,7 +767,7 @@ sal_Int8 OReportSection::AcceptDrop( const AcceptDropEvent& _rEvt )
{
const DataFlavorExVector& rFlavors = GetDataFlavorExVector();
if ( ::svx::OMultiColumnTransferable::canExtractDescriptor(rFlavors)
- || ::svx::OColumnTransferable::canExtractColumnDescriptor(rFlavors, CTF_FIELD_DESCRIPTOR | CTF_CONTROL_EXCHANGE | CTF_COLUMN_DESCRIPTOR) )
+ || ::svx::OColumnTransferable::canExtractColumnDescriptor(rFlavors, ColumnTransferFormatFlags::FIELD_DESCRIPTOR | ColumnTransferFormatFlags::CONTROL_EXCHANGE | ColumnTransferFormatFlags::COLUMN_DESCRIPTOR) )
return _rEvt.mnAction;
const sal_Int8 nDropOption = ( OReportExchange::canExtract(rFlavors) ) ? DND_ACTION_COPYMOVE : DND_ACTION_NONE;
@@ -799,7 +799,7 @@ sal_Int8 OReportSection::ExecuteDrop( const ExecuteDropEvent& _rEvt )
m_pParent->getViewsWindow()->unmarkAllObjects(m_pView);
}
else if ( bMultipleFormat
- || ::svx::OColumnTransferable::canExtractColumnDescriptor(rFlavors, CTF_FIELD_DESCRIPTOR | CTF_CONTROL_EXCHANGE | CTF_COLUMN_DESCRIPTOR) )
+ || ::svx::OColumnTransferable::canExtractColumnDescriptor(rFlavors, ColumnTransferFormatFlags::FIELD_DESCRIPTOR | ColumnTransferFormatFlags::CONTROL_EXCHANGE | ColumnTransferFormatFlags::COLUMN_DESCRIPTOR) )
{
m_pParent->getViewsWindow()->getView()->setMarked(m_pView, true);
m_pView->UnmarkAll();