diff options
author | Paul Trojahn <paul.trojahn@gmail.com> | 2018-10-27 14:52:42 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2018-11-06 21:58:38 +0100 |
commit | 821c9fd85bf49ddab9968c7f1787a265c02d1f01 (patch) | |
tree | 94b66f5b4e4f87cb26e8aa950346fb932fb6ca61 /sc/source/ui/app/transobj.cxx | |
parent | 20826019d8f77129853712c5fdf5134aff058171 (diff) |
tdf#115317 Fix empty url representation
ScTabEditEngine doesn't override CalcFieldValue, so the function in
EditEngine returns a single space as representation. By inheriting from
ScFieldEditEngine the representation is calculated correctly.
Change-Id: I6f3be8bd2c3936acf9f3d082c25c080bd3cbee76
Reviewed-on: https://gerrit.libreoffice.org/62428
Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
Reviewed-on: https://gerrit.libreoffice.org/62967
Tested-by: Jenkins
Diffstat (limited to 'sc/source/ui/app/transobj.cxx')
-rw-r--r-- | sc/source/ui/app/transobj.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/app/transobj.cxx b/sc/source/ui/app/transobj.cxx index fa76c05d133b..94cb3ab25ca6 100644 --- a/sc/source/ui/app/transobj.cxx +++ b/sc/source/ui/app/transobj.cxx @@ -307,7 +307,7 @@ bool ScTransferObj::GetData( const datatransfer::DataFlavor& rFlavor, const OUSt ScAddress aPos(nCol, nRow, nTab); const ScPatternAttr* pPattern = m_pDoc->GetPattern( nCol, nRow, nTab ); - ScTabEditEngine aEngine( *pPattern, m_pDoc->GetEditPool() ); + ScTabEditEngine aEngine( *pPattern, m_pDoc->GetEditPool(), m_pDoc ); ScRefCellValue aCell(*m_pDoc, aPos); if (aCell.meType == CELLTYPE_EDIT) { |