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
ba3f1315
Kaydet (Commit)
ba3f1315
authored
Eki 27, 2014
tarafından
Michael Stahl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sw: prefix members of SwTxtInfo
Change-Id: Ifd3a4e5f4b84b6f8a74e59a7bcdf8ddc35dfe408
üst
4023e694
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
16 deletions
+17
-16
inftxt.cxx
sw/source/core/text/inftxt.cxx
+7
-7
inftxt.hxx
sw/source/core/text/inftxt.hxx
+9
-8
txthyph.cxx
sw/source/core/text/txthyph.cxx
+1
-1
No files found.
sw/source/core/text/inftxt.cxx
Dosyayı görüntüle @
ba3f1315
...
...
@@ -154,19 +154,19 @@ void SwLineInfo::CtorInitLineInfo( const SwAttrSet& rAttrSet,
void
SwTxtInfo
::
CtorInitTxtInfo
(
SwTxtFrm
*
pFrm
)
{
pPara
=
pFrm
->
GetPara
();
nTxtStart
=
pFrm
->
GetOfst
();
if
(
!
pPara
)
m_
pPara
=
pFrm
->
GetPara
();
m_
nTxtStart
=
pFrm
->
GetOfst
();
if
(
!
m_pPara
)
{
OSL_ENSURE
(
pPara
,
"+SwTxtInfo::CTOR: missing paragraph information"
);
SAL_WARN
(
"sw.core"
,
"+SwTxtInfo::CTOR: missing paragraph information"
);
pFrm
->
Format
();
pPara
=
pFrm
->
GetPara
();
m_
pPara
=
pFrm
->
GetPara
();
}
}
SwTxtInfo
::
SwTxtInfo
(
const
SwTxtInfo
&
rInf
)
:
pPara
(
((
SwTxtInfo
&
)
rInf
).
GetParaPortion
()
),
nTxtStart
(
rInf
.
GetTxtStart
()
)
:
m_pPara
(
const_cast
<
SwTxtInfo
&>
(
rInf
).
GetParaPortion
()
)
,
m_
nTxtStart
(
rInf
.
GetTxtStart
()
)
{
}
#if OSL_DEBUG_LEVEL > 0
...
...
sw/source/core/text/inftxt.hxx
Dosyayı görüntüle @
ba3f1315
...
...
@@ -121,21 +121,22 @@ class SwTxtInfo
{
// Implementation in txthyph.cxx
friend
void
SetParaPortion
(
SwTxtInfo
*
pInf
,
SwParaPortion
*
pRoot
);
SwParaPortion
*
pPara
;
sal_Int32
nTxtStart
;
// TxtOfst for Follows
SwParaPortion
*
m_
pPara
;
sal_Int32
m_
nTxtStart
;
// TxtOfst for Follows
protected
:
SwTxtInfo
()
:
pPara
(
0
)
,
nTxtStart
(
0
)
{}
:
m_pPara
(
0
)
,
m_nTxtStart
(
0
)
{}
public
:
void
CtorInitTxtInfo
(
SwTxtFrm
*
pFrm
);
SwTxtInfo
(
const
SwTxtInfo
&
rInf
);
SwTxtInfo
(
SwTxtFrm
*
pFrm
)
{
CtorInitTxtInfo
(
pFrm
);
}
SwParaPortion
*
GetParaPortion
()
{
return
pPara
;
}
const
SwParaPortion
*
GetParaPortion
()
const
{
return
pPara
;
}
sal_Int32
GetTxtStart
()
const
{
return
nTxtStart
;
}
SwParaPortion
*
GetParaPortion
()
{
return
m_
pPara
;
}
const
SwParaPortion
*
GetParaPortion
()
const
{
return
m_
pPara
;
}
sal_Int32
GetTxtStart
()
const
{
return
m_
nTxtStart
;
}
friend
SvStream
&
WriteSwTxtInfo
(
SvStream
&
rOS
,
const
SwTxtInfo
&
rInf
);
};
...
...
sw/source/core/text/txthyph.cxx
Dosyayı görüntüle @
ba3f1315
...
...
@@ -119,7 +119,7 @@ bool SwTxtFrm::Hyphenate( SwInterHyphInfo &rHyphInf )
void
SetParaPortion
(
SwTxtInfo
*
pInf
,
SwParaPortion
*
pRoot
)
{
OSL_ENSURE
(
pRoot
,
"SetParaPortion: no root anymore"
);
pInf
->
pPara
=
pRoot
;
pInf
->
m_
pPara
=
pRoot
;
}
bool
SwTxtFormatter
::
Hyphenate
(
SwInterHyphInfo
&
rHyphInf
)
...
...
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