diff options
author | Jochen Nitschke <j.nitschke+logerrit@ok.de> | 2017-02-28 23:48:06 +0100 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-03-02 06:33:48 +0000 |
commit | 5ee57cabb40fefbba401cbcf8b181e02ad4f1f5d (patch) | |
tree | 00b9be8cbf04c302af2f0702b03d104aa1828e9e /reportdesign/source | |
parent | a5c947579253a7f4e784004e18929af5ab22fa28 (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/source')
-rw-r--r-- | reportdesign/source/ui/report/ReportSection.cxx | 2 |
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) ) { |