diff options
Diffstat (limited to 'formula/source')
-rw-r--r-- | formula/source/core/api/FormulaCompiler.cxx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/formula/source/core/api/FormulaCompiler.cxx b/formula/source/core/api/FormulaCompiler.cxx index 01095876702c..acfdc09467be 100644 --- a/formula/source/core/api/FormulaCompiler.cxx +++ b/formula/source/core/api/FormulaCompiler.cxx @@ -502,8 +502,7 @@ uno::Sequence< sheet::FormulaOpCodeMapEntry > FormulaCompiler::OpCodeMap::create } } } - const FormulaOpCodeMapEntry* pRet = aVec.empty() ? 0 : &aVec[0]; - return uno::Sequence< FormulaOpCodeMapEntry >( pRet, aVec.size()); + return uno::Sequence< FormulaOpCodeMapEntry >(aVec.data(), aVec.size()); } |