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
eec4e120
Kaydet (Commit)
eec4e120
authored
Ara 01, 2011
tarafından
Laurent Godard
Kaydeden (comit)
Markus Mohrhard
Ara 01, 2011
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
avoid Tabs size calculation in loops
üst
443a7229
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
5 deletions
+10
-5
documen3.cxx
sc/source/core/data/documen3.cxx
+6
-3
documen5.cxx
sc/source/core/data/documen5.cxx
+4
-2
No files found.
sc/source/core/data/documen3.cxx
Dosyayı görüntüle @
eec4e120
...
@@ -656,7 +656,8 @@ bool ScDocument::HasSheetEventScript( SCTAB nTab, sal_Int32 nEvent, bool bWithVb
...
@@ -656,7 +656,8 @@ bool ScDocument::HasSheetEventScript( SCTAB nTab, sal_Int32 nEvent, bool bWithVb
bool
ScDocument
::
HasAnySheetEventScript
(
sal_Int32
nEvent
,
bool
bWithVbaEvents
)
const
bool
ScDocument
::
HasAnySheetEventScript
(
sal_Int32
nEvent
,
bool
bWithVbaEvents
)
const
{
{
for
(
SCTAB
nTab
=
0
;
nTab
<
static_cast
<
SCTAB
>
(
maTabs
.
size
());
nTab
++
)
SCTAB
nSize
=
static_cast
<
SCTAB
>
(
maTabs
.
size
());
for
(
SCTAB
nTab
=
0
;
nTab
<
nSize
;
nTab
++
)
if
(
HasSheetEventScript
(
nTab
,
nEvent
,
bWithVbaEvents
))
if
(
HasSheetEventScript
(
nTab
,
nEvent
,
bWithVbaEvents
))
return
true
;
return
true
;
return
false
;
return
false
;
...
@@ -664,7 +665,8 @@ bool ScDocument::HasAnySheetEventScript( sal_Int32 nEvent, bool bWithVbaEvents )
...
@@ -664,7 +665,8 @@ bool ScDocument::HasAnySheetEventScript( sal_Int32 nEvent, bool bWithVbaEvents )
bool
ScDocument
::
HasAnyCalcNotification
()
const
bool
ScDocument
::
HasAnyCalcNotification
()
const
{
{
for
(
SCTAB
nTab
=
0
;
nTab
<
static_cast
<
SCTAB
>
(
maTabs
.
size
());
nTab
++
)
SCTAB
nSize
=
static_cast
<
SCTAB
>
(
maTabs
.
size
());
for
(
SCTAB
nTab
=
0
;
nTab
<
nSize
;
nTab
++
)
if
(
maTabs
[
nTab
]
&&
maTabs
[
nTab
]
->
GetCalcNotification
())
if
(
maTabs
[
nTab
]
&&
maTabs
[
nTab
]
->
GetCalcNotification
())
return
true
;
return
true
;
return
false
;
return
false
;
...
@@ -686,7 +688,8 @@ void ScDocument::SetCalcNotification( SCTAB nTab )
...
@@ -686,7 +688,8 @@ void ScDocument::SetCalcNotification( SCTAB nTab )
void
ScDocument
::
ResetCalcNotifications
()
void
ScDocument
::
ResetCalcNotifications
()
{
{
for
(
SCTAB
nTab
=
0
;
nTab
<
static_cast
<
SCTAB
>
(
maTabs
.
size
());
nTab
++
)
SCTAB
nSize
=
static_cast
<
SCTAB
>
(
maTabs
.
size
());
for
(
SCTAB
nTab
=
0
;
nTab
<
nSize
;
nTab
++
)
if
(
maTabs
[
nTab
]
&&
maTabs
[
nTab
]
->
GetCalcNotification
())
if
(
maTabs
[
nTab
]
&&
maTabs
[
nTab
]
->
GetCalcNotification
())
maTabs
[
nTab
]
->
SetCalcNotification
(
false
);
maTabs
[
nTab
]
->
SetCalcNotification
(
false
);
}
}
...
...
sc/source/core/data/documen5.cxx
Dosyayı görüntüle @
eec4e120
...
@@ -133,7 +133,8 @@ void ScDocument::UpdateAllCharts()
...
@@ -133,7 +133,8 @@ void ScDocument::UpdateAllCharts()
size_t
nDataCount
=
pChartCollection
->
size
();
size_t
nDataCount
=
pChartCollection
->
size
();
for
(
SCTAB
nTab
=
0
;
nTab
<
static_cast
<
SCTAB
>
(
maTabs
.
size
());
nTab
++
)
SCTAB
nSize
=
static_cast
<
SCTAB
>
(
maTabs
.
size
());
for
(
SCTAB
nTab
=
0
;
nTab
<
nSize
;
nTab
++
)
{
{
if
(
maTabs
[
nTab
])
if
(
maTabs
[
nTab
])
{
{
...
@@ -247,7 +248,8 @@ uno::Reference< chart2::XChartDocument > ScDocument::GetChartByName( const rtl::
...
@@ -247,7 +248,8 @@ uno::Reference< chart2::XChartDocument > ScDocument::GetChartByName( const rtl::
if
(
pDrawLayer
)
if
(
pDrawLayer
)
{
{
sal_uInt16
nCount
=
pDrawLayer
->
GetPageCount
();
sal_uInt16
nCount
=
pDrawLayer
->
GetPageCount
();
for
(
sal_uInt16
nTab
=
0
;
nTab
<
nCount
&&
nTab
<
static_cast
<
SCTAB
>
(
maTabs
.
size
());
nTab
++
)
SCTAB
nSize
=
static_cast
<
SCTAB
>
(
maTabs
.
size
());
for
(
sal_uInt16
nTab
=
0
;
nTab
<
nCount
&&
nTab
<
nSize
;
nTab
++
)
{
{
SdrPage
*
pPage
=
pDrawLayer
->
GetPage
(
nTab
);
SdrPage
*
pPage
=
pDrawLayer
->
GetPage
(
nTab
);
OSL_ENSURE
(
pPage
,
"Page ?"
);
OSL_ENSURE
(
pPage
,
"Page ?"
);
...
...
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