sw/source/core/unocore/unochart.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
New commits: commit 53d354e38e3f8aa8978ae570c26b865e78150de2 Author: Tor Lillqvist <t...@collabora.com> Date: Tue Jun 30 12:05:17 2015 +0300 Fix error: chosen constructor is explicit in copy-initialization Clang 3.2 (which is old, yes, I know) complains. Change-Id: Ia3fefd54cd234f14ddaf6159e2512760e4d53c95 Reviewed-on: https://gerrit.libreoffice.org/16613 Reviewed-by: Björn Michaelsen <bjoern.michael...@canonical.com> Tested-by: Björn Michaelsen <bjoern.michael...@canonical.com> diff --git a/sw/source/core/unocore/unochart.cxx b/sw/source/core/unocore/unochart.cxx index ed8d35a..d03ed3c 100644 --- a/sw/source/core/unocore/unochart.cxx +++ b/sw/source/core/unocore/unochart.cxx @@ -2141,13 +2141,13 @@ std::vector< css::uno::Reference< css::table::XCell > > SwChartDataSequence::Get throw lang::DisposedException(); auto pTableFormat(GetFrameFormat()); if(!pTableFormat) - return {}; + return std::vector< css::uno::Reference< css::table::XCell > >(); auto pTable(SwTable::FindTable(pTableFormat)); if(pTable->IsTableComplex()) - return {}; + return std::vector< css::uno::Reference< css::table::XCell > >(); SwRangeDescriptor aDesc; if(!FillRangeDescriptor(aDesc, GetCellRangeName(*pTableFormat, *pTableCrsr))) - return {}; + return std::vector< css::uno::Reference< css::table::XCell > >(); return SwXCellRange(pTableCrsr, *pTableFormat, aDesc).GetCells(); }
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits