summaryrefslogtreecommitdiff
path: root/solenv
diff options
context:
space:
mode:
authorChris Sherlock <chris.sherlock79@gmail.com>2022-07-24 18:52:21 +1000
committerMichael Stahl <michael.stahl@allotropia.de>2022-08-09 10:51:53 +0200
commitfd9763cb7ecb05c43bcd23f6aedf73489e1bccb8 (patch)
tree04f62f07d1356b0390b3d27ae5f7579c2c4ffc6a /solenv
parent33c8c9d0dc8e76bc7dacb92175047a89f7d39a3c (diff)
tools: prefix member variables with an 'm'
Also updated debug pretty-printers Change-Id: I5204bb8f1c6a47677ad3c49d6579c090ea69aedc Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137388 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Diffstat (limited to 'solenv')
-rw-r--r--solenv/gdb/libreoffice/tl.py16
-rw-r--r--solenv/vs/LibreOffice.natvis18
2 files changed, 17 insertions, 17 deletions
diff --git a/solenv/gdb/libreoffice/tl.py b/solenv/gdb/libreoffice/tl.py
index 8e15bfd47a0d..5eb2c45ca54f 100644
--- a/solenv/gdb/libreoffice/tl.py
+++ b/solenv/gdb/libreoffice/tl.py
@@ -156,8 +156,8 @@ class PointPrinter(object):
return "%s" % (self.typename)
def children(self):
- x = self.value['nA']
- y = self.value['nB']
+ x = self.value['mnA']
+ y = self.value['mnB']
children = [('x', x), ('y', y)]
return children.__iter__()
@@ -172,8 +172,8 @@ class SizePrinter(object):
return "%s" % (self.typename)
def children(self):
- width = self.value['nA']
- height = self.value['nB']
+ width = self.value['mnA']
+ height = self.value['mnB']
children = [('width', width), ('height', height)]
return children.__iter__()
@@ -188,10 +188,10 @@ class RectanglePrinter(object):
return "%s" % (self.typename)
def children(self):
- left = self.value['nLeft']
- top = self.value['nTop']
- right = self.value['nRight']
- bottom = self.value['nBottom']
+ left = self.value['mnLeft']
+ top = self.value['mnTop']
+ right = self.value['mnRight']
+ bottom = self.value['mnBottom']
children = [('left', left), ('top', top), ('right', right), ('bottom', bottom)]
return children.__iter__()
diff --git a/solenv/vs/LibreOffice.natvis b/solenv/vs/LibreOffice.natvis
index 23445345a631..ec89af18ff68 100644
--- a/solenv/vs/LibreOffice.natvis
+++ b/solenv/vs/LibreOffice.natvis
@@ -89,29 +89,29 @@
<DisplayString>{mpImpl}</DisplayString>
</Type>
<Type Name="Point">
- <DisplayString>X:{nA}, Y:{nB}</DisplayString>
+ <DisplayString>X:{mnA}, Y:{mnB}</DisplayString>
</Type>
<Type Name="Size">
- <DisplayString>W:{nA}, H:{nB}</DisplayString>
+ <DisplayString>W:{mnA}, H:{mnB}</DisplayString>
</Type>
<Type Name="Range">
- <DisplayString>Min:{nA}, Max:{nB}</DisplayString>
+ <DisplayString>Min:{mnA}, Max:{mnB}</DisplayString>
</Type>
<Type Name="Selection">
- <DisplayString>Min:{nA}, Max:{nB}</DisplayString>
+ <DisplayString>Min:{mnA}, Max:{mnB}</DisplayString>
</Type>
<Type Name="Pair">
- <DisplayString>A:{nA}, B:{nB}</DisplayString>
+ <DisplayString>A:{mnA}, B:{mnB}</DisplayString>
</Type>
<Type Name="SwRect">
<DisplayString>{m_Point}, {m_Size}</DisplayString>
</Type>
<Type Name="tools::Rectangle">
- <DisplayString IncludeView="w">{nRight==-32767?0:(nRight-nLeft+(nLeft>nRight?(-1):(1)))}</DisplayString>
- <DisplayString IncludeView="h">{nBottom==-32767?0:(nBottom-nTop+(nTop>nBottom?(-1):(1)))}</DisplayString>
- <DisplayString IncludeView="sz" Condition="nRight==-32767 || nBottom==-32767">empty</DisplayString>
+ <DisplayString IncludeView="w">{mnRight==-32767?0:(mnRight-mnLeft+(mnLeft>mnRight?(-1):(1)))}</DisplayString>
+ <DisplayString IncludeView="h">{mnBottom==-32767?0:(mnBottom-mnTop+(mnTop>mnBottom?(-1):(1)))}</DisplayString>
+ <DisplayString IncludeView="sz" Condition="mnRight==-32767 || mnBottom==-32767">empty</DisplayString>
<DisplayString IncludeView="sz">{*this,view(w)nd} x {*this,view(h)nd}</DisplayString>
- <DisplayString>{{ LT=[{nLeft} , {nTop}] RB=[{nRight} , {nBottom}] [{*this,view(sz)}] }}</DisplayString>
+ <DisplayString>{{ LT=[{mnLeft} , {mnTop}] RB=[{mnRight} , {mnBottom}] [{*this,view(sz)}] }}</DisplayString>
</Type>
<Type Name="_sal_Sequence">
<DisplayString Condition="nElements == 0">_sal_Sequence (empty)</DisplayString>