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
7a6341e4
Kaydet (Commit)
7a6341e4
authored
May 17, 2015
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
cppcheck: noExplicitConstructor
Change-Id: Ie7e0a036c223f9576be3798feb0df95131c1803a
üst
6e62d72b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
10 deletions
+10
-10
pormulti.hxx
sw/source/core/text/pormulti.hxx
+1
-1
porrst.hxx
sw/source/core/text/porrst.hxx
+9
-9
No files found.
sw/source/core/text/pormulti.hxx
Dosyayı görüntüle @
7a6341e4
...
@@ -85,7 +85,7 @@ class SwMultiPortion : public SwLinePortion
...
@@ -85,7 +85,7 @@ class SwMultiPortion : public SwLinePortion
bool
bFlyInCntnt
:
1
;
// Fly as character inside
bool
bFlyInCntnt
:
1
;
// Fly as character inside
sal_uInt8
nDirection
:
2
;
// Direction (0/90/180/270 degrees)
sal_uInt8
nDirection
:
2
;
// Direction (0/90/180/270 degrees)
protected
:
protected
:
SwMultiPortion
(
sal_Int32
nEnd
)
explicit
SwMultiPortion
(
sal_Int32
nEnd
)
:
pFldRest
(
0
)
:
pFldRest
(
0
)
,
bTab1
(
false
)
,
bTab1
(
false
)
,
bTab2
(
false
)
,
bTab2
(
false
)
...
...
sw/source/core/text/porrst.hxx
Dosyayı görüntüle @
7a6341e4
...
@@ -29,7 +29,7 @@ class SwTxtFormatInfo;
...
@@ -29,7 +29,7 @@ class SwTxtFormatInfo;
class
SwTmpEndPortion
:
public
SwLinePortion
class
SwTmpEndPortion
:
public
SwLinePortion
{
{
public
:
public
:
SwTmpEndPortion
(
const
SwLinePortion
&
rPortion
);
explicit
SwTmpEndPortion
(
const
SwLinePortion
&
rPortion
);
virtual
void
Paint
(
const
SwTxtPaintInfo
&
rInf
)
const
SAL_OVERRIDE
;
virtual
void
Paint
(
const
SwTxtPaintInfo
&
rInf
)
const
SAL_OVERRIDE
;
OUTPUT_OPERATOR_OVERRIDE
OUTPUT_OPERATOR_OVERRIDE
};
};
...
@@ -37,7 +37,7 @@ public:
...
@@ -37,7 +37,7 @@ public:
class
SwBreakPortion
:
public
SwLinePortion
class
SwBreakPortion
:
public
SwLinePortion
{
{
public
:
public
:
SwBreakPortion
(
const
SwLinePortion
&
rPortion
);
explicit
SwBreakPortion
(
const
SwLinePortion
&
rPortion
);
// Returns 0 if we have no usable data
// Returns 0 if we have no usable data
virtual
SwLinePortion
*
Compress
()
SAL_OVERRIDE
;
virtual
SwLinePortion
*
Compress
()
SAL_OVERRIDE
;
virtual
void
Paint
(
const
SwTxtPaintInfo
&
rInf
)
const
SAL_OVERRIDE
;
virtual
void
Paint
(
const
SwTxtPaintInfo
&
rInf
)
const
SAL_OVERRIDE
;
...
@@ -69,7 +69,7 @@ public:
...
@@ -69,7 +69,7 @@ public:
// This constructor only sets the height and ascent to the values
// This constructor only sets the height and ascent to the values
// of rPortion. It is only used for kerning portions for grid mode
// of rPortion. It is only used for kerning portions for grid mode
SwKernPortion
(
const
SwLinePortion
&
rPortion
);
explicit
SwKernPortion
(
const
SwLinePortion
&
rPortion
);
virtual
void
FormatEOL
(
SwTxtFormatInfo
&
rInf
)
SAL_OVERRIDE
;
virtual
void
FormatEOL
(
SwTxtFormatInfo
&
rInf
)
SAL_OVERRIDE
;
virtual
void
Paint
(
const
SwTxtPaintInfo
&
rInf
)
const
SAL_OVERRIDE
;
virtual
void
Paint
(
const
SwTxtPaintInfo
&
rInf
)
const
SAL_OVERRIDE
;
...
@@ -82,8 +82,8 @@ class SwArrowPortion : public SwLinePortion
...
@@ -82,8 +82,8 @@ class SwArrowPortion : public SwLinePortion
Point
aPos
;
Point
aPos
;
bool
bLeft
;
bool
bLeft
;
public
:
public
:
SwArrowPortion
(
const
SwLinePortion
&
rPortion
);
explicit
SwArrowPortion
(
const
SwLinePortion
&
rPortion
);
SwArrowPortion
(
const
SwTxtPaintInfo
&
rInf
);
explicit
SwArrowPortion
(
const
SwTxtPaintInfo
&
rInf
);
virtual
void
Paint
(
const
SwTxtPaintInfo
&
rInf
)
const
SAL_OVERRIDE
;
virtual
void
Paint
(
const
SwTxtPaintInfo
&
rInf
)
const
SAL_OVERRIDE
;
virtual
SwLinePortion
*
Compress
()
SAL_OVERRIDE
;
virtual
SwLinePortion
*
Compress
()
SAL_OVERRIDE
;
inline
bool
IsLeft
()
const
{
return
bLeft
;
}
inline
bool
IsLeft
()
const
{
return
bLeft
;
}
...
@@ -99,17 +99,17 @@ class SwHangingPortion : public SwTxtPortion
...
@@ -99,17 +99,17 @@ class SwHangingPortion : public SwTxtPortion
{
{
sal_uInt16
nInnerWidth
;
sal_uInt16
nInnerWidth
;
public
:
public
:
inline
SwHangingPortion
(
SwPosSize
aSize
)
:
nInnerWidth
(
aSize
.
Width
()
)
explicit
SwHangingPortion
(
SwPosSize
aSize
)
:
nInnerWidth
(
aSize
.
Width
()
)
{
SetWhichPor
(
POR_HNG
);
SetLen
(
1
);
Height
(
aSize
.
Height
()
);
}
{
SetWhichPor
(
POR_HNG
);
SetLen
(
1
);
Height
(
aSize
.
Height
()
);
}
inline
sal_uInt16
GetInnerWidth
()
const
{
return
nInnerWidth
;
}
sal_uInt16
GetInnerWidth
()
const
{
return
nInnerWidth
;
}
};
};
// Used to hide text
// Used to hide text
class
SwHiddenTextPortion
:
public
SwLinePortion
class
SwHiddenTextPortion
:
public
SwLinePortion
{
{
public
:
public
:
inline
SwHiddenTextPortion
(
sal_Int32
nLen
)
explicit
SwHiddenTextPortion
(
sal_Int32
nLen
)
{
SetWhichPor
(
POR_HIDDEN_TXT
);
SetLen
(
nLen
);
}
{
SetWhichPor
(
POR_HIDDEN_TXT
);
SetLen
(
nLen
);
}
virtual
void
Paint
(
const
SwTxtPaintInfo
&
rInf
)
const
SAL_OVERRIDE
;
virtual
void
Paint
(
const
SwTxtPaintInfo
&
rInf
)
const
SAL_OVERRIDE
;
...
@@ -126,7 +126,7 @@ private:
...
@@ -126,7 +126,7 @@ private:
public
:
public
:
inline
SwControlCharPortion
(
sal_Unicode
cChar
)
explicit
SwControlCharPortion
(
sal_Unicode
cChar
)
:
mnViewWidth
(
0
),
mnHalfCharWidth
(
0
),
mcChar
(
cChar
)
:
mnViewWidth
(
0
),
mnHalfCharWidth
(
0
),
mcChar
(
cChar
)
{
{
SetWhichPor
(
POR_CONTROLCHAR
);
SetLen
(
1
);
SetWhichPor
(
POR_CONTROLCHAR
);
SetLen
(
1
);
...
...
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