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
9d4c3a2a
Kaydet (Commit)
9d4c3a2a
authored
Mar 05, 2014
tarafından
Tor Lillqvist
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
WaE: comparison of integers of different signs
Change-Id: I936e7bdaf3a4236775add4982005b465f229eb78
üst
b25c2938
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
ctrlbox.cxx
svtools/source/control/ctrlbox.cxx
+3
-3
No files found.
svtools/source/control/ctrlbox.cxx
Dosyayı görüntüle @
9d4c3a2a
...
@@ -827,7 +827,7 @@ sal_Int32 LineListBox::InsertEntry( const OUString& rStr, sal_Int32 nPos )
...
@@ -827,7 +827,7 @@ sal_Int32 LineListBox::InsertEntry( const OUString& rStr, sal_Int32 nPos )
{
{
nPos
=
ListBox
::
InsertEntry
(
rStr
,
nPos
);
nPos
=
ListBox
::
InsertEntry
(
rStr
,
nPos
);
if
(
nPos
!=
LISTBOX_ERROR
)
{
if
(
nPos
!=
LISTBOX_ERROR
)
{
if
(
nPos
<
pLineList
->
size
(
)
)
{
if
(
nPos
<
static_cast
<
sal_Int32
>
(
pLineList
->
size
()
)
)
{
ImpLineList
::
iterator
it
=
pLineList
->
begin
();
ImpLineList
::
iterator
it
=
pLineList
->
begin
();
::
std
::
advance
(
it
,
nPos
);
::
std
::
advance
(
it
,
nPos
);
pLineList
->
insert
(
it
,
reinterpret_cast
<
ImpLineListData
*>
(
NULL
)
);
pLineList
->
insert
(
it
,
reinterpret_cast
<
ImpLineListData
*>
(
NULL
)
);
...
@@ -855,7 +855,7 @@ void LineListBox::RemoveEntry( sal_Int32 nPos )
...
@@ -855,7 +855,7 @@ void LineListBox::RemoveEntry( sal_Int32 nPos )
{
{
ListBox
::
RemoveEntry
(
nPos
);
ListBox
::
RemoveEntry
(
nPos
);
if
(
0
<=
nPos
&&
nPos
<
pLineList
->
size
(
)
)
{
if
(
0
<=
nPos
&&
nPos
<
static_cast
<
sal_Int32
>
(
pLineList
->
size
()
)
)
{
ImpLineList
::
iterator
it
=
pLineList
->
begin
();
ImpLineList
::
iterator
it
=
pLineList
->
begin
();
::
std
::
advance
(
it
,
nPos
);
::
std
::
advance
(
it
,
nPos
);
if
(
*
it
)
delete
*
it
;
if
(
*
it
)
delete
*
it
;
...
@@ -901,7 +901,7 @@ sal_Int32 LineListBox::GetEntryPos( sal_uInt16 nStyle ) const
...
@@ -901,7 +901,7 @@ sal_Int32 LineListBox::GetEntryPos( sal_uInt16 nStyle ) const
sal_uInt16
LineListBox
::
GetEntryStyle
(
sal_Int32
nPos
)
const
sal_uInt16
LineListBox
::
GetEntryStyle
(
sal_Int32
nPos
)
const
{
{
ImpLineListData
*
pData
=
(
0
<=
nPos
&&
nPos
<
pLineList
->
size
(
))
?
(
*
pLineList
)[
nPos
]
:
NULL
;
ImpLineListData
*
pData
=
(
0
<=
nPos
&&
nPos
<
static_cast
<
sal_Int32
>
(
pLineList
->
size
()
))
?
(
*
pLineList
)[
nPos
]
:
NULL
;
return
(
pData
)
?
pData
->
GetStyle
()
:
table
::
BorderLineStyle
::
NONE
;
return
(
pData
)
?
pData
->
GetStyle
()
:
table
::
BorderLineStyle
::
NONE
;
}
}
...
...
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