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
74bea5b0
Kaydet (Commit)
74bea5b0
authored
Eyl 05, 2013
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
convert include/editeng/swafopt.hxx from String to OUString
Change-Id: Ic3686fb44cd1e448b9998f2ddc73f9bfd1b3aaa8
üst
9fbb07cb
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
9 deletions
+9
-9
autocdlg.cxx
cui/source/tabpages/autocdlg.cxx
+2
-2
swafopt.hxx
include/editeng/swafopt.hxx
+5
-5
acmplwrd.hxx
sw/inc/acmplwrd.hxx
+1
-1
acmplwrd.cxx
sw/source/core/doc/acmplwrd.cxx
+1
-1
No files found.
cui/source/tabpages/autocdlg.cxx
Dosyayı görüntüle @
74bea5b0
...
@@ -2202,7 +2202,7 @@ void OfaAutoCompleteTabPage::Reset( const SfxItemSet& )
...
@@ -2202,7 +2202,7 @@ void OfaAutoCompleteTabPage::Reset( const SfxItemSet& )
nAutoCmpltListCnt
=
m_pAutoCompleteList
->
size
();
nAutoCmpltListCnt
=
m_pAutoCompleteList
->
size
();
for
(
size_t
n
=
0
;
n
<
nAutoCmpltListCnt
;
++
n
)
for
(
size_t
n
=
0
;
n
<
nAutoCmpltListCnt
;
++
n
)
{
{
const
String
*
pStr
=
const
OU
String
*
pStr
=
&
(
*
m_pAutoCompleteList
)[
n
]
->
GetAutoCompleteString
();
&
(
*
m_pAutoCompleteList
)[
n
]
->
GetAutoCompleteString
();
sal_uInt16
nPos
=
aLBEntries
.
InsertEntry
(
*
pStr
);
sal_uInt16
nPos
=
aLBEntries
.
InsertEntry
(
*
pStr
);
aLBEntries
.
SetEntryData
(
nPos
,
(
void
*
)
pStr
);
aLBEntries
.
SetEntryData
(
nPos
,
(
void
*
)
pStr
);
...
@@ -2230,7 +2230,7 @@ IMPL_LINK_NOARG(OfaAutoCompleteTabPage, DeleteHdl)
...
@@ -2230,7 +2230,7 @@ IMPL_LINK_NOARG(OfaAutoCompleteTabPage, DeleteHdl)
while
(
nSelCnt
)
while
(
nSelCnt
)
{
{
sal_uInt16
nPos
=
aLBEntries
.
GetSelectEntryPos
(
--
nSelCnt
);
sal_uInt16
nPos
=
aLBEntries
.
GetSelectEntryPos
(
--
nSelCnt
);
String
*
pStr
=
static_cast
<
String
*>
(
aLBEntries
.
GetEntryData
(
nPos
));
OUString
*
pStr
=
static_cast
<
OU
String
*>
(
aLBEntries
.
GetEntryData
(
nPos
));
aLBEntries
.
RemoveEntry
(
nPos
);
aLBEntries
.
RemoveEntry
(
nPos
);
editeng
::
IAutoCompleteString
hack
(
*
pStr
);
// UGLY
editeng
::
IAutoCompleteString
hack
(
*
pStr
);
// UGLY
m_pAutoCompleteList
->
erase
(
&
hack
);
m_pAutoCompleteList
->
erase
(
&
hack
);
...
...
include/editeng/swafopt.hxx
Dosyayı görüntüle @
74bea5b0
...
@@ -34,11 +34,11 @@ namespace editeng {
...
@@ -34,11 +34,11 @@ namespace editeng {
class
EDITENG_DLLPUBLIC
IAutoCompleteString
class
EDITENG_DLLPUBLIC
IAutoCompleteString
{
{
private
:
private
:
String
m_String
;
OU
String
m_String
;
public
:
public
:
explicit
IAutoCompleteString
(
String
const
&
rString
)
:
m_String
(
rString
)
{}
explicit
IAutoCompleteString
(
OU
String
const
&
rString
)
:
m_String
(
rString
)
{}
virtual
~
IAutoCompleteString
()
{}
virtual
~
IAutoCompleteString
()
{}
String
const
&
GetAutoCompleteString
()
const
{
return
m_String
;
}
OU
String
const
&
GetAutoCompleteString
()
const
{
return
m_String
;
}
};
};
struct
CompareAutoCompleteString
struct
CompareAutoCompleteString
...
@@ -46,8 +46,8 @@ struct CompareAutoCompleteString
...
@@ -46,8 +46,8 @@ struct CompareAutoCompleteString
bool
operator
()(
IAutoCompleteString
*
const
&
lhs
,
bool
operator
()(
IAutoCompleteString
*
const
&
lhs
,
IAutoCompleteString
*
const
&
rhs
)
const
IAutoCompleteString
*
const
&
rhs
)
const
{
{
return
lhs
->
GetAutoCompleteString
().
CompareIgnoreCaseToAscii
(
return
lhs
->
GetAutoCompleteString
().
compareToIgnoreAsciiCase
(
rhs
->
GetAutoCompleteString
())
==
COMPARE_LESS
;
rhs
->
GetAutoCompleteString
())
<
0
;
}
}
};
};
...
...
sw/inc/acmplwrd.hxx
Dosyayı görüntüle @
74bea5b0
...
@@ -52,7 +52,7 @@ public:
...
@@ -52,7 +52,7 @@ public:
bool
InsertWord
(
const
String
&
rWord
,
SwDoc
&
rDoc
);
bool
InsertWord
(
const
String
&
rWord
,
SwDoc
&
rDoc
);
const
String
&
operator
[](
size_t
n
)
const
const
OU
String
&
operator
[](
size_t
n
)
const
{
return
m_WordList
[
n
]
->
GetAutoCompleteString
();
}
{
return
m_WordList
[
n
]
->
GetAutoCompleteString
();
}
bool
IsLockWordLstLocked
()
const
{
return
bLockWordLst
;
}
bool
IsLockWordLstLocked
()
const
{
return
bLockWordLst
;
}
...
...
sw/source/core/doc/acmplwrd.cxx
Dosyayı görüntüle @
74bea5b0
...
@@ -327,7 +327,7 @@ void SwAutoCompleteWord::SetMinWordLen( sal_uInt16 n )
...
@@ -327,7 +327,7 @@ void SwAutoCompleteWord::SetMinWordLen( sal_uInt16 n )
if
(
n
<
nMinWrdLen
)
if
(
n
<
nMinWrdLen
)
{
{
for
(
size_t
nPos
=
0
;
nPos
<
m_WordList
.
size
();
++
nPos
)
for
(
size_t
nPos
=
0
;
nPos
<
m_WordList
.
size
();
++
nPos
)
if
(
m_WordList
[
nPos
]
->
GetAutoCompleteString
().
Len
()
<
n
)
if
(
m_WordList
[
nPos
]
->
GetAutoCompleteString
().
getLength
()
<
n
)
{
{
SwAutoCompleteString
*
const
pDel
=
SwAutoCompleteString
*
const
pDel
=
dynamic_cast
<
SwAutoCompleteString
*>
(
m_WordList
[
nPos
]);
dynamic_cast
<
SwAutoCompleteString
*>
(
m_WordList
[
nPos
]);
...
...
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