fdo#79243 UI:fix preview in imageCorp tap in writer

Change-Id: If13cabc21d804c9383b26f7ee5a40800cacc76a5
This commit is contained in:
Abdulaziz A Alayed 2014-06-04 12:04:55 +03:00
parent cc25f70ef1
commit c6019d8931

View File

@ -491,8 +491,16 @@ IMPL_LINK( SvxGrfCropPage, CropHdl, const MetricField *, pField )
m_pRightMF->SetValue( m_pRightMF->Normalize( nRight ), eUnit );
}
}
m_pExampleWN->SetLeft(nLeft);
m_pExampleWN->SetRight(nRight);
if (Application::GetSettings().GetLayoutRTL())
{
m_pExampleWN->SetLeft(nRight);
m_pExampleWN->SetRight(nLeft);
}
else
{
m_pExampleWN->SetLeft(nLeft);
m_pExampleWN->SetRight(nRight);
}
if(bZoom)
{
// scale stays, recompute width