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
a7e8e0f2
Kaydet (Commit)
a7e8e0f2
authored
May 10, 2014
tarafından
Miklos Vajna
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
-Werror=parentheses
Change-Id: I2366a8631be276db02392db6b44ee0c47ddf9da6
üst
4c0ec2a1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
address.cxx
sc/source/core/tool/address.cxx
+2
-2
chgtrack.cxx
sc/source/core/tool/chgtrack.cxx
+3
-3
No files found.
sc/source/core/tool/address.cxx
Dosyayı görüntüle @
a7e8e0f2
...
@@ -615,7 +615,7 @@ static const sal_Unicode* lcl_r1c1_get_col( const sal_Unicode* p,
...
@@ -615,7 +615,7 @@ static const sal_Unicode* lcl_r1c1_get_col( const sal_Unicode* p,
return
NULL
;
return
NULL
;
p
++
;
p
++
;
if
(
isRelative
=
(
*
p
==
'['
)
)
if
(
(
isRelative
=
(
*
p
==
'['
)
)
)
p
++
;
p
++
;
n
=
sal_Unicode_strtol
(
p
,
&
pEnd
);
n
=
sal_Unicode_strtol
(
p
,
&
pEnd
);
if
(
NULL
==
pEnd
)
if
(
NULL
==
pEnd
)
...
@@ -661,7 +661,7 @@ static inline const sal_Unicode* lcl_r1c1_get_row(
...
@@ -661,7 +661,7 @@ static inline const sal_Unicode* lcl_r1c1_get_row(
return
NULL
;
return
NULL
;
p
++
;
p
++
;
if
(
isRelative
=
(
*
p
==
'['
)
)
if
(
(
isRelative
=
(
*
p
==
'['
)
)
)
p
++
;
p
++
;
n
=
sal_Unicode_strtol
(
p
,
&
pEnd
);
n
=
sal_Unicode_strtol
(
p
,
&
pEnd
);
if
(
NULL
==
pEnd
)
if
(
NULL
==
pEnd
)
...
...
sc/source/core/tool/chgtrack.cxx
Dosyayı görüntüle @
a7e8e0f2
...
@@ -1018,12 +1018,12 @@ bool ScChangeActionDel::Reject( ScDocument* pDoc )
...
@@ -1018,12 +1018,12 @@ bool ScChangeActionDel::Reject( ScDocument* pDoc )
case
SC_CAT_DELETE_COLS
:
case
SC_CAT_DELETE_COLS
:
if
(
!
(
aRange
.
aStart
.
Col
()
==
0
&&
aRange
.
aEnd
.
Col
()
==
MAXCOL
)
)
if
(
!
(
aRange
.
aStart
.
Col
()
==
0
&&
aRange
.
aEnd
.
Col
()
==
MAXCOL
)
)
{
// Only if not TabDelete
{
// Only if not TabDelete
if
(
bOk
=
pDoc
->
CanInsertCol
(
aRange
)
)
if
(
(
bOk
=
pDoc
->
CanInsertCol
(
aRange
)
)
)
bOk
=
pDoc
->
InsertCol
(
aRange
);
bOk
=
pDoc
->
InsertCol
(
aRange
);
}
}
break
;
break
;
case
SC_CAT_DELETE_ROWS
:
case
SC_CAT_DELETE_ROWS
:
if
(
bOk
=
pDoc
->
CanInsertRow
(
aRange
)
)
if
(
(
bOk
=
pDoc
->
CanInsertRow
(
aRange
)
)
)
bOk
=
pDoc
->
InsertRow
(
aRange
);
bOk
=
pDoc
->
InsertRow
(
aRange
);
break
;
break
;
case
SC_CAT_DELETE_TABS
:
case
SC_CAT_DELETE_TABS
:
...
@@ -1031,7 +1031,7 @@ bool ScChangeActionDel::Reject( ScDocument* pDoc )
...
@@ -1031,7 +1031,7 @@ bool ScChangeActionDel::Reject( ScDocument* pDoc )
//TODO: Remember table names?
//TODO: Remember table names?
OUString
aName
;
OUString
aName
;
pDoc
->
CreateValidTabName
(
aName
);
pDoc
->
CreateValidTabName
(
aName
);
if
(
bOk
=
pDoc
->
ValidNewTabName
(
aName
)
)
if
(
(
bOk
=
pDoc
->
ValidNewTabName
(
aName
)
)
)
bOk
=
pDoc
->
InsertTab
(
aRange
.
aStart
.
Tab
(),
aName
);
bOk
=
pDoc
->
InsertTab
(
aRange
.
aStart
.
Tab
(),
aName
);
}
}
break
;
break
;
...
...
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