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
97e00047
Kaydet (Commit)
97e00047
authored
Nis 28, 2015
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
IcnCursor_Impl::GetSortListPos bVertical param wants to be of type bool
Change-Id: I2d6cbddb5dbaca33b41d87aefbb5559b3b30f674
üst
94e4f13d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
imivctl.hxx
svtools/source/contnr/imivctl.hxx
+1
-1
imivctl2.cxx
svtools/source/contnr/imivctl2.cxx
+5
-5
No files found.
svtools/source/contnr/imivctl.hxx
Dosyayı görüntüle @
97e00047
...
...
@@ -584,7 +584,7 @@ class IcnCursor_Impl
sal_uInt16
GetSortListPos
(
SvxIconChoiceCtrlEntryPtrVec
&
rList
,
long
nValue
,
int
bVertical
);
bool
bVertical
);
SvxIconChoiceCtrlEntry
*
SearchCol
(
sal_uInt16
nCol
,
sal_uInt16
nTop
,
...
...
svtools/source/contnr/imivctl2.cxx
Dosyayı görüntüle @
97e00047
...
...
@@ -34,7 +34,7 @@ IcnCursor_Impl::~IcnCursor_Impl()
}
sal_uInt16
IcnCursor_Impl
::
GetSortListPos
(
SvxIconChoiceCtrlEntryPtrVec
&
rList
,
long
nValue
,
int
bVertical
)
bool
bVertical
)
{
sal_uInt16
nCount
=
rList
.
size
();
if
(
!
nCount
)
...
...
@@ -85,11 +85,11 @@ void IcnCursor_Impl::ImplCreate()
nX
=
sal
::
static_int_cast
<
short
>
(
nCols
-
1
);
SvxIconChoiceCtrlEntryPtrVec
&
rColEntry
=
(
*
xColumns
)[
nX
];
sal_uInt16
nIns
=
GetSortListPos
(
rColEntry
,
rRect
.
Top
(),
sal_T
rue
);
sal_uInt16
nIns
=
GetSortListPos
(
rColEntry
,
rRect
.
Top
(),
t
rue
);
rColEntry
.
insert
(
rColEntry
.
begin
()
+
nIns
,
pEntry
);
SvxIconChoiceCtrlEntryPtrVec
&
rRowEntry
=
(
*
xRows
)[
nY
];
nIns
=
GetSortListPos
(
rRowEntry
,
rRect
.
Left
(),
sal_F
alse
);
nIns
=
GetSortListPos
(
rRowEntry
,
rRect
.
Left
(),
f
alse
);
rRowEntry
.
insert
(
rRowEntry
.
begin
()
+
nIns
,
pEntry
);
pEntry
->
nX
=
nX
;
...
...
@@ -497,7 +497,7 @@ void IcnCursor_Impl::CreateGridAjustData( IconChoiceMap& rLists, SvxIconChoiceCt
SvxIconChoiceCtrlEntry
*
pEntry
=
pView
->
aEntries
[
nCur
];
const
Rectangle
&
rRect
=
pView
->
GetEntryBoundRect
(
pEntry
);
short
nY
=
(
short
)(
((
rRect
.
Top
()
+
rRect
.
Bottom
())
/
2
)
/
pView
->
nGridDY
);
sal_uInt16
nIns
=
GetSortListPos
(
rLists
[
nY
],
rRect
.
Left
(),
sal_F
alse
);
sal_uInt16
nIns
=
GetSortListPos
(
rLists
[
nY
],
rRect
.
Left
(),
f
alse
);
rLists
[
nY
].
insert
(
rLists
[
nY
].
begin
()
+
nIns
,
pEntry
);
}
}
...
...
@@ -518,7 +518,7 @@ void IcnCursor_Impl::CreateGridAjustData( IconChoiceMap& rLists, SvxIconChoiceCt
short
nY
=
(
short
)(
((
rRect
.
Top
()
+
rRect
.
Bottom
())
/
2
)
/
pView
->
nGridDY
);
if
(
nY
==
nRefRow
)
{
sal_uInt16
nIns
=
GetSortListPos
(
rRow
,
rRect
.
Left
(),
sal_F
alse
);
sal_uInt16
nIns
=
GetSortListPos
(
rRow
,
rRect
.
Left
(),
f
alse
);
rRow
.
insert
(
rRow
.
begin
()
+
nIns
,
pEntry
);
}
}
...
...
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