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
9c489f7f
Kaydet (Commit)
9c489f7f
authored
Eki 09, 2013
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Use rtl::OUString::startsWithIgnoreAsciiCase
Change-Id: I889a072bd96b6076966e3aad84e39d3491618912
üst
528391f3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
unofield.cxx
sw/source/core/unocore/unofield.cxx
+1
-3
No files found.
sw/source/core/unocore/unofield.cxx
Dosyayı görüntüle @
9c489f7f
...
...
@@ -94,8 +94,6 @@
using
namespace
::
com
::
sun
::
star
;
using
namespace
nsSwDocInfoSubType
;
#define COM_TEXT_FLDMASTER "com.sun.star.text.FieldMaster."
// case-corrected version of the first part for the service names (see #i67811)
#define COM_TEXT_FLDMASTER_CC "com.sun.star.text.fieldmaster."
...
...
@@ -2596,7 +2594,7 @@ SwXTextFieldMasters::~SwXTextFieldMasters()
-----------------------------------------------------------------------*/
static
sal_uInt16
lcl_GetIdByName
(
OUString
&
rName
,
OUString
&
rTypeName
)
{
if
(
rName
.
startsWith
(
COM_TEXT_FLDMASTER
)
||
rName
.
startsWith
(
COM_TEXT_FLDMASTER_CC
))
if
(
rName
.
startsWith
IgnoreAsciiCase
(
COM_TEXT_FLDMASTER_CC
))
rName
=
rName
.
copy
(
30
);
sal_uInt16
nResId
=
USHRT_MAX
;
...
...
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