diff options
author | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-02-07 14:39:42 -0500 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@collabora.com> | 2014-02-07 14:46:21 -0500 |
commit | 10da10ee6ba37f4861045d1f8db0022293433cec (patch) | |
tree | 109fdab421796f7595cb30d8b6c30bb110f48dad | |
parent | 36e7fca5fa87fc72cdc9315438d9437fae9aa3da (diff) |
fdo#74535: Don't forget clear the edit engine before re-using it.
Else you'd get a very comical result.
Change-Id: Ie73145dee47a8583f2e9cdb7ddb4f2d66f361dc1
-rw-r--r-- | sc/source/filter/oox/worksheethelper.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sc/source/filter/oox/worksheethelper.cxx b/sc/source/filter/oox/worksheethelper.cxx index 47b759d3b4b3..0a560d1db56d 100644 --- a/sc/source/filter/oox/worksheethelper.cxx +++ b/sc/source/filter/oox/worksheethelper.cxx @@ -1068,6 +1068,7 @@ void WorksheetGlobals::insertHyperlink( const CellAddress& rAddress, const OUStr { OUString aStr = aCell.getString(&rDoc.getDoc()); ScFieldEditEngine& rEE = rDoc.getDoc().GetEditEngine(); + rEE.Clear(); SvxURLField aURLField(rUrl, aStr, SVXURLFORMAT_REPR); SvxFieldItem aURLItem(aURLField, EE_FEATURE_FIELD); |