Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index


On Fri, 2013-08-23 at 17:51 +0530, Prashant Pandey wrote:
Hi,
I am working with the code related to docking of toolbars 
...
 the position of pre-existing toolbars don't change and still remain
the same as was before the docking. Since these positions (of
pre-existing toolbars) were correctly written here (as shown by
SAL_DEBUG) but in the end the value remains unchanged (as shown in the
UI by actually running LO), means these values are overridden
somewhere in between.

So, I haven't a clue, but what I'd do is just set a gdb watch on the
member variable that is the position and let it do the work, e.g. if it
was a (vcl) Window x then

(gdb) print &(x.mpWindowImpl->mnX)
0xwhatever
(gdb) watch *0xwhatever

C.



Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.