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





------- Additional comments from [EMAIL PROTECTED] Thu May  8 04:21:24 +0000 
2008 -------
Just adding two lines of code without context is rather pointless.
Please state the exact file and line the code comes from.

Still, since the project for this bug is word processor I make a quick guess
based on lxr output. If you look at 

http://lxr.go-oo.org/source/sw/sw/source/ui/uiview/viewdraw.cxx#869  and
http://lxr.go-oo.org/source/sw/sw/source/ui/docvw/edtwin.cxx#4723

you will that depending on if you are in the Writer document or in a text box
(or drawing object) of a writer document you have to use different function 
calls.
And for the function used in writer documments the function name is already
different. Thus I assume you are within a text box. Therefore have a closer look
at the first link.

For a quick try I suspect you are missing a line similar to
  Point aPos( GetEditWin().LogicToPixel( rPt ) );
The LogicToPixel conversion is needed since the Writer uses Twips as internal
unit. Try calling that function before you call the dialog. Also note that in
the listed code above no second argument is listed. Since I'm missing the
context I do not know if you really need it or not.

---------------------------------------------------------------------
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