Issue 49165 - Office accesses org.openoffice.Office.Compatibility on every startup
Summary: Office accesses org.openoffice.Office.Compatibility on every startup
Status: CLOSED FIXED
Alias: None
Product: General
Classification: Code
Component: code (show other issues)
Version: OOo 2.0
Hardware: All All
: P2 Trivial (vote)
Target Milestone: OOo 2.0
Assignee: Joost Andrae
QA Contact: issues@framework
URL:
Keywords:
Depends on:
Blocks: 20269
  Show dependency tree
 
Reported: 2005-05-12 16:09 UTC by carsten.driesner
Modified: 2005-05-19 11:05 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description carsten.driesner 2005-05-12 16:09:14 UTC
The Office accesses org.openoffice.Office.Compatibility on every startup to get
a replacement string for %WRITERCOMPATIBILITYVERSIONOOO11.
The implementation of ReplaceStringHookProc in the desktop\source\app\app.cxx
initializes its static data on first call although the provided string doesn't
contain any replacement string. 
For example:
The replacement string %WRITERCOMPATIBILITYVERSIONOOO11 is not used when
starting a Office in backing mode, a Calc or Draw/Impress. So we should only
initialize the static data when it's really necessary. This can save about
~30-40ms startup time.
Comment 1 carsten.driesner 2005-05-12 16:10:06 UTC
CD: Accepted.
Comment 2 thorsten.ziehm 2005-05-12 16:15:50 UTC
=> approved OOo2.0
Comment 3 malte_timmermann 2005-05-12 16:30:55 UTC
Review done.
Comment 4 matthias.huetsch 2005-05-12 16:39:58 UTC
Adding dependency to issue 20269 (startup performance), inheriting its priority
(P2).
Comment 5 matthias.huetsch 2005-05-12 16:41:10 UTC
.
Comment 6 carsten.driesner 2005-05-13 08:33:11 UTC
cd: Fixed now.
Comment 7 carsten.driesner 2005-05-13 10:01:45 UTC
cd->ja: Please verify startup performance inprovement.

re-open issue and reassign to ja@openoffice.org
Comment 8 carsten.driesner 2005-05-13 10:01:53 UTC
reassign to ja@openoffice.org
Comment 9 carsten.driesner 2005-05-13 10:01:59 UTC
reset resolution to FIXED
Comment 10 Joost Andrae 2005-05-13 13:19:02 UTC
JA: verified in cws perform04. See i49160 for details
Comment 11 Joost Andrae 2005-05-19 11:05:59 UTC
ja: integrated; closing issue