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
38fea224
Kaydet (Commit)
38fea224
authored
Haz 09, 2012
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
removeTrailingChars is the same as stripEnd
Change-Id: I3fc618f886082e08e9baae3ae09017f653e729bd
üst
b3473b9d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
16 deletions
+1
-16
string.hxx
comphelper/inc/comphelper/string.hxx
+0
-3
string.cxx
comphelper/source/misc/string.cxx
+0
-12
dputil.cxx
sc/source/core/data/dputil.cxx
+1
-1
No files found.
comphelper/inc/comphelper/string.hxx
Dosyayı görüntüle @
38fea224
...
@@ -318,9 +318,6 @@ COMPHELPER_DLLPUBLIC inline rtl::OUStringBuffer& padToLength(
...
@@ -318,9 +318,6 @@ COMPHELPER_DLLPUBLIC inline rtl::OUStringBuffer& padToLength(
return
detail
::
padToLength
(
rBuffer
,
nLength
,
cFill
);
return
detail
::
padToLength
(
rBuffer
,
nLength
,
cFill
);
}
}
COMPHELPER_DLLPUBLIC
rtl
::
OUString
removeTrailingChars
(
const
rtl
::
OUString
&
rStr
,
sal_Unicode
cChar
);
/** Convert a sequence of strings to a single comma separated string.
/** Convert a sequence of strings to a single comma separated string.
Note that no escaping of commas or anything fancy is done.
Note that no escaping of commas or anything fancy is done.
...
...
comphelper/source/misc/string.cxx
Dosyayı görüntüle @
38fea224
...
@@ -246,18 +246,6 @@ sal_uInt32 decimalStringToNumber(
...
@@ -246,18 +246,6 @@ sal_uInt32 decimalStringToNumber(
return
result
;
return
result
;
}
}
rtl
::
OUString
removeTrailingChars
(
const
rtl
::
OUString
&
rStr
,
sal_Unicode
cChar
)
{
sal_Int32
n
=
rStr
.
getLength
();
const
sal_Unicode
*
p
=
&
rStr
.
getStr
()[
n
-
1
];
// last char
while
(
n
>
0
&&
*
p
==
cChar
)
{
--
p
;
--
n
;
}
return
rStr
.
copy
(
0
,
n
);
}
using
namespace
::
com
::
sun
::
star
;
using
namespace
::
com
::
sun
::
star
;
// convert between sequence of string and comma separated string
// convert between sequence of string and comma separated string
...
...
sc/source/core/data/dputil.cxx
Dosyayı görüntüle @
38fea224
...
@@ -85,7 +85,7 @@ bool ScDPUtil::isDuplicateDimension(const rtl::OUString& rName)
...
@@ -85,7 +85,7 @@ bool ScDPUtil::isDuplicateDimension(const rtl::OUString& rName)
rtl
::
OUString
ScDPUtil
::
getSourceDimensionName
(
const
rtl
::
OUString
&
rName
)
rtl
::
OUString
ScDPUtil
::
getSourceDimensionName
(
const
rtl
::
OUString
&
rName
)
{
{
return
comphelper
::
string
::
removeTrailingChars
(
rName
,
sal_Unicode
(
'*'
)
);
return
comphelper
::
string
::
stripEnd
(
rName
,
'*'
);
}
}
rtl
::
OUString
ScDPUtil
::
createDuplicateDimensionName
(
const
rtl
::
OUString
&
rOriginal
,
size_t
nDupCount
)
rtl
::
OUString
ScDPUtil
::
createDuplicateDimensionName
(
const
rtl
::
OUString
&
rOriginal
,
size_t
nDupCount
)
...
...
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