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
25934437
Kaydet (Commit)
25934437
authored
Haz 17, 2011
tarafından
Jan Holesovsky
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
Merge remote-tracking branch 'origin/libreoffice-3-4'
üst
1dd19b65
1bba2b51
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
rangenam.cxx
sc/source/core/tool/rangenam.cxx
+3
-0
ftools.cxx
sc/source/filter/ftools/ftools.cxx
+2
-0
No files found.
sc/source/core/tool/rangenam.cxx
Dosyayı görüntüle @
25934437
...
@@ -475,6 +475,9 @@ sal_Bool ScRangeData::IsNameValid( const String& rName, ScDocument* pDoc )
...
@@ -475,6 +475,9 @@ sal_Bool ScRangeData::IsNameValid( const String& rName, ScDocument* pDoc )
{
{
/* XXX If changed, sc/source/filter/ftools/ftools.cxx
/* XXX If changed, sc/source/filter/ftools/ftools.cxx
* ScfTools::ConvertToScDefinedName needs to be changed too. */
* ScfTools::ConvertToScDefinedName needs to be changed too. */
sal_Char
a
(
'.'
);
if
(
rName
.
Search
(
a
,
0
)
!=
STRING_NOTFOUND
)
return
false
;
xub_StrLen
nPos
=
0
;
xub_StrLen
nPos
=
0
;
xub_StrLen
nLen
=
rName
.
Len
();
xub_StrLen
nLen
=
rName
.
Len
();
if
(
!
nLen
||
!
ScCompiler
::
IsCharFlagAllConventions
(
rName
,
nPos
++
,
SC_COMPILER_C_CHAR_NAME
)
)
if
(
!
nLen
||
!
ScCompiler
::
IsCharFlagAllConventions
(
rName
,
nPos
++
,
SC_COMPILER_C_CHAR_NAME
)
)
...
...
sc/source/filter/ftools/ftools.cxx
Dosyayı görüntüle @
25934437
...
@@ -162,6 +162,8 @@ Color ScfTools::GetMixedColor( const Color& rFore, const Color& rBack, sal_uInt8
...
@@ -162,6 +162,8 @@ Color ScfTools::GetMixedColor( const Color& rFore, const Color& rBack, sal_uInt8
void
ScfTools
::
ConvertToScDefinedName
(
String
&
rName
)
void
ScfTools
::
ConvertToScDefinedName
(
String
&
rName
)
{
{
sal_Char
a
(
'.'
);
rName
.
SearchAndReplaceAllAscii
(
&
a
,
'_'
);
//fdo#37872: we don't allow points in range names any more
xub_StrLen
nLen
=
rName
.
Len
();
xub_StrLen
nLen
=
rName
.
Len
();
if
(
nLen
&&
!
ScCompiler
::
IsCharFlagAllConventions
(
rName
,
0
,
SC_COMPILER_C_CHAR_NAME
)
)
if
(
nLen
&&
!
ScCompiler
::
IsCharFlagAllConventions
(
rName
,
0
,
SC_COMPILER_C_CHAR_NAME
)
)
rName
.
SetChar
(
0
,
'_'
);
rName
.
SetChar
(
0
,
'_'
);
...
...
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