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
e346df21
Kaydet (Commit)
e346df21
authored
Haz 04, 2011
tarafından
Rafael Dominguez
Kaydeden (comit)
Petr Mladek
Haz 09, 2011
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Replace List for std::vector<ScRangeFindData>.
üst
8989823b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
18 deletions
+6
-18
inputhdl.cxx
sc/source/ui/app/inputhdl.cxx
+1
-2
rfindlst.cxx
sc/source/ui/app/rfindlst.cxx
+0
-10
rfindlst.hxx
sc/source/ui/inc/rfindlst.hxx
+5
-6
No files found.
sc/source/ui/app/inputhdl.cxx
Dosyayı görüntüle @
e346df21
...
@@ -204,8 +204,7 @@ handle_r1c1:
...
@@ -204,8 +204,7 @@ handle_r1c1:
pRangeFindList
=
new
ScRangeFindList
(
pDocSh
->
GetTitle
()
);
pRangeFindList
=
new
ScRangeFindList
(
pDocSh
->
GetTitle
()
);
}
}
ScRangeFindData
*
pNew
=
new
ScRangeFindData
(
aRange
,
nFlags
,
nStart
,
nPos
);
pRangeFindList
->
Insert
(
ScRangeFindData
(
aRange
,
nFlags
,
nStart
,
nPos
)
);
pRangeFindList
->
Insert
(
pNew
);
ESelection
aSel
(
0
,
nStart
,
0
,
nPos
);
ESelection
aSel
(
0
,
nStart
,
0
,
nPos
);
SfxItemSet
aSet
(
pEngine
->
GetEmptyItemSet
()
);
SfxItemSet
aSet
(
pEngine
->
GetEmptyItemSet
()
);
...
...
sc/source/ui/app/rfindlst.cxx
Dosyayı görüntüle @
e346df21
...
@@ -49,16 +49,6 @@ ScRangeFindList::ScRangeFindList(const String& rName) :
...
@@ -49,16 +49,6 @@ ScRangeFindList::ScRangeFindList(const String& rName) :
{
{
}
}
ScRangeFindList
::~
ScRangeFindList
()
{
void
*
pEntry
=
aEntries
.
First
();
while
(
pEntry
)
{
delete
(
ScRangeFindData
*
)
aEntries
.
Remove
(
pEntry
);
pEntry
=
aEntries
.
Next
();
}
}
ColorData
ScRangeFindList
::
GetColorName
(
size_t
nIndex
)
ColorData
ScRangeFindList
::
GetColorName
(
size_t
nIndex
)
{
{
return
aColNames
[
nIndex
%
SC_RANGECOLORS
];
return
aColNames
[
nIndex
%
SC_RANGECOLORS
];
...
...
sc/source/ui/inc/rfindlst.hxx
Dosyayı görüntüle @
e346df21
...
@@ -48,18 +48,17 @@ struct ScRangeFindData
...
@@ -48,18 +48,17 @@ struct ScRangeFindData
class
ScRangeFindList
class
ScRangeFindList
{
{
List
aEntries
;
std
::
vector
<
ScRangeFindData
>
m
aEntries
;
String
aDocName
;
String
aDocName
;
bool
bHidden
;
bool
bHidden
;
public
:
public
:
ScRangeFindList
(
const
String
&
rName
);
ScRangeFindList
(
const
String
&
rName
);
~
ScRangeFindList
();
sal_uLong
Count
()
const
{
return
aEntries
.
Count
();
}
sal_uLong
Count
()
const
{
return
maEntries
.
size
();
}
void
Insert
(
ScRangeFindData
*
pNew
)
{
aEntries
.
Insert
(
pNew
,
LIST_APPEND
);
}
void
Insert
(
const
ScRangeFindData
&
rNew
)
{
maEntries
.
push_back
(
rNew
);
}
ScRangeFindData
*
GetObject
(
sal_uLong
nIndex
)
const
{
return
(
ScRangeFindData
*
)
aEntries
.
GetObject
(
nIndex
);
}
ScRangeFindData
*
GetObject
(
sal_uLong
nIndex
)
{
return
&
(
maEntries
[
nIndex
]
);
}
void
SetHidden
(
sal_Bool
bSet
)
{
bHidden
=
bSet
;
}
void
SetHidden
(
sal_Bool
bSet
)
{
bHidden
=
bSet
;
}
...
...
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