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
a506352e
Kaydet (Commit)
a506352e
authored
Ock 10, 2014
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
remove now dead MyList class
Change-Id: I96411ecb072e5135e7d0e6bb276ff782dcb0270c
üst
1f3eed97
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
134 deletions
+0
-134
analysishelper.cxx
scaddins/source/analysis/analysishelper.cxx
+0
-50
analysishelper.hxx
scaddins/source/analysis/analysishelper.hxx
+0
-84
No files found.
scaddins/source/analysis/analysishelper.cxx
Dosyayı görüntüle @
a506352e
...
...
@@ -1391,56 +1391,6 @@ double GetCoupnum( sal_Int32 nNullDate, sal_Int32 nSettle, sal_Int32 nMat, sal_I
const
sal_uInt32
MyList
::
nStartSize
=
16
;
const
sal_uInt32
MyList
::
nIncrSize
=
16
;
void
MyList
::
_Grow
(
void
)
{
nSize
+=
nIncrSize
;
void
**
pNewData
=
new
void
*
[
nSize
];
memcpy
(
pNewData
,
pData
,
nNew
*
sizeof
(
void
*
)
);
delete
[]
pData
;
pData
=
pNewData
;
}
MyList
::
MyList
(
void
)
{
nSize
=
nStartSize
;
pData
=
new
void
*
[
nSize
];
nNew
=
nAct
=
0
;
}
MyList
::~
MyList
()
{
delete
[]
pData
;
}
void
MyList
::
Insert
(
void
*
p
,
sal_uInt32
n
)
{
if
(
n
>=
nNew
)
Append
(
p
);
else
{
Grow
();
void
**
pIns
=
pData
+
n
;
memmove
(
pIns
+
1
,
pIns
,
(
nNew
-
n
)
*
sizeof
(
void
*
)
);
*
pIns
=
p
;
nNew
++
;
}
}
class
AnalysisRscStrArrLoader
:
public
Resource
{
private
:
...
...
scaddins/source/analysis/analysishelper.hxx
Dosyayı görüntüle @
a506352e
...
...
@@ -148,35 +148,6 @@ double GetCoupdays( sal_Int32 nNullDate, sal_Int32 nSettle, sal_Int
class
MyList
{
private
:
static
const
sal_uInt32
nStartSize
;
static
const
sal_uInt32
nIncrSize
;
void
**
pData
;
// pointer array
sal_uInt32
nSize
;
// array size
sal_uInt32
nNew
;
// next index to be inserted at
sal_uInt32
nAct
;
// actual for iterations
void
_Grow
(
void
);
inline
void
Grow
(
void
);
protected
:
public
:
MyList
(
void
);
virtual
~
MyList
();
inline
const
void
*
GetObject
(
sal_uInt32
nIndex
)
const
;
inline
const
void
*
First
(
void
);
inline
const
void
*
Next
(
void
);
inline
void
Append
(
void
*
pNewElement
);
void
Insert
(
void
*
pNewLement
,
sal_uInt32
nPlace
);
inline
sal_uInt32
Count
(
void
)
const
;
};
enum
FDCategory
{
FDCat_AddIn
,
...
...
@@ -616,61 +587,6 @@ inline void AlignDate( sal_uInt16& rD, sal_uInt16 nM, sal_uInt16 nY )
}
inline
void
MyList
::
Grow
(
void
)
{
if
(
nNew
>=
nSize
)
_Grow
();
}
inline
const
void
*
MyList
::
GetObject
(
sal_uInt32
n
)
const
{
if
(
n
<
nNew
)
return
pData
[
n
];
else
return
NULL
;
}
inline
const
void
*
MyList
::
First
(
void
)
{
nAct
=
0
;
if
(
nNew
)
return
pData
[
0
];
else
return
NULL
;
}
inline
const
void
*
MyList
::
Next
(
void
)
{
nAct
++
;
if
(
nAct
<
nNew
)
return
pData
[
nAct
];
else
{
nAct
--
;
return
NULL
;
}
}
inline
void
MyList
::
Append
(
void
*
p
)
{
Grow
();
pData
[
nNew
]
=
p
;
nNew
++
;
}
inline
sal_uInt32
MyList
::
Count
(
void
)
const
{
return
nNew
;
}
inline
sal_uInt16
FuncData
::
GetUINameID
(
void
)
const
{
return
nUINameID
;
...
...
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