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
dd1c49d1
Kaydet (Commit)
dd1c49d1
authored
Agu 21, 2014
tarafından
Michael Meeks
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Simplify autocorrect loading - removing redundant parameter.
Change-Id: Idc1ebba8d859ec79b6744228cfe3ef1f0992e41d
üst
720ee909
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
11 deletions
+10
-11
SvXMLAutoCorrectImport.cxx
editeng/source/misc/SvXMLAutoCorrectImport.cxx
+1
-1
svxacorr.cxx
editeng/source/misc/svxacorr.cxx
+5
-6
svxacorr.hxx
include/editeng/svxacorr.hxx
+1
-1
swacorr.hxx
sw/inc/swacorr.hxx
+1
-1
swacorr.cxx
sw/source/core/sw3io/swacorr.cxx
+2
-2
No files found.
editeng/source/misc/SvXMLAutoCorrectImport.cxx
Dosyayı görüntüle @
dd1c49d1
...
...
@@ -129,7 +129,7 @@ SvXMLWordContext::SvXMLWordContext(
if
(
!
bOnlyTxt
)
{
const
OUString
sLongSave
(
sRight
);
if
(
!
rLocalRef
.
rAutoCorrect
.
GetLongText
(
rLocalRef
.
xStorage
,
OUString
(),
sWrong
,
sRight
)
&&
if
(
!
rLocalRef
.
rAutoCorrect
.
GetLongText
(
rLocalRef
.
xStorage
,
sWrong
,
sRight
)
&&
!
sLongSave
.
isEmpty
()
)
{
sRight
=
sLongSave
;
...
...
editeng/source/misc/svxacorr.cxx
Dosyayı görüntüle @
dd1c49d1
...
...
@@ -1620,18 +1620,17 @@ bool SvxAutoCorrect::MakeCombinedChanges( std::vector<SvxAutocorrWord>& aNewEntr
}
// - return the replacement text (only for SWG-Format, all other
// can be taken from the word list!)
// - return the replacement text (only for SWG-Format, all other
// can be taken from the word list!)
bool
SvxAutoCorrect
::
GetLongText
(
const
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
embed
::
XStorage
>&
,
const
OUString
&
,
const
OUString
&
,
OUString
&
)
const
OUString
&
,
OUString
&
)
{
return
false
;
}
// Text with attribution (only the SWG - SWG format!)
// Text with attribution (only the SWG - SWG format!)
bool
SvxAutoCorrect
::
PutText
(
const
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
embed
::
XStorage
>&
,
const
OUString
&
,
const
OUString
&
,
SfxObjectShell
&
,
OUString
&
)
const
OUString
&
,
const
OUString
&
,
SfxObjectShell
&
,
OUString
&
)
{
return
false
;
}
...
...
include/editeng/svxacorr.hxx
Dosyayı görüntüle @
dd1c49d1
...
...
@@ -276,7 +276,7 @@ public:
sal_Unicode
GetQuote
(
sal_Unicode
cInsChar
,
bool
bSttQuote
,
LanguageType
eLang
)
const
;
virtual
bool
GetLongText
(
const
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
embed
::
XStorage
>&
rStg
,
const
OUString
&
rFileName
,
const
OUString
&
rShort
,
OUString
&
rLong
);
const
OUString
&
rShort
,
OUString
&
rLong
);
TYPEINFO
();
...
...
sw/inc/swacorr.hxx
Dosyayı görüntüle @
dd1c49d1
...
...
@@ -32,7 +32,7 @@ protected:
// Return replacement text (only for SWG-format, all others can be obtained from wordlist!).
// rShort is stream-name - encrypted!
virtual
bool
GetLongText
(
const
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
embed
::
XStorage
>&
,
const
OUString
&
rFileName
,
const
OUString
&
rShort
,
OUString
&
rLong
)
SAL_OVERRIDE
;
const
OUString
&
rShort
,
OUString
&
rLong
)
SAL_OVERRIDE
;
// Text with attributes (only SWG-format!).
// rShort is stream-name - encrypted!
...
...
sw/source/core/sw3io/swacorr.cxx
Dosyayı görüntüle @
dd1c49d1
...
...
@@ -34,13 +34,13 @@ TYPEINIT1( SwAutoCorrect, SvxAutoCorrect );
// rShort ist der Stream-Name - gecryptet!
bool
SwAutoCorrect
::
GetLongText
(
const
uno
::
Reference
<
embed
::
XStorage
>&
rStg
,
const
OUString
&
rFileName
,
const
OUString
&
rShort
,
OUString
&
rLong
)
const
OUString
&
rShort
,
OUString
&
rLong
)
{
sal_uLong
nRet
=
0
;
if
(
rStg
.
is
())
{
// mba: relative URLs don't make sense here
SwXMLTextBlocks
aBlk
(
rStg
,
rFileName
);
SwXMLTextBlocks
aBlk
(
rStg
,
OUString
()
);
nRet
=
aBlk
.
GetText
(
rShort
,
rLong
);
}
else
{
...
...
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