diff options
author | Mert Tumer <merttumer@outlook.com> | 2018-11-02 13:07:57 +0300 |
---|---|---|
committer | Gülşah Köse <gulsah.1004@gmail.com> | 2018-11-04 20:23:11 +0100 |
commit | 85987b2b17da26f28cc7e7dcf67ec47de2d7e5f4 (patch) | |
tree | 6db91ba7733dbe941c517d3acf70dec43a3c4e2f /android | |
parent | d0568b684ae9f4e4278f81679287b2422e23fac4 (diff) |
Fix nullptr exception in presentation on Android
Change-Id: If54c26f66466ee591d198aaf3f8f68ba04e5f4b3
Signed-off-by: Mert Tumer <merttumer@outlook.com>
Reviewed-on: https://gerrit.libreoffice.org/62774
Tested-by: Jenkins
Reviewed-by: Gülşah Köse <gulsah.1004@gmail.com>
Diffstat (limited to 'android')
-rw-r--r-- | android/source/src/java/org/libreoffice/FontController.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/android/source/src/java/org/libreoffice/FontController.java b/android/source/src/java/org/libreoffice/FontController.java index 1ac8fd6cf90f..a00e13e1485c 100644 --- a/android/source/src/java/org/libreoffice/FontController.java +++ b/android/source/src/java/org/libreoffice/FontController.java @@ -64,6 +64,7 @@ public class FontController implements AdapterView.OnItemSelectedListener { @Override public void updateColorPickerPosition(int color) { + if(backColorPickerAdapter != null) backColorPickerAdapter.findSelectedTextColor(color + 0xFF000000); changeFontBackColorBoxColor(color + 0xFF000000); |