To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=99166


User aw changed the following:

                What    |Old value                 |New value
================================================================================
             Assigned to|aw                        |mod
--------------------------------------------------------------------------------




------- Additional comments from [email protected] Thu Feb 12 18:11:55 +0000 
2009 -------
AW->mod: First comment: Your SwMarginWin::SwMarginWin is pretty risky in casting
(SwEditWin* aWin = static_cast<SwEditWin*>(GetParent())), please use at least a
dynamic_cast and be prepared to fail (!) This would not be the first case where
someone else from external changes winows hierarchies...
In SwMarginWin::SetSizePixel, i guess EditWin() is the SwEditWin* aWin casted in
the constructor...? Whatever. It's probably a mix-up of coordinate systems. As
You might have heared in the meantime VCL-Windows have this RTL-Mode where X is
mirrored. This is done by default when RTL is on and as long as You do not
switch it off for a window. RTL is definitely switched off for all VCL-Windows
where DrawingLayer is doing visualisations, so the OverlayManager You are using
is on a VCL-Window without RTL enabled, but i guess Your edit window will be a
RTL-Enabled one.
I am not sure how You create the shadow offset in X, but it seems to be
calculated in the wrong coordinate system then, means in an RTL-Enabled window.
As i see, PL already added himself to CC, he can tell You more about RTL mode.

HTH for the moment!

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to