• Stephan Bergmann's avatar
    Use a single method of converting between points and 100th mm in starmath · 1fa19c73
    Stephan Bergmann yazdı
    The SmFormat ctor (starmath/source/format.cxx) uses SmPtsTo100th_mm(12) to
    initialize aBaseSize, resulting in a height of 422 100th mm.  Getting that value
    (and writing it out to a file) through SmModel::_getPropertyValues mapped back
    to 12 point, but in turn setting that value (as read from a file) through
    SmModel::_setPropertyValues resulted in a height of 423 100th mm.  That, in
    turn, caused SmDocShell::GetSize (starmath/source/document.cxx) to compute
    diverging sizes, so e.g. clicking into an OLE-embedded formula in a Writer
    document caused the Writer document to be marked as modified (as the embedded
    formula's size had changed).
    
    Change-Id: Ia90654aeaaf779690997b5c3bb868b193eaf46c6
    1fa19c73
Adı
Son kayıt (commit)
Son güncelleme
..
inc Loading commit data...
qa Loading commit data...
sdi Loading commit data...
source Loading commit data...
uiconfig/smath Loading commit data...
util Loading commit data...
AllLangResTarget_sm.mk Loading commit data...
CppunitTest_starmath_dialogs_test.mk Loading commit data...
CppunitTest_starmath_export.mk Loading commit data...
CppunitTest_starmath_import.mk Loading commit data...
CppunitTest_starmath_qa_cppunit.mk Loading commit data...
JunitTest_starmath_unoapi.mk Loading commit data...
Library_sm.mk Loading commit data...
Library_smd.mk Loading commit data...
Makefile Loading commit data...
Module_starmath.mk Loading commit data...
README Loading commit data...
UIConfig_smath.mk Loading commit data...
visual-editor-todo Loading commit data...