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
84ccf805
Kaydet (Commit)
84ccf805
authored
Eyl 25, 2017
tarafından
Miklos Vajna
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sw: prefix members of SwFormatRefMark
Change-Id: I1036b8190532adb65d28d704637cf6f94d254235
üst
df13da94
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
11 deletions
+11
-11
fmtrfmrk.hxx
sw/inc/fmtrfmrk.hxx
+5
-5
atrref.cxx
sw/source/core/txtnode/atrref.cxx
+6
-6
No files found.
sw/inc/fmtrfmrk.hxx
Dosyayı görüntüle @
84ccf805
...
...
@@ -38,10 +38,10 @@ class SwFormatRefMark
,
public
SwModify
{
friend
class
SwTextRefMark
;
SwTextRefMark
*
pTextAttr
;
SwTextRefMark
*
m_
pTextAttr
;
SwFormatRefMark
&
operator
=
(
const
SwFormatRefMark
&
rRefMark
)
=
delete
;
OUString
aRefName
;
OUString
m_
aRefName
;
css
::
uno
::
WeakReference
<
css
::
text
::
XTextContent
>
m_wXReferenceMark
;
...
...
@@ -60,10 +60,10 @@ public:
void
InvalidateRefMark
();
const
SwTextRefMark
*
GetTextRefMark
()
const
{
return
pTextAttr
;
}
const
SwTextRefMark
*
GetTextRefMark
()
const
{
return
m_
pTextAttr
;
}
OUString
&
GetRefName
()
{
return
aRefName
;
}
const
OUString
&
GetRefName
()
const
{
return
aRefName
;
}
OUString
&
GetRefName
()
{
return
m_
aRefName
;
}
const
OUString
&
GetRefName
()
const
{
return
m_
aRefName
;
}
css
::
uno
::
WeakReference
<
css
::
text
::
XTextContent
>
const
&
GetXRefMark
()
const
{
return
m_wXReferenceMark
;
}
...
...
sw/source/core/txtnode/atrref.cxx
Dosyayı görüntüle @
84ccf805
...
...
@@ -31,23 +31,23 @@ SwFormatRefMark::~SwFormatRefMark( )
SwFormatRefMark
::
SwFormatRefMark
(
const
OUString
&
rName
)
:
SfxPoolItem
(
RES_TXTATR_REFMARK
)
,
SwModify
(
nullptr
)
,
pTextAttr
(
nullptr
)
,
aRefName
(
rName
)
,
m_
pTextAttr
(
nullptr
)
,
m_
aRefName
(
rName
)
{
}
SwFormatRefMark
::
SwFormatRefMark
(
const
SwFormatRefMark
&
rAttr
)
:
SfxPoolItem
(
RES_TXTATR_REFMARK
)
,
SwModify
(
nullptr
)
,
pTextAttr
(
nullptr
)
,
aRefName
(
rAttr
.
aRefName
)
,
m_
pTextAttr
(
nullptr
)
,
m_aRefName
(
rAttr
.
m_
aRefName
)
{
}
bool
SwFormatRefMark
::
operator
==
(
const
SfxPoolItem
&
rAttr
)
const
{
assert
(
SfxPoolItem
::
operator
==
(
rAttr
));
return
aRefName
==
static_cast
<
const
SwFormatRefMark
&>
(
rAttr
).
aRefName
;
return
m_aRefName
==
static_cast
<
const
SwFormatRefMark
&>
(
rAttr
).
m_
aRefName
;
}
SfxPoolItem
*
SwFormatRefMark
::
Clone
(
SfxItemPool
*
)
const
...
...
@@ -80,7 +80,7 @@ SwTextRefMark::SwTextRefMark( SwFormatRefMark& rAttr,
,
m_pTextNode
(
nullptr
)
,
m_pEnd
(
nullptr
)
{
rAttr
.
pTextAttr
=
this
;
rAttr
.
m_
pTextAttr
=
this
;
if
(
pEnd
)
{
m_nEnd
=
*
pEnd
;
...
...
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