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
11986b61
Kaydet (Commit)
11986b61
authored
Eyl 06, 2013
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
convert SvxAutocorrWord from String to OUString
Change-Id: I4f70ebb03d5028db77ab3d86eb884462c92ec9dc
üst
ac85b6cf
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
7 deletions
+7
-7
edtspell.cxx
editeng/source/editeng/edtspell.cxx
+1
-1
svxacorr.hxx
include/editeng/svxacorr.hxx
+4
-4
acorrect.cxx
sw/source/core/edit/acorrect.cxx
+2
-2
No files found.
editeng/source/editeng/edtspell.cxx
Dosyayı görüntüle @
11986b61
...
@@ -753,7 +753,7 @@ sal_Bool EdtAutoCorrDoc::ChgAutoCorrWord( sal_uInt16& rSttPos,
...
@@ -753,7 +753,7 @@ sal_Bool EdtAutoCorrDoc::ChgAutoCorrWord( sal_uInt16& rSttPos,
"Cursor in the heart of the action?!"
);
"Cursor in the heart of the action?!"
);
nCursor
-=
(
nEndPos
-
rSttPos
);
nCursor
-=
(
nEndPos
-
rSttPos
);
mpEditEngine
->
InsertText
(
aSel
,
pFnd
->
GetLong
());
mpEditEngine
->
InsertText
(
aSel
,
pFnd
->
GetLong
());
nCursor
=
nCursor
+
pFnd
->
GetLong
().
Len
();
nCursor
=
nCursor
+
pFnd
->
GetLong
().
getLength
();
if
(
pPara
)
if
(
pPara
)
*
pPara
=
pCurNode
->
GetString
();
*
pPara
=
pCurNode
->
GetString
();
bRet
=
true
;
bRet
=
true
;
...
...
include/editeng/svxacorr.hxx
Dosyayı görüntüle @
11986b61
...
@@ -122,15 +122,15 @@ public:
...
@@ -122,15 +122,15 @@ public:
class
EDITENG_DLLPUBLIC
SvxAutocorrWord
class
EDITENG_DLLPUBLIC
SvxAutocorrWord
{
{
String
sShort
,
sLong
;
OU
String
sShort
,
sLong
;
sal_Bool
bIsTxtOnly
;
// Is pure ASCII - Text
sal_Bool
bIsTxtOnly
;
// Is pure ASCII - Text
public
:
public
:
SvxAutocorrWord
(
const
String
&
rS
,
const
String
&
rL
,
sal_Bool
bFlag
=
sal_True
)
SvxAutocorrWord
(
const
OUString
&
rS
,
const
OU
String
&
rL
,
sal_Bool
bFlag
=
sal_True
)
:
sShort
(
rS
),
sLong
(
rL
),
bIsTxtOnly
(
bFlag
)
:
sShort
(
rS
),
sLong
(
rL
),
bIsTxtOnly
(
bFlag
)
{}
{}
const
String
&
GetShort
()
const
{
return
sShort
;
}
const
OU
String
&
GetShort
()
const
{
return
sShort
;
}
const
String
&
GetLong
()
const
{
return
sLong
;
}
const
OU
String
&
GetLong
()
const
{
return
sLong
;
}
sal_Bool
IsTextOnly
()
const
{
return
bIsTxtOnly
;
}
sal_Bool
IsTextOnly
()
const
{
return
bIsTxtOnly
;
}
};
};
...
...
sw/source/core/edit/acorrect.cxx
Dosyayı görüntüle @
11986b61
...
@@ -328,8 +328,8 @@ sal_Bool SwAutoCorrDoc::ChgAutoCorrWord( xub_StrLen & rSttPos, xub_StrLen nEndPo
...
@@ -328,8 +328,8 @@ sal_Bool SwAutoCorrDoc::ChgAutoCorrWord( xub_StrLen & rSttPos, xub_StrLen nEndPo
if
(
pFnd
->
IsTextOnly
()
)
if
(
pFnd
->
IsTextOnly
()
)
{
{
//JP 22.04.99: Bug 63883 - Special treatment for dots.
//JP 22.04.99: Bug 63883 - Special treatment for dots.
if
(
!
bLastCharIsPoint
||
!
pFnd
->
GetLong
().
Len
()
||
if
(
!
bLastCharIsPoint
||
pFnd
->
GetLong
().
isEmpty
()
||
'.'
!=
pFnd
->
GetLong
()
.
GetChar
(
pFnd
->
GetLong
().
Len
()
-
1
)
)
'.'
!=
pFnd
->
GetLong
()
[
pFnd
->
GetLong
().
getLength
()
-
1
]
)
{
{
// replace the selection
// replace the selection
pDoc
->
ReplaceRange
(
aPam
,
pFnd
->
GetLong
(),
false
);
pDoc
->
ReplaceRange
(
aPam
,
pFnd
->
GetLong
(),
false
);
...
...
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