diff --git a/RtfFile/Format/DestinationCommand.cpp b/RtfFile/Format/DestinationCommand.cpp index fd1f8f15cc..604de20293 100644 --- a/RtfFile/Format/DestinationCommand.cpp +++ b/RtfFile/Format/DestinationCommand.cpp @@ -3024,8 +3024,8 @@ void RtfShapeReader::ShapePropertyReader::ShapePropertyValueReader::PopState( Rt //WordArt Effects else if ( L"cropFromTop" == m_sPropName ) m_oShape.m_nCropFromTop = nValue; else if ( L"cropFromBottom" == m_sPropName ) m_oShape.m_nCropFromBottom = nValue; - else if ( L"cropFromLeft" == m_sPropName ) m_oShape.m_nCropFromRight = nValue; - else if ( L"cropFromRight" == m_sPropName ) m_oShape.m_nCropFromTop = nValue; + else if ( L"cropFromLeft" == m_sPropName ) m_oShape.m_nCropFromLeft = nValue; + else if ( L"cropFromRight" == m_sPropName ) m_oShape.m_nCropFromRight = nValue; //Grouped Shapes else if ( L"groupBottom" == m_sPropName ) m_oShape.m_nGroupBottom = nValue; else if ( L"groupLeft" == m_sPropName ) m_oShape.m_nGroupLeft = nValue;