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
99261989
Kaydet (Commit)
99261989
authored
Eki 30, 2015
tarafından
Miklos Vajna
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sw: prefix members of SwFindNearestNode
Change-Id: Iea2094f736837f5aecde2d9ff810dffb062d2315
üst
e794e43a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
hints.hxx
sw/inc/hints.hxx
+2
-2
hints.cxx
sw/source/core/attr/hints.cxx
+5
-5
No files found.
sw/inc/hints.hxx
Dosyayı görüntüle @
99261989
...
@@ -242,12 +242,12 @@ public:
...
@@ -242,12 +242,12 @@ public:
class
SwFindNearestNode
:
public
SwMsgPoolItem
class
SwFindNearestNode
:
public
SwMsgPoolItem
{
{
const
SwNode
*
pNd
,
*
pF
nd
;
const
SwNode
*
m_pNode
,
*
m_pFou
nd
;
public
:
public
:
SwFindNearestNode
(
const
SwNode
&
rNd
);
SwFindNearestNode
(
const
SwNode
&
rNd
);
void
CheckNode
(
const
SwNode
&
rNd
);
void
CheckNode
(
const
SwNode
&
rNd
);
const
SwNode
*
GetFoundNode
()
const
{
return
pF
nd
;
}
const
SwNode
*
GetFoundNode
()
const
{
return
m_pFou
nd
;
}
};
};
class
SwStringMsgPoolItem
:
public
SwMsgPoolItem
class
SwStringMsgPoolItem
:
public
SwMsgPoolItem
...
...
sw/source/core/attr/hints.cxx
Dosyayı görüntüle @
99261989
...
@@ -150,19 +150,19 @@ SwVirtPageNumInfo::SwVirtPageNumInfo( const SwPageFrm *pPg ) :
...
@@ -150,19 +150,19 @@ SwVirtPageNumInfo::SwVirtPageNumInfo( const SwPageFrm *pPg ) :
}
}
SwFindNearestNode
::
SwFindNearestNode
(
const
SwNode
&
rNd
)
SwFindNearestNode
::
SwFindNearestNode
(
const
SwNode
&
rNd
)
:
SwMsgPoolItem
(
RES_FINDNEARESTNODE
),
pNd
(
&
rNd
),
pF
nd
(
0
)
:
SwMsgPoolItem
(
RES_FINDNEARESTNODE
),
m_pNode
(
&
rNd
),
m_pFou
nd
(
0
)
{
{
}
}
void
SwFindNearestNode
::
CheckNode
(
const
SwNode
&
rNd
)
void
SwFindNearestNode
::
CheckNode
(
const
SwNode
&
rNd
)
{
{
if
(
&
pNd
->
GetNodes
()
==
&
rNd
.
GetNodes
()
)
if
(
&
m_pNode
->
GetNodes
()
==
&
rNd
.
GetNodes
()
)
{
{
sal_uLong
nIdx
=
rNd
.
GetIndex
();
sal_uLong
nIdx
=
rNd
.
GetIndex
();
if
(
nIdx
<
pNd
->
GetIndex
()
&&
if
(
nIdx
<
m_pNode
->
GetIndex
()
&&
(
!
pFnd
||
nIdx
>
pF
nd
->
GetIndex
()
)
&&
(
!
m_pFound
||
nIdx
>
m_pFou
nd
->
GetIndex
()
)
&&
nIdx
>
rNd
.
GetNodes
().
GetEndOfExtras
().
GetIndex
()
)
nIdx
>
rNd
.
GetNodes
().
GetEndOfExtras
().
GetIndex
()
)
pF
nd
=
&
rNd
;
m_pFou
nd
=
&
rNd
;
}
}
}
}
...
...
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