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
05e01bad
Kaydet (Commit)
05e01bad
authored
Kas 22, 2014
tarafından
Kohei Yoshida
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Make SvxAutocorrWordList explicitly non-copyable.
Change-Id: Idc056fd216bfe0b5e5c0285b1781b0658837f5a2
üst
614d384f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
svxacorr.cxx
editeng/source/misc/svxacorr.cxx
+2
-0
svxacorr.hxx
include/editeng/svxacorr.hxx
+4
-0
No files found.
editeng/source/misc/svxacorr.cxx
Dosyayı görüntüle @
05e01bad
...
...
@@ -2691,6 +2691,8 @@ bool CompareSvxAutocorrWordList::operator()( SvxAutocorrWord* const& lhs, SvxAut
return
rCmp
.
compareString
(
lhs
->
GetShort
(),
rhs
->
GetShort
()
)
<
0
;
}
SvxAutocorrWordList
::
SvxAutocorrWordList
()
{}
SvxAutocorrWordList
::~
SvxAutocorrWordList
()
{
DeleteAndDestroyAll
();
...
...
include/editeng/svxacorr.hxx
Dosyayı görüntüle @
05e01bad
...
...
@@ -143,6 +143,9 @@ typedef ::boost::unordered_map< OUString, SvxAutocorrWord *,
class
EDITENG_DLLPUBLIC
SvxAutocorrWordList
{
SvxAutocorrWordList
(
const
SvxAutocorrWordList
&
);
// disabled
const
SvxAutocorrWordList
&
operator
=
(
const
SvxAutocorrWordList
&
);
// disabled
// only one of these contains the data
mutable
SvxAutocorrWordList_Set
maSet
;
mutable
SvxAutocorrWordList_Hash
maHash
;
// key is 'Short'
...
...
@@ -152,6 +155,7 @@ class EDITENG_DLLPUBLIC SvxAutocorrWordList
sal_Int32
&
rStt
,
sal_Int32
nEndPos
)
const
;
public
:
SvxAutocorrWordList
();
// free any objects still in the set
~
SvxAutocorrWordList
();
void
DeleteAndDestroyAll
();
...
...
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