[Libreoffice-commits] core.git: Branch 'libreoffice-4-2' - sc/source
Kohei Yoshida
kohei.yoshida at collabora.com
Fri Feb 7 12:12:23 PST 2014
sc/source/filter/oox/worksheethelper.cxx | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 1f7c6c54eda9bfcd1e4ef9136ccdfec434efcd69
Author: Kohei Yoshida <kohei.yoshida at collabora.com>
Date: Fri Feb 7 14:39:42 2014 -0500
fdo#74535: Don't forget clear the edit engine before re-using it.
Else you'd get a very comical result.
Change-Id: Ie73145dee47a8583f2e9cdb7ddb4f2d66f361dc1
(cherry picked from commit 10da10ee6ba37f4861045d1f8db0022293433cec)
Reviewed-on: https://gerrit.libreoffice.org/7936
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/sc/source/filter/oox/worksheethelper.cxx b/sc/source/filter/oox/worksheethelper.cxx
index 32fc416..b334052 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);
More information about the Libreoffice-commits
mailing list