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
c608782d
Kaydet (Commit)
c608782d
authored
Eyl 10, 2013
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
convert editeng/source/misc/*.cxx from String to OUString
Change-Id: I9ed5ec9430abcf8d3794e7baa6532e0f8449046d
üst
6322b703
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
12 additions
and
12 deletions
+12
-12
SvXMLAutoCorrectImport.cxx
editeng/source/misc/SvXMLAutoCorrectImport.cxx
+3
-3
acorrcfg.cxx
editeng/source/misc/acorrcfg.cxx
+4
-4
hangulhanja.cxx
editeng/source/misc/hangulhanja.cxx
+1
-1
splwrap.cxx
editeng/source/misc/splwrap.cxx
+2
-2
unolingu.cxx
editeng/source/misc/unolingu.cxx
+2
-2
No files found.
editeng/source/misc/SvXMLAutoCorrectImport.cxx
Dosyayı görüntüle @
c608782d
...
@@ -129,7 +129,7 @@ SvXMLWordContext::SvXMLWordContext(
...
@@ -129,7 +129,7 @@ SvXMLWordContext::SvXMLWordContext(
if
(
!
bOnlyTxt
)
if
(
!
bOnlyTxt
)
{
{
const
OUString
sLongSave
(
sRight
);
const
OUString
sLongSave
(
sRight
);
if
(
!
rLocalRef
.
rAutoCorrect
.
GetLongText
(
rLocalRef
.
xStorage
,
String
(),
sWrong
,
sRight
)
&&
if
(
!
rLocalRef
.
rAutoCorrect
.
GetLongText
(
rLocalRef
.
xStorage
,
OU
String
(),
sWrong
,
sRight
)
&&
!
sLongSave
.
isEmpty
()
)
!
sLongSave
.
isEmpty
()
)
{
{
sRight
=
sLongSave
;
sRight
=
sLongSave
;
...
@@ -212,7 +212,7 @@ SvXMLExceptionContext::SvXMLExceptionContext(
...
@@ -212,7 +212,7 @@ SvXMLExceptionContext::SvXMLExceptionContext(
SvXMLImportContext
(
rImport
,
nPrefix
,
rLocalName
),
SvXMLImportContext
(
rImport
,
nPrefix
,
rLocalName
),
rLocalRef
(
rImport
)
rLocalRef
(
rImport
)
{
{
String
sWord
;
OU
String
sWord
;
sal_Int16
nAttrCount
=
xAttrList
.
is
()
?
xAttrList
->
getLength
()
:
0
;
sal_Int16
nAttrCount
=
xAttrList
.
is
()
?
xAttrList
->
getLength
()
:
0
;
for
(
sal_Int16
i
=
0
;
i
<
nAttrCount
;
i
++
)
for
(
sal_Int16
i
=
0
;
i
<
nAttrCount
;
i
++
)
...
@@ -229,7 +229,7 @@ SvXMLExceptionContext::SvXMLExceptionContext(
...
@@ -229,7 +229,7 @@ SvXMLExceptionContext::SvXMLExceptionContext(
}
}
}
}
}
}
if
(
!
sWord
.
Len
()
)
if
(
sWord
.
isEmpty
()
)
return
;
return
;
rLocalRef
.
rList
.
insert
(
sWord
);
rLocalRef
.
rList
.
insert
(
sWord
);
...
...
editeng/source/misc/acorrcfg.cxx
Dosyayı görüntüle @
c608782d
...
@@ -48,10 +48,10 @@ SvxAutoCorrCfg::SvxAutoCorrCfg() :
...
@@ -48,10 +48,10 @@ SvxAutoCorrCfg::SvxAutoCorrCfg() :
bSearchInAllCategories
(
sal_False
)
bSearchInAllCategories
(
sal_False
)
{
{
SvtPathOptions
aPathOpt
;
SvtPathOptions
aPathOpt
;
String
sSharePath
,
sUserPath
,
sAutoPath
(
aPathOpt
.
GetAutoCorrectPath
()
);
OU
String
sSharePath
,
sUserPath
,
sAutoPath
(
aPathOpt
.
GetAutoCorrectPath
()
);
sSharePath
=
sAutoPath
.
G
etToken
(
0
,
';'
);
sSharePath
=
sAutoPath
.
g
etToken
(
0
,
';'
);
sUserPath
=
sAutoPath
.
G
etToken
(
1
,
';'
);
sUserPath
=
sAutoPath
.
g
etToken
(
1
,
';'
);
//fdo#67743 ensure the userdir exists so that any later attempt to copy the
//fdo#67743 ensure the userdir exists so that any later attempt to copy the
//shared autocorrect file into the user dir will succeed
//shared autocorrect file into the user dir will succeed
...
@@ -59,7 +59,7 @@ SvxAutoCorrCfg::SvxAutoCorrCfg() :
...
@@ -59,7 +59,7 @@ SvxAutoCorrCfg::SvxAutoCorrCfg() :
Reference
<
ucb
::
XCommandEnvironment
>
xEnv
;
Reference
<
ucb
::
XCommandEnvironment
>
xEnv
;
::
utl
::
UCBContentHelper
::
ensureFolder
(
comphelper
::
getProcessComponentContext
(),
xEnv
,
sUserPath
,
aContent
);
::
utl
::
UCBContentHelper
::
ensureFolder
(
comphelper
::
getProcessComponentContext
(),
xEnv
,
sUserPath
,
aContent
);
String
*
pS
=
&
sSharePath
;
OU
String
*
pS
=
&
sSharePath
;
for
(
sal_uInt16
n
=
0
;
n
<
2
;
++
n
,
pS
=
&
sUserPath
)
for
(
sal_uInt16
n
=
0
;
n
<
2
;
++
n
,
pS
=
&
sUserPath
)
{
{
INetURLObject
aPath
(
*
pS
);
INetURLObject
aPath
(
*
pS
);
...
...
editeng/source/misc/hangulhanja.cxx
Dosyayı görüntüle @
c608782d
...
@@ -836,7 +836,7 @@ namespace editeng
...
@@ -836,7 +836,7 @@ namespace editeng
if
(
m_pConversionDialog
)
if
(
m_pConversionDialog
)
{
{
String
sCurrentUnit
=
m_pConversionDialog
->
GetCurrentString
();
OU
String
sCurrentUnit
=
m_pConversionDialog
->
GetCurrentString
();
DBG_ASSERT
(
m_sIgnoreList
.
end
()
==
m_sIgnoreList
.
find
(
sCurrentUnit
),
DBG_ASSERT
(
m_sIgnoreList
.
end
()
==
m_sIgnoreList
.
find
(
sCurrentUnit
),
"HangulHanjaConversion_Impl, OnIgnoreAll: shouldn't this have been ignored before"
);
"HangulHanjaConversion_Impl, OnIgnoreAll: shouldn't this have been ignored before"
);
...
...
editeng/source/misc/splwrap.cxx
Dosyayı görüntüle @
c608782d
...
@@ -112,14 +112,14 @@ void SvxSpellWrapper::ShowLanguageErrors()
...
@@ -112,14 +112,14 @@ void SvxSpellWrapper::ShowLanguageErrors()
if
(
SVX_LANG_MISSING_DO_WARN
==
nTmpSpell
)
if
(
SVX_LANG_MISSING_DO_WARN
==
nTmpSpell
)
{
{
String
aErr
(
SvtLanguageTable
::
GetLanguageString
(
nLang
)
);
OU
String
aErr
(
SvtLanguageTable
::
GetLanguageString
(
nLang
)
);
ErrorHandler
::
HandleError
(
ErrorHandler
::
HandleError
(
*
new
StringErrorInfo
(
ERRCODE_SVX_LINGU_LANGUAGENOTEXISTS
,
aErr
)
);
*
new
StringErrorInfo
(
ERRCODE_SVX_LINGU_LANGUAGENOTEXISTS
,
aErr
)
);
nTmpSpell
=
SVX_LANG_MISSING
;
nTmpSpell
=
SVX_LANG_MISSING
;
}
}
if
(
SVX_LANG_MISSING_DO_WARN
==
nTmpHyph
)
if
(
SVX_LANG_MISSING_DO_WARN
==
nTmpHyph
)
{
{
String
aErr
(
SvtLanguageTable
::
GetLanguageString
(
nLang
)
);
OU
String
aErr
(
SvtLanguageTable
::
GetLanguageString
(
nLang
)
);
ErrorHandler
::
HandleError
(
ErrorHandler
::
HandleError
(
*
new
StringErrorInfo
(
ERRCODE_SVX_LINGU_LANGUAGENOTEXISTS
,
aErr
)
);
*
new
StringErrorInfo
(
ERRCODE_SVX_LINGU_LANGUAGENOTEXISTS
,
aErr
)
);
nTmpHyph
=
SVX_LANG_MISSING
;
nTmpHyph
=
SVX_LANG_MISSING
;
...
...
editeng/source/misc/unolingu.cxx
Dosyayı görüntüle @
c608782d
...
@@ -122,7 +122,7 @@ void ThesDummy_Impl::GetCfgLocales()
...
@@ -122,7 +122,7 @@ void ThesDummy_Impl::GetCfgLocales()
if
(
!
pLocaleSeq
)
if
(
!
pLocaleSeq
)
{
{
SvtLinguConfig
aCfg
;
SvtLinguConfig
aCfg
;
String
aNode
(
"ServiceManager/ThesaurusList"
);
OU
String
aNode
(
"ServiceManager/ThesaurusList"
);
Sequence
<
OUString
>
aNodeNames
(
aCfg
.
GetNodeNames
(
aNode
)
);
Sequence
<
OUString
>
aNodeNames
(
aCfg
.
GetNodeNames
(
aNode
)
);
const
OUString
*
pNodeNames
=
aNodeNames
.
getConstArray
();
const
OUString
*
pNodeNames
=
aNodeNames
.
getConstArray
();
sal_Int32
nLen
=
aNodeNames
.
getLength
();
sal_Int32
nLen
=
aNodeNames
.
getLength
();
...
@@ -678,7 +678,7 @@ uno::Reference< XDictionary > LinguMgr::GetChangeAll()
...
@@ -678,7 +678,7 @@ uno::Reference< XDictionary > LinguMgr::GetChangeAll()
_xDicList
->
createDictionary
(
_xDicList
->
createDictionary
(
"ChangeAllList"
,
"ChangeAllList"
,
LanguageTag
::
convertToLocale
(
LANGUAGE_NONE
),
LanguageTag
::
convertToLocale
(
LANGUAGE_NONE
),
DictionaryType_NEGATIVE
,
String
()
),
UNO_QUERY
);
DictionaryType_NEGATIVE
,
OU
String
()
),
UNO_QUERY
);
}
}
return
xChangeAll
;
return
xChangeAll
;
}
}
...
...
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