sc: compact ScColumn
commitde7392c4967f76d958dd7f2be8ef9e5af90624e2
authorAshod Nakashian <ashod.nakashian@collabora.co.uk>
Fri, 22 Dec 2017 00:43:59 +0000 (21 19:43 -0500)
committerAshod Nakashian <ashnakash@gmail.com>
Sun, 24 Dec 2017 16:09:30 +0000 (24 17:09 +0100)
tree1a1bbabc0c23711b16ec7d66931b50fd41514881
parent653736fb23346e07e8c0e6e0125689ae1f49f0f7
sc: compact ScColumn

Remove ScDocument* member from ScColumn
and re-use the one in ScAttrArray.

This saves 8 bytes and makes the code more
homogenious by using GetDoc() member everywhere.

(cherry picked from commit 1168a11278ed3c2a00058e1f802f6e44cb925318)
Reviewed-on: https://gerrit.libreoffice.org/46680
Reviewed-by: Jan Holesovsky <kendy@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
(cherry picked from commit dc3f0bde0bdef2a1e94055be146b433cb9fc54ba)

Change-Id: I16a94b7ef7c45ef3af14e812b45f255f39939a6e
Reviewed-on: https://gerrit.libreoffice.org/46990
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
sc/inc/attarray.hxx
sc/inc/column.hxx
sc/source/core/data/cellvalue.cxx
sc/source/core/data/column.cxx
sc/source/core/data/column2.cxx
sc/source/core/data/column3.cxx
sc/source/core/data/column4.cxx
sc/source/core/data/dociter.cxx
sc/source/core/data/table4.cxx
sc/source/ui/docshell/externalrefmgr.cxx