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
1e6268e5
Kaydet (Commit)
1e6268e5
authored
Nis 24, 2012
tarafından
Kohei Yoshida
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Simplified the constructors.
üst
8cd07281
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
13 deletions
+7
-13
editsrc.hxx
sc/inc/editsrc.hxx
+1
-2
editsrc.cxx
sc/source/ui/unoobj/editsrc.cxx
+2
-6
fielduno.cxx
sc/source/ui/unoobj/fielduno.cxx
+3
-3
textuno.cxx
sc/source/ui/unoobj/textuno.cxx
+1
-2
No files found.
sc/inc/editsrc.hxx
Dosyayı görüntüle @
1e6268e5
...
@@ -68,8 +68,7 @@ private:
...
@@ -68,8 +68,7 @@ private:
ScHeaderFooterTextData
*
pTextData
;
ScHeaderFooterTextData
*
pTextData
;
public
:
public
:
ScHeaderFooterEditSource
(
ScHeaderFooterTextData
*
pData
);
ScHeaderFooterEditSource
(
const
ScHeaderFooterTextData
&
rData
);
ScHeaderFooterEditSource
(
ScHeaderFooterContentObj
*
pContent
,
sal_uInt16
nP
);
ScHeaderFooterEditSource
(
ScHeaderFooterContentObj
&
rContent
,
sal_uInt16
nP
);
ScHeaderFooterEditSource
(
ScHeaderFooterContentObj
&
rContent
,
sal_uInt16
nP
);
virtual
~
ScHeaderFooterEditSource
();
virtual
~
ScHeaderFooterEditSource
();
...
...
sc/source/ui/unoobj/editsrc.cxx
Dosyayı görüntüle @
1e6268e5
...
@@ -67,12 +67,8 @@ ScHeaderFooterChangedHint::~ScHeaderFooterChangedHint()
...
@@ -67,12 +67,8 @@ ScHeaderFooterChangedHint::~ScHeaderFooterChangedHint()
// each ScHeaderFooterEditSource object has its own ScHeaderFooterTextData
// each ScHeaderFooterEditSource object has its own ScHeaderFooterTextData
ScHeaderFooterEditSource
::
ScHeaderFooterEditSource
(
ScHeaderFooterTextData
*
pData
)
:
ScHeaderFooterEditSource
::
ScHeaderFooterEditSource
(
const
ScHeaderFooterTextData
&
rData
)
:
pTextData
(
pData
)
{}
pTextData
(
new
ScHeaderFooterTextData
(
rData
.
GetContentObj
(),
rData
.
GetPart
()))
{}
ScHeaderFooterEditSource
::
ScHeaderFooterEditSource
(
ScHeaderFooterContentObj
*
pContent
,
sal_uInt16
nP
)
:
pTextData
(
new
ScHeaderFooterTextData
(
*
pContent
,
nP
))
{}
ScHeaderFooterEditSource
::
ScHeaderFooterEditSource
(
ScHeaderFooterEditSource
::
ScHeaderFooterEditSource
(
ScHeaderFooterContentObj
&
rContent
,
sal_uInt16
nP
)
:
ScHeaderFooterContentObj
&
rContent
,
sal_uInt16
nP
)
:
...
...
sc/source/ui/unoobj/fielduno.cxx
Dosyayı görüntüle @
1e6268e5
...
@@ -859,7 +859,7 @@ ScHeaderFieldsObj::ScHeaderFieldsObj(ScHeaderFooterContentObj* pContent, sal_uIn
...
@@ -859,7 +859,7 @@ ScHeaderFieldsObj::ScHeaderFieldsObj(ScHeaderFooterContentObj* pContent, sal_uIn
if
(
pContentObj
)
if
(
pContentObj
)
{
{
pContentObj
->
acquire
();
// darf nicht wegkommen
pContentObj
->
acquire
();
// darf nicht wegkommen
pEditSource
=
new
ScHeaderFooterEditSource
(
pContentObj
,
nPart
);
pEditSource
=
new
ScHeaderFooterEditSource
(
*
pContentObj
,
nPart
);
}
}
else
else
pEditSource
=
NULL
;
pEditSource
=
NULL
;
...
@@ -1118,7 +1118,7 @@ ScHeaderFieldObj::ScHeaderFieldObj(
...
@@ -1118,7 +1118,7 @@ ScHeaderFieldObj::ScHeaderFieldObj(
if
(
pContentObj
)
if
(
pContentObj
)
{
{
pContentObj
->
acquire
();
// darf nicht wegkommen
pContentObj
->
acquire
();
// darf nicht wegkommen
pEditSource
=
new
ScHeaderFooterEditSource
(
pContentObj
,
nPart
);
pEditSource
=
new
ScHeaderFooterEditSource
(
*
pContentObj
,
nPart
);
}
}
else
else
pEditSource
=
NULL
;
pEditSource
=
NULL
;
...
@@ -1199,7 +1199,7 @@ void ScHeaderFieldObj::InitDoc(
...
@@ -1199,7 +1199,7 @@ void ScHeaderFieldObj::InitDoc(
mpContent
=
rContent
;
mpContent
=
rContent
;
pContentObj
->
acquire
();
// darf nicht wegkommen
pContentObj
->
acquire
();
// darf nicht wegkommen
pEditSource
=
new
ScHeaderFooterEditSource
(
pContentObj
,
nPart
);
pEditSource
=
new
ScHeaderFooterEditSource
(
*
pContentObj
,
nPart
);
}
}
}
}
...
...
sc/source/ui/unoobj/textuno.cxx
Dosyayı görüntüle @
1e6268e5
...
@@ -335,8 +335,7 @@ void ScHeaderFooterTextObj::CreateUnoText_Impl()
...
@@ -335,8 +335,7 @@ void ScHeaderFooterTextObj::CreateUnoText_Impl()
if
(
!
pUnoText
)
if
(
!
pUnoText
)
{
{
// can't be aggregated because getString/setString is handled here
// can't be aggregated because getString/setString is handled here
ScHeaderFooterEditSource
aEditSource
(
ScHeaderFooterEditSource
aEditSource
(
aTextData
);
new
ScHeaderFooterTextData
(
aTextData
.
GetContentObj
(),
aTextData
.
GetPart
()));
pUnoText
=
new
SvxUnoText
(
&
aEditSource
,
lcl_GetHdFtPropertySet
(),
uno
::
Reference
<
text
::
XText
>
()
);
pUnoText
=
new
SvxUnoText
(
&
aEditSource
,
lcl_GetHdFtPropertySet
(),
uno
::
Reference
<
text
::
XText
>
()
);
pUnoText
->
acquire
();
pUnoText
->
acquire
();
}
}
...
...
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