https://bugs.documentfoundation.org/show_bug.cgi?id=102052

Andreas Heinisch <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]
           Assignee|[email protected]   |[email protected]
                   |                            |desktop.org
             Status|ASSIGNED                    |NEW

--- Comment #9 from Andreas Heinisch <[email protected]> ---
Code pointer [1] 

I thought that would be easier to solve, but I am unable to change only the
tooltip and not the label. By setting the value of SID_PRINTDOCDIRECT both the
tooltip and the label will be updated. Removing rSet.Put( SfxStringItem(
SID_PRINTDOCDIRECT, val ) ); leads to calling to [2] where IMHO there we should
not rerieve the printer name.

[1]
https://opengrok.libreoffice.org/xref/core/sfx2/source/view/viewsh.cxx?r=c9c2d46acf651bfc4327f8a08caa467b3140e4f7#2398
[2]
https://opengrok.libreoffice.org/xref/core/vcl/source/helper/commandinfoprovider.cxx?r=40dde4385cd913ac08292ad3be28bf17de9d296c#288

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to