summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-03-15 14:56:08 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-03-16 07:17:15 +0100
commit45968141934ac4ea10ad7fe4c2b074152aa2e635 (patch)
tree594badb27758e4c511815f28d7a9fe57bde49f63 /sc
parentc52cce61d1fbf1f085897bf9ff40e26b1f130998 (diff)
pahole changes in various
I'm not seeing as much as I would expect here, mostly because pahole seems to be having trouble parsing quite a few of our structures, and consequently producing useless data than I then ignore. XDash 24bytes -> 20bytes vcl::font::FeatureDefinition 64bytes -> 56bytes SvXMLTokenMapEntry 16bytes -> 12bytes SvXMLItemMapEntry 16bytes -> 12bytes SwContentAtPos 40bytes -> 32bytes Change-Id: I74c8b93f74b8352f48ef552d7d4239aa7f4237d4 Reviewed-on: https://gerrit.libreoffice.org/69304 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc')
-rw-r--r--sc/inc/simplerangelist.hxx4
-rw-r--r--sc/source/core/tool/simplerangelist.cxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/sc/inc/simplerangelist.hxx b/sc/inc/simplerangelist.hxx
index a16cf0042325..442d5c4e7a68 100644
--- a/sc/inc/simplerangelist.hxx
+++ b/sc/inc/simplerangelist.hxx
@@ -37,10 +37,10 @@ class ScSimpleRangeList
public:
struct Range
{
- SCCOL mnCol1;
SCROW mnRow1;
- SCCOL mnCol2;
SCROW mnRow2;
+ SCCOL mnCol1;
+ SCCOL mnCol2;
explicit Range(SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2);
};
typedef std::shared_ptr< ::std::list<Range> > RangeListRef;
diff --git a/sc/source/core/tool/simplerangelist.cxx b/sc/source/core/tool/simplerangelist.cxx
index 14f7cf94341a..0dacf14d0464 100644
--- a/sc/source/core/tool/simplerangelist.cxx
+++ b/sc/source/core/tool/simplerangelist.cxx
@@ -29,7 +29,7 @@ using ::std::pair;
using ::std::max;
ScSimpleRangeList::Range::Range(SCCOL nCol1, SCROW nRow1, SCCOL nCol2, SCROW nRow2) :
- mnCol1(nCol1), mnRow1(nRow1), mnCol2(nCol2), mnRow2(nRow2) {}
+ mnRow1(nRow1), mnRow2(nRow2), mnCol1(nCol1), mnCol2(nCol2) {}
ScSimpleRangeList::ScSimpleRangeList()
{