diff options
author | Tor Lillqvist <tml@collabora.com> | 2015-06-30 12:05:17 +0300 |
---|---|---|
committer | Björn Michaelsen <bjoern.michaelsen@canonical.com> | 2015-06-30 10:44:38 +0000 |
commit | 53d354e38e3f8aa8978ae570c26b865e78150de2 (patch) | |
tree | 093576f6c291efccfcfeb526e253dae98b339f5d | |
parent | ff06895b3e3a664c2238e358c02ae5b755e2ce06 (diff) |
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.michaelsen@canonical.com>
Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
-rw-r--r-- | sw/source/core/unocore/unochart.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/core/unocore/unochart.cxx b/sw/source/core/unocore/unochart.cxx index ed8d35a8f198..d03ed3cce029 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(); } |