[Libreoffice-commits] online.git: Branch 'distro/collabora/collabora-online-3-0' - loleaflet/src
Marco Cecchetti
marco.cecchetti at collabora.com
Tue Dec 19 10:26:01 UTC 2017
loleaflet/src/control/Control.Header.js | 18 ------------------
1 file changed, 18 deletions(-)
New commits:
commit f1fe2fe66cdebef8b6fcf57874a1d21c7a59a8e7
Author: Marco Cecchetti <marco.cecchetti at collabora.com>
Date: Mon Dec 18 21:59:17 2017 +0100
loleaflet: calc: removed unused function
Change-Id: I0dc6b7b60ab1af2e6d77ac8b8a79fc6ad56f68b8
Reviewed-on: https://gerrit.libreoffice.org/46747
Reviewed-by: Jan Holesovsky <kendy at collabora.com>
Tested-by: Jan Holesovsky <kendy at collabora.com>
diff --git a/loleaflet/src/control/Control.Header.js b/loleaflet/src/control/Control.Header.js
index 8593052d..ad8edec3 100644
--- a/loleaflet/src/control/Control.Header.js
+++ b/loleaflet/src/control/Control.Header.js
@@ -503,24 +503,6 @@ L.Control.Header = L.Control.extend({
}
},
- _getGroupLevelHeader: function (pos) {
- if (!this._groups)
- return;
-
- var levels = this._groups.length + 1;
- var size = this._levelSpacing + this._groupHeadSize;
-
- var level = (pos + 1) / size | 0;
- var relPos = pos % size;
-
- if (level < this._groups.length && relPos > this._levelSpacing) {
- return level;
- }
- else {
- return -1;
- }
- },
-
_computeOutlineWidth: function () {
return this._levelSpacing + (this._groupHeadSize + this._levelSpacing) * (this._groups.length + 1);
},
More information about the Libreoffice-commits
mailing list