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
85bee973
Kaydet (Commit)
85bee973
authored
Agu 23, 2011
tarafından
Tor Lillqvist
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Work around limitation in the debug version of the MSVC std::lower_bound
üst
b0eea6c3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
7 deletions
+5
-7
tablecontrol_impl.cxx
svtools/source/table/tablecontrol_impl.cxx
+3
-1
tablecontrol_impl.hxx
svtools/source/table/tablecontrol_impl.hxx
+2
-6
No files found.
svtools/source/table/tablecontrol_impl.cxx
Dosyayı görüntüle @
85bee973
...
...
@@ -2391,10 +2391,12 @@ namespace svt { namespace table
long
const
ordinate
=
i_ordinate
-
m_nRowHeaderWidthPixel
;
MutableColumnMetrics
aOrdinateColumn
(
ordinate
+
1
,
ordinate
+
1
);
ColumnPositions
::
const_iterator
lowerBound
=
::
std
::
lower_bound
(
m_aColumnWidths
.
begin
(),
m_aColumnWidths
.
end
(),
ordinate
+
1
,
MutableColumnMetrics
(
ordinate
+
1
,
ordinate
+
1
)
,
ColumnInfoPositionLess
()
);
if
(
lowerBound
==
m_aColumnWidths
.
end
()
)
...
...
svtools/source/table/tablecontrol_impl.hxx
Dosyayı görüntüle @
85bee973
...
...
@@ -72,13 +72,9 @@ namespace svt { namespace table
struct
ColumnInfoPositionLess
{
bool
operator
()(
MutableColumnMetrics
const
&
i_
colInfo
,
long
const
i_position
)
bool
operator
()(
MutableColumnMetrics
const
&
i_
lhs
,
MutableColumnMetrics
const
&
i_rhs
)
{
return
i_colInfo
.
getEnd
()
<
i_position
;
}
bool
operator
()(
long
const
i_position
,
MutableColumnMetrics
const
&
i_colInfo
)
{
return
i_position
<
i_colInfo
.
getStart
();
return
i_lhs
.
getEnd
()
<
i_rhs
.
getStart
();
}
};
...
...
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