From f3ca28486dd33cfd219de79be4ebcf6c4c4e4ba5 Mon Sep 17 00:00:00 2001 From: SergeyEzhin Date: Tue, 6 Sep 2022 17:16:34 +0300 Subject: [PATCH] [DE mobile] Fix Bug 58892 --- apps/documenteditor/mobile/src/view/edit/EditText.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/documenteditor/mobile/src/view/edit/EditText.jsx b/apps/documenteditor/mobile/src/view/edit/EditText.jsx index d739c4a36..0a5506da0 100644 --- a/apps/documenteditor/mobile/src/view/edit/EditText.jsx +++ b/apps/documenteditor/mobile/src/view/edit/EditText.jsx @@ -502,7 +502,7 @@ const EditText = props => { const storeTextSettings = props.storeTextSettings; const storeFocusObjects = props.storeFocusObjects; const shapeObject = storeFocusObjects.shapeObject; - const shapePr = shapeObject.get_ShapeProperties(); + const shapePr = shapeObject && shapeObject.get_ShapeProperties(); const inSmartArt = shapePr && shapePr.asc_getFromSmartArt(); const inSmartArtInternal = shapePr && shapePr.asc_getFromSmartArtInternal(); const fontName = storeTextSettings.fontName || t('Edit.textFonts');