From b6ec334a7dc6edeb58246fc00ea53519091a0651 Mon Sep 17 00:00:00 2001 From: Julia Radzhabova Date: Mon, 26 Feb 2018 15:59:38 +0300 Subject: [PATCH] [DE] Fix Bug 35612 --- apps/documenteditor/main/app/view/ImageSettings.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/documenteditor/main/app/view/ImageSettings.js b/apps/documenteditor/main/app/view/ImageSettings.js index fe6551062..bb9f0f1b5 100644 --- a/apps/documenteditor/main/app/view/ImageSettings.js +++ b/apps/documenteditor/main/app/view/ImageSettings.js @@ -318,7 +318,7 @@ define([ if (this.api) { var section = this.api.asc_GetSectionProps(), ratio = (this._state.Height>0) ? this._state.Width/this._state.Height : 1, - pagew = section.get_W() - section.get_LeftMargin() - section.get_RightMargin(), + pagew = this.api.asc_GetCurrentColumnWidth(), pageh = section.get_H() - section.get_TopMargin() - section.get_BottomMargin(), pageratio = pagew/pageh, w, h;