From 5ee57cabb40fefbba401cbcf8b181e02ad4f1f5d Mon Sep 17 00:00:00 2001 From: Jochen Nitschke Date: Tue, 28 Feb 2017 23:48:06 +0100 Subject: no need to use smart pointers for DataFlavorExVector DataFlavorExVector is a std::vector<..> typedef. remove odd void pointer in BrowseBox. return const references to keep getter const qualified. Change-Id: Iafd529a46b7511941c1dffc86d2066fdc4f07e28 Reviewed-on: https://gerrit.libreoffice.org/34767 Tested-by: Jenkins Reviewed-by: Noel Grandin --- reportdesign/source/ui/report/ReportSection.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'reportdesign') diff --git a/reportdesign/source/ui/report/ReportSection.cxx b/reportdesign/source/ui/report/ReportSection.cxx index 4dbcf32fa63c..8693298db752 100644 --- a/reportdesign/source/ui/report/ReportSection.cxx +++ b/reportdesign/source/ui/report/ReportSection.cxx @@ -742,7 +742,7 @@ sal_Int8 OReportSection::ExecuteDrop( const ExecuteDropEvent& _rEvt ) sal_Int8 nDropOption = DND_ACTION_NONE; const TransferableDataHelper aDropped(_rEvt.maDropEvent.Transferable); - DataFlavorExVector& rFlavors = aDropped.GetDataFlavorExVector(); + const DataFlavorExVector& rFlavors = aDropped.GetDataFlavorExVector(); bool bMultipleFormat = svx::OMultiColumnTransferable::canExtractDescriptor(rFlavors); if ( OReportExchange::canExtract(rFlavors) ) { -- cgit