Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
234884c0
Kaydet (Commit)
234884c0
authored
Kas 24, 2015
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
loplugin:unusedfields in include/sot,include/svl,include/svtools
Change-Id: Ia2dd13c2c48b127ab85311a668fa1f37608d360a
üst
85c758a4
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
13 additions
and
19 deletions
+13
-19
unusedfields.py
compilerplugins/clang/unusedfields.py
+2
-1
object.hxx
include/sot/object.hxx
+0
-1
filerec.hxx
include/svl/filerec.hxx
+0
-2
ruler.hxx
include/svtools/ruler.hxx
+0
-2
treelistbox.hxx
include/svtools/treelistbox.hxx
+0
-1
object.cxx
sot/source/base/object.cxx
+0
-1
ruler.cxx
svtools/source/control/ruler.cxx
+11
-11
No files found.
compilerplugins/clang/unusedfields.py
Dosyayı görüntüle @
234884c0
...
@@ -67,7 +67,8 @@ for d in definitionSet:
...
@@ -67,7 +67,8 @@ for d in definitionSet:
or
srcLoc
.
startswith
(
"vcl/source/filter/sgvmain.hxx"
)
or
srcLoc
.
startswith
(
"vcl/source/filter/sgvmain.hxx"
)
or
srcLoc
.
startswith
(
"vcl/source/filter/sgfbram.hxx"
)
or
srcLoc
.
startswith
(
"vcl/source/filter/sgfbram.hxx"
)
or
srcLoc
.
startswith
(
"vcl/inc/unx/XIM.h"
)
or
srcLoc
.
startswith
(
"vcl/inc/unx/XIM.h"
)
or
srcLoc
.
startswith
(
"vcl/inc/unx/gtk/gloactiongroup.h"
)):
or
srcLoc
.
startswith
(
"vcl/inc/unx/gtk/gloactiongroup.h"
)
or
srcLoc
.
startswith
(
"include/svl/svdde.hxx"
)):
continue
continue
tmp1set
.
add
((
clazz
+
" "
+
definitionToTypeMap
[
d
],
srcLoc
))
tmp1set
.
add
((
clazz
+
" "
+
definitionToTypeMap
[
d
],
srcLoc
))
...
...
include/sot/object.hxx
Dosyayı görüntüle @
234884c0
...
@@ -30,7 +30,6 @@ class SOT_DLLPUBLIC SotObject : virtual public SvRefBase
...
@@ -30,7 +30,6 @@ class SOT_DLLPUBLIC SotObject : virtual public SvRefBase
friend
class
SotFactory
;
friend
class
SotFactory
;
sal_uInt16
nOwnerLockCount
;
sal_uInt16
nOwnerLockCount
;
bool
bOwner
;
bool
bOwner
;
bool
bSVObject
;
// is proxy, then TRUE if other side is SV
bool
bInClose
;
// TRUE, in DoClose
bool
bInClose
;
// TRUE, in DoClose
protected
:
protected
:
...
...
include/svl/filerec.hxx
Dosyayı görüntüle @
234884c0
...
@@ -313,13 +313,11 @@ class SVL_DLLPUBLIC SfxSingleRecordReader: public SfxMiniRecordReader
...
@@ -313,13 +313,11 @@ class SVL_DLLPUBLIC SfxSingleRecordReader: public SfxMiniRecordReader
{
{
protected
:
protected
:
sal_uInt16
_nRecordTag
;
// type of the complete contents
sal_uInt16
_nRecordTag
;
// type of the complete contents
sal_uInt8
_nRecordVer
;
// version of the complete contents
sal_uInt8
_nRecordType
;
// Record Type from the header
sal_uInt8
_nRecordType
;
// Record Type from the header
// Three phase constructor for derived classes
// Three phase constructor for derived classes
SfxSingleRecordReader
()
SfxSingleRecordReader
()
:
_nRecordTag
(
0
)
:
_nRecordTag
(
0
)
,
_nRecordVer
(
0
)
,
_nRecordType
(
0
)
,
_nRecordType
(
0
)
{
{
}
}
...
...
include/svtools/ruler.hxx
Dosyayı görüntüle @
234884c0
...
@@ -573,8 +573,6 @@ struct RulerUnitData
...
@@ -573,8 +573,6 @@ struct RulerUnitData
double
nTick2
;
// Tick quarter unit
double
nTick2
;
// Tick quarter unit
double
nTick3
;
// Tick half unit
double
nTick3
;
// Tick half unit
double
nTick4
;
// Tick whole unit
double
nTick4
;
// Tick whole unit
long
n100THMM
;
// 100mm Unit divider
sal_uInt16
nUnitDigits
;
// Number of digits
sal_Char
aUnitStr
[
8
];
// Unit string
sal_Char
aUnitStr
[
8
];
// Unit string
};
};
...
...
include/svtools/treelistbox.hxx
Dosyayı görüntüle @
234884c0
...
@@ -259,7 +259,6 @@ class SVT_DLLPUBLIC SvTreeListBox
...
@@ -259,7 +259,6 @@ class SVT_DLLPUBLIC SvTreeListBox
bool
mbUpdateAlternatingRows
;
bool
mbUpdateAlternatingRows
;
SvTreeListEntry
*
pHdlEntry
;
SvTreeListEntry
*
pHdlEntry
;
SvLBoxItem
*
pHdlItem
;
DragDropMode
nDragDropMode
;
DragDropMode
nDragDropMode
;
DragDropMode
nOldDragMode
;
DragDropMode
nOldDragMode
;
...
...
sot/source/base/object.cxx
Dosyayı görüntüle @
234884c0
...
@@ -58,7 +58,6 @@ void * SotObject::Cast( const SotFactory * pFact )
...
@@ -58,7 +58,6 @@ void * SotObject::Cast( const SotFactory * pFact )
SotObject
::
SotObject
()
SotObject
::
SotObject
()
:
nOwnerLockCount
(
0
)
:
nOwnerLockCount
(
0
)
,
bOwner
(
true
)
,
bOwner
(
true
)
,
bSVObject
(
false
)
,
bInClose
(
false
)
,
bInClose
(
false
)
{
{
SotFactory
::
IncSvObjectCount
(
this
);
SotFactory
::
IncSvObjectCount
(
this
);
...
...
svtools/source/control/ruler.cxx
Dosyayı görüntüle @
234884c0
...
@@ -179,17 +179,17 @@ ImplRulerData& ImplRulerData::operator=( const ImplRulerData& rData )
...
@@ -179,17 +179,17 @@ ImplRulerData& ImplRulerData::operator=( const ImplRulerData& rData )
static
const
RulerUnitData
aImplRulerUnitTab
[
RULER_UNIT_COUNT
]
=
static
const
RulerUnitData
aImplRulerUnitTab
[
RULER_UNIT_COUNT
]
=
{
{
{
MAP_100TH_MM
,
100
,
25.0
,
25.0
,
50.0
,
100.0
,
100
,
3
,
" mm"
},
// MM
{
MAP_100TH_MM
,
100
,
25.0
,
25.0
,
50.0
,
100.0
,
" mm"
},
// MM
{
MAP_100TH_MM
,
1000
,
100.0
,
500.0
,
1000.0
,
1000.0
,
1000
,
3
,
" cm"
},
// CM
{
MAP_100TH_MM
,
1000
,
100.0
,
500.0
,
1000.0
,
1000.0
,
" cm"
},
// CM
{
MAP_MM
,
1000
,
10.0
,
250.0
,
500.0
,
1000.0
,
10000
,
4
,
" m"
},
// M
{
MAP_MM
,
1000
,
10.0
,
250.0
,
500.0
,
1000.0
,
" m"
},
// M
{
MAP_CM
,
100000
,
12500.0
,
25000.0
,
50000.0
,
100000.0
,
100000
,
6
,
" km"
},
// KM
{
MAP_CM
,
100000
,
12500.0
,
25000.0
,
50000.0
,
100000.0
,
" km"
},
// KM
{
MAP_1000TH_INCH
,
1000
,
62.5
,
125.0
,
500.0
,
1000.0
,
25400
,
3
,
"
\"
"
},
// INCH
{
MAP_1000TH_INCH
,
1000
,
62.5
,
125.0
,
500.0
,
1000.0
,
"
\"
"
},
// INCH
{
MAP_100TH_INCH
,
1200
,
120.0
,
120.0
,
600.0
,
1200.0
,
30480
,
3
,
"'"
},
// FOOT
{
MAP_100TH_INCH
,
1200
,
120.0
,
120.0
,
600.0
,
1200.0
,
"'"
},
// FOOT
{
MAP_10TH_INCH
,
633600
,
63360.0
,
63360.0
,
316800.0
,
633600.0
,
1609344
,
4
,
" miles"
},
// MILE
{
MAP_10TH_INCH
,
633600
,
63360.0
,
63360.0
,
316800.0
,
633600.0
,
" miles"
},
// MILE
{
MAP_POINT
,
1
,
12.0
,
12.0
,
12.0
,
36.0
,
353
,
2
,
" pt"
},
// POINT
{
MAP_POINT
,
1
,
12.0
,
12.0
,
12.0
,
36.0
,
" pt"
},
// POINT
{
MAP_100TH_MM
,
423
,
423.0
,
423.0
,
423.0
,
846.0
,
423
,
3
,
" pi"
},
// PICA
{
MAP_100TH_MM
,
423
,
423.0
,
423.0
,
423.0
,
846.0
,
" pi"
},
// PICA
{
MAP_100TH_MM
,
371
,
371.0
,
371.0
,
371.0
,
743.0
,
371
,
3
,
" ch"
},
// CHAR
{
MAP_100TH_MM
,
371
,
371.0
,
371.0
,
371.0
,
743.0
,
" ch"
},
// CHAR
{
MAP_100TH_MM
,
551
,
551.0
,
551.0
,
551.0
,
1102.0
,
551
,
3
,
" li"
}
// LINE
{
MAP_100TH_MM
,
551
,
551.0
,
551.0
,
551.0
,
1102.0
,
" li"
}
// LINE
};
};
static
RulerTabData
ruler_tab
=
static
RulerTabData
ruler_tab
=
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment