Kaydet (Commit) c99e634e authored tarafından Jan Holesovsky's avatar Jan Holesovsky

tdf#80960: Attempt to fix the cursor placement after document load.

This is a blind attempt - don't have a 32bit system at hand to really try it.

Change-Id: I4fe8c65b794d01e79aa93cbac440f710b630c7dd
üst fb9e0063
...@@ -1253,8 +1253,8 @@ void SwView::ReadUserDataSequence ( const uno::Sequence < beans::PropertyValue > ...@@ -1253,8 +1253,8 @@ void SwView::ReadUserDataSequence ( const uno::Sequence < beans::PropertyValue >
const Rectangle &rVis = GetVisArea(); const Rectangle &rVis = GetVisArea();
const SwViewOption* pVOpt = m_pWrtShell->GetViewOptions(); const SwViewOption* pVOpt = m_pWrtShell->GetViewOptions();
long nX = rRect.Left(), nY = rRect.Top(), nLeft = rVis.Left(), nTop = rVis.Top(); sal_Int64 nX = rRect.Left(), nY = rRect.Top(), nLeft = rVis.Left(), nTop = rVis.Top();
long nRight = bBrowse ? LONG_MIN : rVis.Right(), nBottom = bBrowse ? LONG_MIN : rVis.Bottom(); sal_Int64 nRight = bBrowse ? LONG_MIN : rVis.Right(), nBottom = bBrowse ? LONG_MIN : rVis.Bottom();
sal_Int16 nZoomType = static_cast< sal_Int16 >(pVOpt->GetZoomType()); sal_Int16 nZoomType = static_cast< sal_Int16 >(pVOpt->GetZoomType());
sal_Int16 nZoomFactor = static_cast < sal_Int16 > (pVOpt->GetZoom()); sal_Int16 nZoomFactor = static_cast < sal_Int16 > (pVOpt->GetZoom());
bool bViewLayoutBookMode = pVOpt->IsViewLayoutBookMode(); bool bViewLayoutBookMode = pVOpt->IsViewLayoutBookMode();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment