diff options
author | Laurent Godard <lgodard.libre@laposte.net> | 2013-08-08 17:18:29 +0200 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@suse.de> | 2013-08-08 17:35:36 +0000 |
commit | f807403faa3a20a6b4e95c9e8441cd637e3e548d (patch) | |
tree | 7333fabadd8cd098f1347e9162fb6192764b87ad /sc/source/core/data | |
parent | af53d7a181feaad2f75eeb0900030aa02868e338 (diff) |
import performance : do not use EditEngine anymore
Change-Id: I5849add3444cff15a201a276c8917fabc4b33262
Reviewed-on: https://gerrit.libreoffice.org/5317
Reviewed-by: Kohei Yoshida <kohei.yoshida@suse.de>
Tested-by: Kohei Yoshida <kohei.yoshida@suse.de>
Diffstat (limited to 'sc/source/core/data')
-rw-r--r-- | sc/source/core/data/autonamecache.cxx | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sc/source/core/data/autonamecache.cxx b/sc/source/core/data/autonamecache.cxx index 5d2257b05836..02d74cd98ddf 100644 --- a/sc/source/core/data/autonamecache.cxx +++ b/sc/source/core/data/autonamecache.cxx @@ -72,11 +72,7 @@ const ScAutoNameAddresses& ScAutoNameCache::GetNameOccurrences( const String& rN { const EditTextObject* p = aIter.getEditText(); if (p) - { - ScFieldEditEngine& rEngine = pDoc->GetEditEngine(); - rEngine.SetText(*p); - aStr = ScEditUtil::GetMultilineString(rEngine); // string with line separators between paragraphs - } + aStr = ScEditUtil::GetMultilineString(*p); // string with line separators between paragraphs } break; case CELLTYPE_NONE: |