android/source/src/java/org/libreoffice/LOKitTileProvider.java | 1 + android/source/src/java/org/libreoffice/LibreOfficeMainActivity.java | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-)
New commits: commit 77ec366385b31fbbf8b78961fccaa9d0561661de Author: Mert Tümer <merttum...@gmail.com> Date: Fri Jan 12 15:12:16 2018 +0300 [Pardus] tdf#108446 - Shape is not changed after save This patch is sponsored by ULAKBIM/PARDUS project. Signed-off-by: Mert Tümer <merttum...@gmail.com> Change-Id: I7ee137b2332f799e4301cc3507df4a7b86af74b9 Reviewed-on: https://gerrit.libreoffice.org/47806 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Thorsten Behrens <thorsten.behr...@cib.de> diff --git a/android/source/src/java/org/libreoffice/LOKitTileProvider.java b/android/source/src/java/org/libreoffice/LOKitTileProvider.java index e7b80782f0b8..bdf00ff77e2d 100644 --- a/android/source/src/java/org/libreoffice/LOKitTileProvider.java +++ b/android/source/src/java/org/libreoffice/LOKitTileProvider.java @@ -593,6 +593,7 @@ class LOKitTileProvider implements TileProvider { private void setGraphicSelection(int type, PointF documentCoordinate) { int x = (int) pixelToTwip(documentCoordinate.x, mDPI); int y = (int) pixelToTwip(documentCoordinate.y, mDPI); + LibreOfficeMainActivity.setDocumentChanged(true); mDocument.setGraphicSelection(type, x, y); } diff --git a/android/source/src/java/org/libreoffice/LibreOfficeMainActivity.java b/android/source/src/java/org/libreoffice/LibreOfficeMainActivity.java index a7a13c45c9a4..655bb13f42d7 100644 --- a/android/source/src/java/org/libreoffice/LibreOfficeMainActivity.java +++ b/android/source/src/java/org/libreoffice/LibreOfficeMainActivity.java @@ -116,7 +116,7 @@ public class LibreOfficeMainActivity extends AppCompatActivity implements Settin private boolean isKeyboardOpen = false; private boolean isFormattingToolbarOpen = false; private boolean isSearchToolbarOpen = false; - private boolean isDocumentChanged = false; + private static boolean isDocumentChanged = false; public boolean isNewDocument = false; @Override public void onCreate(Bundle savedInstanceState) { @@ -773,7 +773,7 @@ public class LibreOfficeMainActivity extends AppCompatActivity implements Settin return mIsSpreadsheet; } - public void setDocumentChanged (boolean changed) { + public static void setDocumentChanged (boolean changed) { isDocumentChanged = changed; } _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits