• Maxim Monastirsky's avatar
    reportdesign: Fix applying the last used color · 1e3c5480
    Maxim Monastirsky yazdı
    The last used color is stored inside
    SvxColorToolBoxControl, so we must call its Select method
    to do that. (This also fixes using the last shape, See
    previous commit for a fix of exactly the same problem in
    chart2.)
    
    For the font color, there was also another problem:
    The SID used for that button is SID_ATTR_CHAR_COLOR2.
    The problem is that SvxColorToolBoxControl::Select
    actually calls for that SID the ".uno:CharColorExt"
    command instead of ".uno:FontColor" (which activates
    in writer the format paintbrush mode). Given that since
    commit 584b4159 this
    command also receives the last used color as argument,
    the easiest solution is to register ".uno:CharColorExt"
    here as well.
    
    (cherry picked from commit 42603325)
    
    Change-Id: I2db25a7fb537ce10dfec7b1c2d049dd77d9f8f6b
    1e3c5480
Adı
Son kayıt (commit)
Son güncelleme
..
images Loading commit data...
inc Loading commit data...
qa/complex/reportdesign Loading commit data...
source Loading commit data...
uiconfig/dbreport Loading commit data...
util Loading commit data...
AllLangResTarget_rpt.mk Loading commit data...
AllLangResTarget_rptui.mk Loading commit data...
JunitTest_reportdesign_complex.mk Loading commit data...
Library_rpt.mk Loading commit data...
Library_rptui.mk Loading commit data...
Library_rptxml.mk Loading commit data...
Makefile Loading commit data...
Module_reportdesign.mk Loading commit data...
README Loading commit data...
UIConfig_dbreport.mk Loading commit data...