Logic in this line is executed when selecting text in different sizes in writer, and it disables buttons. if( !aSetItem.GetItemOfScript( rSh.GetScriptType() )) rSet.DisableItem( nSlot );
I tried to comment the line and test without it to see if it works - now buttons are visible but increasing or decreasing fonts in different sizes are still not working! I think that case FN_GROW_FONT_SIZE and case FN_SHRINK_FONT_SIZE in method "void SwTextShell::ExecCharAttrArgs(SfxRequest &rReq)" are responsible for actual increase and decrease and the problem may be here. -- View this message in context: http://nabble.documentfoundation.org/Investigation-into-bug-35862-allow-increase-decrease-font-for-text-selection-with-multiple-font-sizes-tp3855568p3860755.html Sent from the Dev mailing list archive at Nabble.com. _______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice