summaryrefslogtreecommitdiff
path: root/reportdesign
diff options
context:
space:
mode:
authorJochen Nitschke <j.nitschke+logerrit@ok.de>2017-02-28 23:48:06 +0100
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-03-02 06:33:48 +0000
commit5ee57cabb40fefbba401cbcf8b181e02ad4f1f5d (patch)
tree00b9be8cbf04c302af2f0702b03d104aa1828e9e /reportdesign
parenta5c947579253a7f4e784004e18929af5ab22fa28 (diff)
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 <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'reportdesign')
-rw-r--r--reportdesign/source/ui/report/ReportSection.cxx2
1 files changed, 1 insertions, 1 deletions
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) )
{