<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Different angle shown between sidebar & size and position dialog"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=121638#c4">Comment # 4</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Different angle shown between sidebar & size and position dialog"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=121638">bug 121638</a>
              from <span class="vcard"><a class="email" href="mailto:sumitcn25@gmail.com" title="Sumit Chauhan <sumitcn25@gmail.com>"> <span class="fn">Sumit Chauhan</span></a>
</span></b>
        <pre>(In reply to Xisco FaulĂ­ from <a href="show_bug.cgi?id=121638#c3">comment #3</a>)
<span class="quote">> (In reply to Heiko Tietze from <a href="show_bug.cgi?id=121638#c2">comment #2</a>)
> > 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 ?</span >


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*
<span class="quote">>(pState);</span >

                if(pItem)
                {
                    long nTmp = pItem->GetValue();

I think nTmp value need to be changed or we can check what GetValue returns.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>