[Libreoffice-bugs] [Bug 121638] Different angle shown between sidebar & size and position dialog
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Wed Dec 12 16:28:51 UTC 2018
https://bugs.documentfoundation.org/show_bug.cgi?id=121638
--- Comment #4 from Sumit Chauhan <sumitcn25 at gmail.com> ---
(In reply to Xisco FaulĂ from comment #3)
> (In reply to Heiko Tietze from comment #2)
> > We should add the code from dialog making the input -x into +(360)-x to the
> > sidebar controls for a consistent UX. Should be an easyhack.
>
> any code pointer ?
I guess the code is here : svx/source/sidebar/possize/PosSizePropertyPanel.cxx
Line : 677
case SID_ATTR_TRANSFORM_ANGLE:
if (eState >= SfxItemState::DEFAULT)
{
const SfxInt32Item* pItem = dynamic_cast< const SfxInt32Item*
>(pState);
if(pItem)
{
long nTmp = pItem->GetValue();
I think nTmp value need to be changed or we can check what GetValue returns.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20181212/976de395/attachment-0001.html>
More information about the Libreoffice-bugs
mailing list