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
a5b3eded
Kaydet (Commit)
a5b3eded
authored
Tem 13, 2011
tarafından
Thomas Arnhold
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
callcatcher: remove unused Table::GetUniqueKey
üst
b6d0d593
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
41 deletions
+0
-41
table.hxx
tools/inc/tools/table.hxx
+0
-2
table.cxx
tools/source/memtools/table.cxx
+0
-39
No files found.
tools/inc/tools/table.hxx
Dosyayı görüntüle @
a5b3eded
...
@@ -65,7 +65,6 @@ public:
...
@@ -65,7 +65,6 @@ public:
{
return
Container
::
GetObject
(
(
nPos
*
2
)
+
1
);
}
{
return
Container
::
GetObject
(
(
nPos
*
2
)
+
1
);
}
sal_uIntPtr
GetObjectKey
(
sal_uIntPtr
nPos
)
const
sal_uIntPtr
GetObjectKey
(
sal_uIntPtr
nPos
)
const
{
return
(
sal_uIntPtr
)
Container
::
GetObject
(
nPos
*
2
);
}
{
return
(
sal_uIntPtr
)
Container
::
GetObject
(
nPos
*
2
);
}
sal_uIntPtr
GetUniqueKey
(
sal_uIntPtr
nStartKey
=
1
)
const
;
sal_uIntPtr
SearchKey
(
sal_uIntPtr
nKey
,
sal_uIntPtr
*
pPos
=
NULL
)
const
;
sal_uIntPtr
SearchKey
(
sal_uIntPtr
nKey
,
sal_uIntPtr
*
pPos
=
NULL
)
const
;
void
*
Seek
(
sal_uIntPtr
nKey
);
void
*
Seek
(
sal_uIntPtr
nKey
);
...
@@ -102,7 +101,6 @@ public: \
...
@@ -102,7 +101,6 @@ public: \
using Table::Count; \
using Table::Count; \
using Table::GetCurKey; \
using Table::GetCurKey; \
using Table::GetObjectKey; \
using Table::GetObjectKey; \
using Table::GetUniqueKey; \
using Table::SearchKey; \
using Table::SearchKey; \
using Table::IsKeyValid; \
using Table::IsKeyValid; \
\
\
...
...
tools/source/memtools/table.cxx
Dosyayı görüntüle @
a5b3eded
...
@@ -257,45 +257,6 @@ sal_Bool Table::IsKeyValid( sal_uIntPtr nKey ) const
...
@@ -257,45 +257,6 @@ sal_Bool Table::IsKeyValid( sal_uIntPtr nKey ) const
// -----------------------------------------------------------------------
// -----------------------------------------------------------------------
sal_uIntPtr
Table
::
GetUniqueKey
(
sal_uIntPtr
nStartKey
)
const
{
DBG_ASSERT
(
(
nStartKey
>
1
)
&&
(
nStartKey
<
0xFFFFFFFF
),
"Table::GetUniqueKey() - nStartKey == 0 or nStartKey >= 0xFFFFFFFF"
);
if
(
!
nCount
)
return
nStartKey
;
sal_uIntPtr
nLastKey
=
(
sal_uIntPtr
)
Container
::
GetObject
(
(
nCount
*
2
)
-
2
);
if
(
nLastKey
<
nStartKey
)
return
nStartKey
;
else
{
if
(
nLastKey
<
0xFFFFFFFE
)
return
nLastKey
+
1
;
else
{
sal_uIntPtr
nPos
;
sal_uIntPtr
nTempPos
=
ImplGetIndex
(
nStartKey
,
&
nPos
);
if
(
nTempPos
!=
TABLE_ENTRY_NOTFOUND
)
nPos
=
nTempPos
;
nLastKey
=
(
sal_uIntPtr
)
Container
::
GetObject
(
nPos
);
if
(
nStartKey
<
nLastKey
)
return
nStartKey
;
while
(
nLastKey
<
0xFFFFFFFE
)
{
nPos
+=
2
;
nLastKey
++
;
if
(
nLastKey
!=
(
sal_uIntPtr
)
Container
::
GetObject
(
nPos
)
)
return
nLastKey
;
}
}
}
return
0
;
}
// -----------------------------------------------------------------------
sal_uIntPtr
Table
::
SearchKey
(
sal_uIntPtr
nKey
,
sal_uIntPtr
*
pPos
)
const
sal_uIntPtr
Table
::
SearchKey
(
sal_uIntPtr
nKey
,
sal_uIntPtr
*
pPos
)
const
{
{
*
pPos
=
0
;
*
pPos
=
0
;
...
...
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