summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--android/source/src/java/org/libreoffice/canvas/CalcHeaderCell.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/android/source/src/java/org/libreoffice/canvas/CalcHeaderCell.java b/android/source/src/java/org/libreoffice/canvas/CalcHeaderCell.java
index c1f8e74e7ba2..1b2db6f65796 100644
--- a/android/source/src/java/org/libreoffice/canvas/CalcHeaderCell.java
+++ b/android/source/src/java/org/libreoffice/canvas/CalcHeaderCell.java
@@ -8,10 +8,10 @@ import android.graphics.RectF;
import android.text.TextPaint;
public class CalcHeaderCell extends CommonCanvasElement {
- private TextPaint mTextPaint = new TextPaint();
- private Paint mBgPaint = new Paint();
- private RectF mBounds;
- private String mText;
+ private final TextPaint mTextPaint = new TextPaint();
+ private final Paint mBgPaint = new Paint();
+ private final RectF mBounds;
+ private final String mText;
public CalcHeaderCell(float left, float top, float width, float height, String text, boolean selected) {
mBounds = new RectF(left, top, left + width, top + height);
@@ -51,4 +51,4 @@ public class CalcHeaderCell extends CommonCanvasElement {
canvas.drawRect(mBounds, mBgPaint);
canvas.drawText(mText, mBounds.left, mBounds.bottom, mTextPaint);
}
-} \ No newline at end of file
+}