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
585807a7
Kaydet (Commit)
585807a7
authored
Ara 18, 2014
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
i18npool: Use appropriate OUString functions on string constants
Change-Id: I6f2fabd9248b1b385439ff5c074342029fb660e0
üst
464ff17e
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
17 additions
and
17 deletions
+17
-17
test_breakiterator.cxx
i18npool/qa/cppunit/test_breakiterator.cxx
+1
-1
breakiteratorImpl.cxx
i18npool/source/breakiterator/breakiteratorImpl.cxx
+2
-2
calendarImpl.cxx
i18npool/source/calendar/calendarImpl.cxx
+1
-1
cclass_unicode.cxx
i18npool/source/characterclassification/cclass_unicode.cxx
+1
-1
characterclassificationImpl.cxx
...e/characterclassification/characterclassificationImpl.cxx
+2
-2
unoscripttypedetector.cxx
.../source/characterclassification/unoscripttypedetector.cxx
+1
-1
collatorImpl.cxx
i18npool/source/collator/collatorImpl.cxx
+1
-1
defaultnumberingprovider.cxx
...rce/defaultnumberingprovider/defaultnumberingprovider.cxx
+1
-1
indexentrysupplier.cxx
i18npool/source/indexentry/indexentrysupplier.cxx
+1
-1
inputsequencechecker.cxx
i18npool/source/inputchecker/inputsequencechecker.cxx
+1
-1
localedata.cxx
i18npool/source/localedata/localedata.cxx
+1
-1
textconversionImpl.cxx
i18npool/source/textconversion/textconversionImpl.cxx
+1
-1
transliterationImpl.cxx
i18npool/source/transliteration/transliterationImpl.cxx
+3
-3
No files found.
i18npool/qa/cppunit/test_breakiterator.cxx
Dosyayı görüntüle @
585807a7
...
...
@@ -457,7 +457,7 @@ void TestBreakIterator::testWordBoundaries()
break
;
case
1
:
aLocale
.
Language
=
"grc"
;
aLocale
.
Country
=
""
;
aLocale
.
Country
.
clear
()
;
break
;
default
:
CPPUNIT_ASSERT
(
false
);
...
...
i18npool/source/breakiterator/breakiteratorImpl.cxx
Dosyayı görüntüle @
585807a7
...
...
@@ -540,7 +540,7 @@ bool SAL_CALL BreakIteratorImpl::createLocaleSpecificBreakIterator(const OUStrin
}
Reference
<
uno
::
XInterface
>
xI
=
m_xContext
->
getServiceManager
()
->
createInstanceWithContext
(
OUString
(
"com.sun.star.i18n.BreakIterator_"
)
+
aLocaleName
,
m_xContext
);
"com.sun.star.i18n.BreakIterator_"
+
aLocaleName
,
m_xContext
);
if
(
xI
.
is
()
)
{
xBI
.
set
(
xI
,
UNO_QUERY
);
...
...
@@ -615,7 +615,7 @@ Sequence< OUString > SAL_CALL
BreakIteratorImpl
::
getSupportedServiceNames
(
void
)
throw
(
RuntimeException
,
std
::
exception
)
{
Sequence
<
OUString
>
aRet
(
1
);
aRet
[
0
]
=
OUString
(
"com.sun.star.i18n.BreakIterator"
)
;
aRet
[
0
]
=
"com.sun.star.i18n.BreakIterator"
;
return
aRet
;
}
...
...
i18npool/source/calendar/calendarImpl.cxx
Dosyayı görüntüle @
585807a7
...
...
@@ -70,7 +70,7 @@ CalendarImpl::loadCalendar(const OUString& uniqueID, const Locale& rLocale ) thr
if
(
i
>=
sal
::
static_int_cast
<
sal_Int32
>
(
lookupTable
.
size
()))
{
Reference
<
XInterface
>
xI
=
m_xContext
->
getServiceManager
()
->
createInstanceWithContext
(
OUString
(
"com.sun.star.i18n.Calendar_"
)
+
uniqueID
,
m_xContext
);
"com.sun.star.i18n.Calendar_"
+
uniqueID
,
m_xContext
);
if
(
!
xI
.
is
()
)
{
// check if the calendar is defined in localedata, load gregorian calendar service.
...
...
i18npool/source/characterclassification/cclass_unicode.cxx
Dosyayı görüntüle @
585807a7
...
...
@@ -273,7 +273,7 @@ sal_Bool SAL_CALL cclass_Unicode::supportsService(const OUString& rServiceName)
Sequence
<
OUString
>
SAL_CALL
cclass_Unicode
::
getSupportedServiceNames
()
throw
(
RuntimeException
,
std
::
exception
)
{
Sequence
<
OUString
>
aRet
(
1
);
aRet
[
0
]
=
OUString
(
"com.sun.star.i18n.CharacterClassification_Unicode"
)
;
aRet
[
0
]
=
"com.sun.star.i18n.CharacterClassification_Unicode"
;
return
aRet
;
}
...
...
i18npool/source/characterclassification/characterclassificationImpl.cxx
Dosyayı görüntüle @
585807a7
...
...
@@ -139,7 +139,7 @@ bool SAL_CALL CharacterClassificationImpl::createLocaleSpecificCharacterClassifi
}
Reference
<
XInterface
>
xI
=
m_xContext
->
getServiceManager
()
->
createInstanceWithContext
(
OUString
(
"com.sun.star.i18n.CharacterClassification_"
)
+
serviceName
,
m_xContext
);
"com.sun.star.i18n.CharacterClassification_"
+
serviceName
,
m_xContext
);
Reference
<
XCharacterClassification
>
xCI
;
if
(
xI
.
is
()
)
{
...
...
@@ -209,7 +209,7 @@ Sequence< OUString > SAL_CALL
CharacterClassificationImpl
::
getSupportedServiceNames
(
void
)
throw
(
RuntimeException
,
std
::
exception
)
{
Sequence
<
OUString
>
aRet
(
1
);
aRet
[
0
]
=
OUString
(
"com.sun.star.i18n.CharacterClassification"
)
;
aRet
[
0
]
=
"com.sun.star.i18n.CharacterClassification"
;
return
aRet
;
}
...
...
i18npool/source/characterclassification/unoscripttypedetector.cxx
Dosyayı görüntüle @
585807a7
...
...
@@ -78,7 +78,7 @@ UnoScriptTypeDetector::supportsService(const OUString& ServiceName) throw( ::com
UnoScriptTypeDetector
::
getSupportedServiceNames
()
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
,
std
::
exception
)
{
::
com
::
sun
::
star
::
uno
::
Sequence
<
OUString
>
aRet
(
1
);
aRet
[
0
]
=
OUString
(
"com.sun.star.i18n.ScriptTypeDetector"
)
;
aRet
[
0
]
=
"com.sun.star.i18n.ScriptTypeDetector"
;
return
aRet
;
}
...
...
i18npool/source/collator/collatorImpl.cxx
Dosyayı görüntüle @
585807a7
...
...
@@ -227,7 +227,7 @@ Sequence< OUString > SAL_CALL
CollatorImpl
::
getSupportedServiceNames
()
throw
(
RuntimeException
,
std
::
exception
)
{
Sequence
<
OUString
>
aRet
(
1
);
aRet
[
0
]
=
OUString
(
"com.sun.star.i18n.Collator"
)
;
aRet
[
0
]
=
"com.sun.star.i18n.Collator"
;
return
aRet
;
}
...
...
i18npool/source/defaultnumberingprovider/defaultnumberingprovider.cxx
Dosyayı görüntüle @
585807a7
...
...
@@ -1061,7 +1061,7 @@ Sequence< OUString > DefaultNumberingProvider::getSupportedServiceNames(void)
throw
(
RuntimeException
,
std
::
exception
)
{
Sequence
<
OUString
>
aRet
(
1
);
aRet
[
0
]
=
OUString
(
"com.sun.star.text.DefaultNumberingProvider"
)
;
aRet
[
0
]
=
"com.sun.star.text.DefaultNumberingProvider"
;
return
aRet
;
}
...
...
i18npool/source/indexentry/indexentrysupplier.cxx
Dosyayı görüntüle @
585807a7
...
...
@@ -100,7 +100,7 @@ throw (RuntimeException, std::exception)
bool
SAL_CALL
IndexEntrySupplier
::
createLocaleSpecificIndexEntrySupplier
(
const
OUString
&
name
)
throw
(
RuntimeException
)
{
Reference
<
XInterface
>
xI
=
m_xContext
->
getServiceManager
()
->
createInstanceWithContext
(
OUString
(
"com.sun.star.i18n.IndexEntrySupplier_"
)
+
name
,
m_xContext
);
"com.sun.star.i18n.IndexEntrySupplier_"
+
name
,
m_xContext
);
if
(
xI
.
is
()
)
{
xIES
.
set
(
xI
,
UNO_QUERY
);
...
...
i18npool/source/inputchecker/inputsequencechecker.cxx
Dosyayı görüntüle @
585807a7
...
...
@@ -118,7 +118,7 @@ InputSequenceCheckerImpl::getInputSequenceChecker(sal_Char* rLanguage) throw (Ru
}
Reference
<
uno
::
XInterface
>
xI
=
m_xContext
->
getServiceManager
()
->
createInstanceWithContext
(
OUString
(
"com.sun.star.i18n.InputSequenceChecker_"
)
+
"com.sun.star.i18n.InputSequenceChecker_"
+
OUString
::
createFromAscii
(
rLanguage
),
m_xContext
);
...
...
i18npool/source/localedata/localedata.cxx
Dosyayı görüntüle @
585807a7
...
...
@@ -1077,7 +1077,7 @@ OUString SAL_CALL
LocaleDataImpl
::
getIndexKeysByAlgorithm
(
const
Locale
&
rLocale
,
const
OUString
&
algorithm
)
throw
(
RuntimeException
)
{
sal_Unicode
**
indexArray
=
getIndexArrayForAlgorithm
(
rLocale
,
algorithm
);
return
indexArray
?
OUString
(
"0-9"
)
+
OUString
(
indexArray
[
2
])
:
OUString
();
return
indexArray
?
"0-9"
+
OUString
(
indexArray
[
2
])
:
OUString
();
}
OUString
SAL_CALL
...
...
i18npool/source/textconversion/textconversionImpl.cxx
Dosyayı görüntüle @
585807a7
...
...
@@ -127,7 +127,7 @@ Sequence< OUString > SAL_CALL
TextConversionImpl
::
getSupportedServiceNames
()
throw
(
RuntimeException
,
std
::
exception
)
{
Sequence
<
OUString
>
aRet
(
1
);
aRet
[
0
]
=
OUString
(
"com.sun.star.i18n.TextConversion"
)
;
aRet
[
0
]
=
"com.sun.star.i18n.TextConversion"
;
return
aRet
;
}
...
...
i18npool/source/transliteration/transliterationImpl.cxx
Dosyayı görüntüle @
585807a7
...
...
@@ -611,7 +611,7 @@ bool SAL_CALL
TransliterationImpl
::
loadModuleByName
(
const
OUString
&
implName
,
Reference
<
XExtendedTransliteration
>&
body
,
const
Locale
&
rLocale
)
throw
(
RuntimeException
)
{
OUString
cname
=
OUString
(
TRLT_IMPLNAME_PREFIX
)
+
implName
;
OUString
cname
=
TRLT_IMPLNAME_PREFIX
+
implName
;
loadBody
(
cname
,
body
);
if
(
body
.
is
())
{
body
->
loadModule
((
TransliterationModules
)
0
,
rLocale
);
// toUpper/toLoad need rLocale
...
...
@@ -622,7 +622,7 @@ TransliterationImpl::loadModuleByName( const OUString& implName,
if
(
i
==
0
)
// current module is caseignore
body
->
loadModule
(
TMlist
[
0
].
tm
,
rLocale
);
// caseingore need to setup module name
if
(
!
caseignore
.
is
())
{
OUString
bname
=
OUString
(
TRLT_IMPLNAME_PREFIX
)
+
OUString
bname
=
TRLT_IMPLNAME_PREFIX
+
OUString
::
createFromAscii
(
TMlist
[
0
].
implName
);
loadBody
(
bname
,
caseignore
);
}
...
...
@@ -652,7 +652,7 @@ Sequence< OUString > SAL_CALL
TransliterationImpl
::
getSupportedServiceNames
(
void
)
throw
(
RuntimeException
,
std
::
exception
)
{
Sequence
<
OUString
>
aRet
(
1
);
aRet
[
0
]
=
OUString
(
"com.sun.star.i18n.Transliteration"
)
;
aRet
[
0
]
=
"com.sun.star.i18n.Transliteration"
;
return
aRet
;
}
...
...
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