diff options
Diffstat (limited to 'sc/source/ui')
-rw-r--r-- | sc/source/ui/docshell/externalrefmgr.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/docshell/impex.cxx | 2 | ||||
-rw-r--r-- | sc/source/ui/unoobj/unodoc.cxx | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/docshell/externalrefmgr.cxx b/sc/source/ui/docshell/externalrefmgr.cxx index ad827825076c..ef39156c0c11 100644 --- a/sc/source/ui/docshell/externalrefmgr.cxx +++ b/sc/source/ui/docshell/externalrefmgr.cxx @@ -840,7 +840,7 @@ void ScExternalRefCache::setCellRangeData(sal_uInt16 nFileId, const ScRange& rRa { pTabData->setCell(col + nCol1, row + nRow1, new formula::FormulaStringToken(val), 0, false); }; - ScMatrix::EmptyOpFunction aEmptyFunc = [=](size_t /*row*/, size_t /*col*/) -> void + ScMatrix::EmptyOpFunction aEmptyFunc = [](size_t /*row*/, size_t /*col*/) -> void { // Nothing. Empty cell. }; diff --git a/sc/source/ui/docshell/impex.cxx b/sc/source/ui/docshell/impex.cxx index 3c2772619dac..905d758cc88c 100644 --- a/sc/source/ui/docshell/impex.cxx +++ b/sc/source/ui/docshell/impex.cxx @@ -2451,7 +2451,7 @@ ScFormatFilterPlugin* ScFilterCreate(); typedef ScFormatFilterPlugin * (*FilterFn)(); ScFormatFilterPlugin &ScFormatFilter::Get() { - static ScFormatFilterPlugin *plugin = [&]() + static ScFormatFilterPlugin *plugin = []() { #ifndef DISABLE_DYNLOADING OUString sFilterLib(SVLIBRARY("scfilt")); diff --git a/sc/source/ui/unoobj/unodoc.cxx b/sc/source/ui/unoobj/unodoc.cxx index f8785249c1f3..bed297df7c0f 100644 --- a/sc/source/ui/unoobj/unodoc.cxx +++ b/sc/source/ui/unoobj/unodoc.cxx @@ -33,7 +33,7 @@ Calc_SpreadsheetDocument_get_implementation( SolarMutexGuard aGuard; ScDLL::Init(); css::uno::Reference<css::uno::XInterface> xInterface = sfx2::createSfxModelInstance(args, - [&](SfxModelFlags _nCreationFlags) + [](SfxModelFlags _nCreationFlags) { SfxObjectShell* pShell = new ScDocShell( _nCreationFlags ); return uno::Reference< uno::XInterface >( pShell->GetModel() ); |