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
651d68fd
Kaydet (Commit)
651d68fd
authored
Şub 18, 2014
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sal_Bool->bool
Change-Id: Ieaaf39833367de54973163cae581e69292bd26e7
üst
0793a830
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
11 deletions
+11
-11
pagedata.cxx
sc/source/ui/docshell/pagedata.cxx
+3
-3
pagedata.hxx
sc/source/ui/inc/pagedata.hxx
+7
-7
tabview2.cxx
sc/source/ui/view/tabview2.cxx
+1
-1
No files found.
sc/source/ui/docshell/pagedata.cxx
Dosyayı görüntüle @
651d68fd
...
...
@@ -28,7 +28,7 @@ ScPrintRangeData::ScPrintRangeData()
nPagesX
=
nPagesY
=
0
;
pPageEndX
=
NULL
;
pPageEndY
=
NULL
;
bTopDown
=
bAutomatic
=
sal_T
rue
;
bTopDown
=
bAutomatic
=
t
rue
;
nFirstPage
=
1
;
}
...
...
@@ -94,7 +94,7 @@ ScPrintRangeData& ScPageBreakData::GetData(size_t nPos)
return
pData
[
nPos
];
}
sal_Bool
ScPageBreakData
::
IsEqual
(
const
ScPageBreakData
&
rOther
)
const
bool
ScPageBreakData
::
operator
==
(
const
ScPageBreakData
&
rOther
)
const
{
if
(
nUsed
!=
rOther
.
nUsed
)
return
false
;
...
...
@@ -105,7 +105,7 @@ sal_Bool ScPageBreakData::IsEqual( const ScPageBreakData& rOther ) const
//! ScPrintRangeData komplett vergleichen ??
return
sal_T
rue
;
return
t
rue
;
}
void
ScPageBreakData
::
AddPages
()
...
...
sc/source/ui/inc/pagedata.hxx
Dosyayı görüntüle @
651d68fd
...
...
@@ -34,8 +34,8 @@ private:
size_t
nPagesY
;
SCROW
*
pPageEndY
;
long
nFirstPage
;
sal_B
ool
bTopDown
;
sal_B
ool
bAutomatic
;
b
ool
bTopDown
;
b
ool
bAutomatic
;
public
:
ScPrintRangeData
();
...
...
@@ -54,10 +54,10 @@ public:
void
SetFirstPage
(
long
nNew
)
{
nFirstPage
=
nNew
;
}
long
GetFirstPage
()
const
{
return
nFirstPage
;
}
void
SetTopDown
(
sal_B
ool
bSet
)
{
bTopDown
=
bSet
;
}
sal_B
ool
IsTopDown
()
const
{
return
bTopDown
;
}
void
SetAutomatic
(
sal_B
ool
bSet
)
{
bAutomatic
=
bSet
;
}
sal_B
ool
IsAutomatic
()
const
{
return
bAutomatic
;
}
void
SetTopDown
(
b
ool
bSet
)
{
bTopDown
=
bSet
;
}
b
ool
IsTopDown
()
const
{
return
bTopDown
;
}
void
SetAutomatic
(
b
ool
bSet
)
{
bAutomatic
=
bSet
;
}
b
ool
IsAutomatic
()
const
{
return
bAutomatic
;
}
};
class
ScPageBreakData
...
...
@@ -74,7 +74,7 @@ public:
size_t
GetCount
()
const
{
return
nUsed
;
}
ScPrintRangeData
&
GetData
(
size_t
i
);
sal_Bool
IsEqual
(
const
ScPageBreakData
&
rOther
)
const
;
bool
operator
==
(
const
ScPageBreakData
&
rOther
)
const
;
void
AddPages
();
};
...
...
sc/source/ui/view/tabview2.cxx
Dosyayı görüntüle @
651d68fd
...
...
@@ -1471,7 +1471,7 @@ void ScTabView::UpdatePageBreakData( bool bForcePaint )
}
// Druckbereiche veraendert?
if
(
bForcePaint
||
(
pPageBreakData
&&
!
pPageBreakData
->
IsEqual
(
*
pNewData
)
)
)
if
(
bForcePaint
||
(
pPageBreakData
&&
!
(
*
pPageBreakData
==
*
pNewData
)
)
)
PaintGrid
();
}
...
...
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