https://bz.apache.org/ooo/show_bug.cgi?id=128461

--- Comment #2 from Czesław Wolański <[email protected]> ---
> I think this should be the preferred way also for "Page Preview".

Yes. It works that way in the combo box for zero and positive values less than
20.

_Possible_ code pointer - the source file
/main/sw/source/ui/ribbar/workctrl.cxx
with its function SwZoomBox_Impl::Select()


814  void    SwZoomBox_Impl::Select()
815  {
816      if ( !IsTravelSelect() )
817      {
818          String sEntry(GetText());
819          sEntry.EraseAllChars( '%' );
820          sal_uInt16 nZoom = (sal_uInt16)sEntry.ToInt32();
821          if(nZoom < MINZOOM)
822              nZoom = MINZOOM;
823          if(nZoom > MAXZOOM)
824              nZoom = MAXZOOM;


Line 820 seems to be a culprit.
For anyone with a good command of C++ that should be an easy fix.

-- 
You are receiving this mail because:
You are the assignee for the issue.

Reply via email to