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
0f2a8ec5
Kaydet (Commit)
0f2a8ec5
authored
Şub 05, 2014
tarafından
Norbert Thiebaud
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
coverity#707765 Uninitialized scalar field
Change-Id: I35194385cc2f5d02a93ade0e8ab40fb77eba7e6e
üst
bb688f72
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
34 deletions
+2
-34
txtrange.cxx
editeng/source/misc/txtrange.cxx
+0
-3
txtrange.hxx
include/editeng/txtrange.hxx
+1
-15
txtfly.cxx
sw/source/core/text/txtfly.cxx
+1
-16
No files found.
editeng/source/misc/txtrange.cxx
Dosyayı görüntüle @
0f2a8ec5
...
...
@@ -42,9 +42,6 @@ TextRanger::TextRanger( const basegfx::B2DPolyPolygon& rPolyPolygon,
bInner
(
bInnr
),
bVertical
(
bVert
)
{
#ifdef DBG_UTIL
bFlag3
=
bFlag4
=
bFlag5
=
bFlag6
=
bFlag7
=
sal_False
;
#endif
sal_uInt32
nCount
(
rPolyPolygon
.
count
());
mpPolyPolygon
=
new
PolyPolygon
(
(
sal_uInt16
)
nCount
);
...
...
include/editeng/txtrange.hxx
Dosyayı görüntüle @
0f2a8ec5
...
...
@@ -63,11 +63,7 @@ class EDITENG_DLLPUBLIC TextRanger
sal_Bool
bInner
:
1
;
// TRUE: Objekt inline (EditEngine);
// FALSE: Objekt flow (StarWriter);
sal_Bool
bVertical
:
1
;
// for vertical writing mode
sal_Bool
bFlag3
:
1
;
sal_Bool
bFlag4
:
1
;
sal_Bool
bFlag5
:
1
;
sal_Bool
bFlag6
:
1
;
sal_Bool
bFlag7
:
1
;
TextRanger
(
const
TextRanger
&
);
// not implemented
const
Rectangle
&
_GetBoundRect
();
public
:
...
...
@@ -93,16 +89,6 @@ public:
void
SetUpper
(
sal_uInt16
nNew
){
nUpper
=
nNew
;
}
void
SetLower
(
sal_uInt16
nNew
){
nLower
=
nNew
;
}
void
SetVertical
(
sal_Bool
bNew
);
sal_Bool
IsFlag3
()
const
{
return
bFlag3
;
}
void
SetFlag3
(
sal_Bool
bNew
)
{
bFlag3
=
bNew
;
}
sal_Bool
IsFlag4
()
const
{
return
bFlag4
;
}
void
SetFlag4
(
sal_Bool
bNew
)
{
bFlag4
=
bNew
;
}
sal_Bool
IsFlag5
()
const
{
return
bFlag5
;
}
void
SetFlag5
(
sal_Bool
bNew
)
{
bFlag5
=
bNew
;
}
sal_Bool
IsFlag6
()
const
{
return
bFlag6
;
}
void
SetFlag6
(
sal_Bool
bNew
)
{
bFlag6
=
bNew
;
}
sal_Bool
IsFlag7
()
const
{
return
bFlag7
;
}
void
SetFlag7
(
sal_Bool
bNew
)
{
bFlag7
=
bNew
;
}
};
...
...
sw/source/core/text/txtfly.cxx
Dosyayı görüntüle @
0f2a8ec5
...
...
@@ -257,22 +257,7 @@ const SwRect SwContourCache::ContourRect( const SwFmt* pFmt,
pTextRanger
[
0
]
->
SetLower
(
rULSpace
.
GetLower
()
);
delete
pPolyPolygon
;
// UPPER_LOWER_TEST
#ifdef DBG_UTIL
const
SwViewShell
*
pTmpViewShell
=
pFmt
->
GetDoc
()
->
GetCurrentViewShell
();
if
(
pTmpViewShell
)
{
sal_Bool
bT2
=
pTmpViewShell
->
GetViewOptions
()
->
IsTest2
();
sal_Bool
bT6
=
pTmpViewShell
->
GetViewOptions
()
->
IsTest6
();
if
(
bT2
||
bT6
)
{
if
(
bT2
)
pTextRanger
[
0
]
->
SetFlag7
(
sal_True
);
else
pTextRanger
[
0
]
->
SetFlag6
(
sal_True
);
}
}
#endif
nPntCnt
+=
pTextRanger
[
0
]
->
GetPointCount
();
while
(
nPntCnt
>
POLY_MAX
&&
nObjCnt
>
POLY_MIN
)
{
...
...
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