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
53984191
Kaydet (Commit)
53984191
authored
Ock 22, 2014
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
bool improvements
Change-Id: I21f806d7a9ebe5b4de4cbedfc9879019cdbba22b
üst
078199a2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
Group.cxx
reportdesign/source/core/api/Group.cxx
+2
-2
ReportDefinition.cxx
reportdesign/source/core/api/ReportDefinition.cxx
+4
-4
No files found.
reportdesign/source/core/api/Group.cxx
Dosyayı görüntüle @
53984191
...
...
@@ -134,7 +134,7 @@ void SAL_CALL OGroup::setSortAscending( ::sal_Bool _sortascending ) throw (uno::
// -----------------------------------------------------------------------------
void
SAL_CALL
OGroup
::
setHeaderOn
(
::
sal_Bool
_headeron
)
throw
(
uno
::
RuntimeException
)
{
if
(
_headeron
!=
m_xHeader
.
is
()
)
if
(
bool
(
_headeron
)
!=
m_xHeader
.
is
()
)
{
OUString
sName
(
RPT_RESSTRING
(
RID_STR_GROUP_HEADER
,
m_xContext
->
getServiceManager
()));
setSection
(
PROPERTY_HEADERON
,
_headeron
,
sName
,
m_xHeader
);
...
...
@@ -149,7 +149,7 @@ void SAL_CALL OGroup::setHeaderOn( ::sal_Bool _headeron ) throw (uno::RuntimeExc
// -----------------------------------------------------------------------------
void
SAL_CALL
OGroup
::
setFooterOn
(
::
sal_Bool
_footeron
)
throw
(
uno
::
RuntimeException
)
{
if
(
_footeron
!=
m_xFooter
.
is
()
)
if
(
bool
(
_footeron
)
!=
m_xFooter
.
is
()
)
{
OUString
sName
(
RPT_RESSTRING
(
RID_STR_GROUP_FOOTER
,
m_xContext
->
getServiceManager
()));
setSection
(
PROPERTY_FOOTERON
,
_footeron
,
sName
,
m_xFooter
);
...
...
reportdesign/source/core/api/ReportDefinition.cxx
Dosyayı görüntüle @
53984191
...
...
@@ -1007,7 +1007,7 @@ void SAL_CALL OReportDefinition::setEscapeProcessing( ::sal_Bool _escapeprocessi
// -----------------------------------------------------------------------------
void
SAL_CALL
OReportDefinition
::
setReportHeaderOn
(
::
sal_Bool
_reportheaderon
)
throw
(
uno
::
RuntimeException
)
{
if
(
_reportheaderon
!=
m_pImpl
->
m_xReportHeader
.
is
()
)
if
(
bool
(
_reportheaderon
)
!=
m_pImpl
->
m_xReportHeader
.
is
()
)
{
setSection
(
PROPERTY_REPORTHEADERON
,
_reportheaderon
,
RPT_RESSTRING
(
RID_STR_REPORT_HEADER
,
m_aProps
->
m_xContext
->
getServiceManager
()),
m_pImpl
->
m_xReportHeader
);
}
...
...
@@ -1021,7 +1021,7 @@ void SAL_CALL OReportDefinition::setReportHeaderOn( ::sal_Bool _reportheaderon )
// -----------------------------------------------------------------------------
void
SAL_CALL
OReportDefinition
::
setReportFooterOn
(
::
sal_Bool
_reportfooteron
)
throw
(
uno
::
RuntimeException
)
{
if
(
_reportfooteron
!=
m_pImpl
->
m_xReportFooter
.
is
()
)
if
(
bool
(
_reportfooteron
)
!=
m_pImpl
->
m_xReportFooter
.
is
()
)
{
setSection
(
PROPERTY_REPORTFOOTERON
,
_reportfooteron
,
RPT_RESSTRING
(
RID_STR_REPORT_FOOTER
,
m_aProps
->
m_xContext
->
getServiceManager
()),
m_pImpl
->
m_xReportFooter
);
}
...
...
@@ -1035,7 +1035,7 @@ void SAL_CALL OReportDefinition::setReportFooterOn( ::sal_Bool _reportfooteron )
// -----------------------------------------------------------------------------
void
SAL_CALL
OReportDefinition
::
setPageHeaderOn
(
::
sal_Bool
_pageheaderon
)
throw
(
uno
::
RuntimeException
)
{
if
(
_pageheaderon
!=
m_pImpl
->
m_xPageHeader
.
is
()
)
if
(
bool
(
_pageheaderon
)
!=
m_pImpl
->
m_xPageHeader
.
is
()
)
{
setSection
(
PROPERTY_PAGEHEADERON
,
_pageheaderon
,
RPT_RESSTRING
(
RID_STR_PAGE_HEADER
,
m_aProps
->
m_xContext
->
getServiceManager
()),
m_pImpl
->
m_xPageHeader
);
}
...
...
@@ -1049,7 +1049,7 @@ void SAL_CALL OReportDefinition::setPageHeaderOn( ::sal_Bool _pageheaderon ) thr
// -----------------------------------------------------------------------------
void
SAL_CALL
OReportDefinition
::
setPageFooterOn
(
::
sal_Bool
_pagefooteron
)
throw
(
uno
::
RuntimeException
)
{
if
(
_pagefooteron
!=
m_pImpl
->
m_xPageFooter
.
is
()
)
if
(
bool
(
_pagefooteron
)
!=
m_pImpl
->
m_xPageFooter
.
is
()
)
{
setSection
(
PROPERTY_PAGEFOOTERON
,
_pagefooteron
,
RPT_RESSTRING
(
RID_STR_PAGE_FOOTER
,
m_aProps
->
m_xContext
->
getServiceManager
()),
m_pImpl
->
m_xPageFooter
);
}
...
...
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