fdo#79243 UI:fix preview in imageCorp tap in writer
Change-Id: If13cabc21d804c9383b26f7ee5a40800cacc76a5
This commit is contained in:
@@ -491,8 +491,16 @@ IMPL_LINK( SvxGrfCropPage, CropHdl, const MetricField *, pField )
|
|||||||
m_pRightMF->SetValue( m_pRightMF->Normalize( nRight ), eUnit );
|
m_pRightMF->SetValue( m_pRightMF->Normalize( nRight ), eUnit );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (Application::GetSettings().GetLayoutRTL())
|
||||||
|
{
|
||||||
|
m_pExampleWN->SetLeft(nRight);
|
||||||
|
m_pExampleWN->SetRight(nLeft);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
m_pExampleWN->SetLeft(nLeft);
|
m_pExampleWN->SetLeft(nLeft);
|
||||||
m_pExampleWN->SetRight(nRight);
|
m_pExampleWN->SetRight(nRight);
|
||||||
|
}
|
||||||
if(bZoom)
|
if(bZoom)
|
||||||
{
|
{
|
||||||
// scale stays, recompute width
|
// scale stays, recompute width
|
||||||
|
Reference in New Issue
Block a user