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
c23dd470
Kaydet (Commit)
c23dd470
authored
Nis 25, 2015
tarafından
Michael Stahl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sw: same treatment for SwCursor's fake "copy constructor"
Change-Id: Id627274ca6ad87e7e85b5ce64419ed68a5d4c9c3
üst
bdf3c9bf
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
5 deletions
+9
-5
swcrsr.hxx
sw/inc/swcrsr.hxx
+5
-2
viscrs.hxx
sw/inc/viscrs.hxx
+1
-0
swcrsr.cxx
sw/source/core/crsr/swcrsr.cxx
+2
-2
viscrs.cxx
sw/source/core/crsr/viscrs.cxx
+1
-1
No files found.
sw/inc/swcrsr.hxx
Dosyayı görüntüle @
c23dd470
...
...
@@ -69,6 +69,8 @@ class SW_DLLPUBLIC SwCursor : public SwPaM
using
SwPaM
::
Find
;
SwCursor
(
SwCursor
const
&
rPaM
)
SAL_DELETED_FUNCTION
;
protected
:
_SwCursor_SavePos
*
CreateNewSavePos
()
const
;
void
SaveState
();
...
...
@@ -86,8 +88,9 @@ public:
SwCursor
(
const
SwPosition
&
rPos
,
SwPaM
*
pRing
,
bool
bColumnSel
);
virtual
~
SwCursor
();
// @@@ semantic: no copy ctor.
SwCursor
(
SwCursor
&
rCpy
);
/// this takes a second parameter, which indicates the Ring that
/// the new cursor should be part of (may be null)
SwCursor
(
SwCursor
const
&
rCursor
,
SwPaM
*
pRing
);
public
:
...
...
sw/inc/viscrs.hxx
Dosyayı görüntüle @
c23dd470
...
...
@@ -126,6 +126,7 @@ public:
SwShellCrsr
(
const
SwCrsrShell
&
rCrsrSh
,
const
SwPosition
&
rPos
);
SwShellCrsr
(
const
SwCrsrShell
&
rCrsrSh
,
const
SwPosition
&
rPos
,
const
Point
&
rPtPos
,
SwPaM
*
pRing
=
0
);
// note: *intentionally* links the new shell cursor into the old one's Ring
SwShellCrsr
(
SwShellCrsr
&
);
virtual
~
SwShellCrsr
();
...
...
sw/source/core/crsr/swcrsr.cxx
Dosyayı görüntüle @
c23dd470
...
...
@@ -123,8 +123,8 @@ SwCursor::SwCursor( const SwPosition &rPos, SwPaM* pRing, bool bColumnSel )
}
// @@@ semantic: no copy ctor.
SwCursor
::
SwCursor
(
SwCursor
&
rCpy
)
:
SwPaM
(
rCpy
,
&
rCpy
)
SwCursor
::
SwCursor
(
SwCursor
const
&
rCpy
,
SwPaM
*
const
pRing
)
:
SwPaM
(
rCpy
,
pRing
)
,
m_pSavePos
(
nullptr
)
,
m_nRowSpanOffset
(
rCpy
.
m_nRowSpanOffset
)
,
m_nCursorBidiLevel
(
rCpy
.
m_nCursorBidiLevel
)
...
...
sw/source/core/crsr/viscrs.cxx
Dosyayı görüntüle @
c23dd470
...
...
@@ -528,7 +528,7 @@ SwShellCrsr::SwShellCrsr(
{}
SwShellCrsr
::
SwShellCrsr
(
SwShellCrsr
&
rICrsr
)
:
SwCursor
(
rICrsr
)
:
SwCursor
(
rICrsr
,
&
rICrsr
)
,
SwSelPaintRects
(
*
rICrsr
.
GetShell
())
,
m_MarkPt
(
rICrsr
.
GetMkPos
())
,
m_PointPt
(
rICrsr
.
GetPtPos
())
...
...
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