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
645bebd9
Kaydet (Commit)
645bebd9
authored
Şub 27, 2015
tarafından
Miklos Vajna
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
SwSelPaintRects::FillStartEnd(): missing const
Change-Id: I644535d94894e51bc134ba8394238d3044eab488
üst
ee8ee08b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
viscrs.hxx
sw/inc/viscrs.hxx
+3
-3
viscrs.cxx
sw/source/core/crsr/viscrs.cxx
+2
-2
No files found.
sw/inc/viscrs.hxx
Dosyayı görüntüle @
645bebd9
...
...
@@ -90,7 +90,7 @@ public:
virtual
void
FillRects
()
=
0
;
/// Fill rStart and rEnd with a rectangle that represents the start and end for selection handles.
virtual
void
FillStartEnd
(
SwRect
&
rStart
,
SwRect
&
rEnd
)
=
0
;
virtual
void
FillStartEnd
(
SwRect
&
rStart
,
SwRect
&
rEnd
)
const
=
0
;
// #i75172# in SwCrsrShell::CreateCrsr() the content of SwSelPaintRects is exchanged. To
// make a complete swap access to mpCursorOverlay is needed there
...
...
@@ -129,7 +129,7 @@ public:
virtual
void
FillRects
()
SAL_OVERRIDE
;
// For Table- und normal cursors.
/// @see SwSelPaintRects::FillStartEnd(), override for text selections.
virtual
void
FillStartEnd
(
SwRect
&
rStart
,
SwRect
&
rEnd
)
SAL_OVERRIDE
;
virtual
void
FillStartEnd
(
SwRect
&
rStart
,
SwRect
&
rEnd
)
const
SAL_OVERRIDE
;
void
Show
();
// Update and display all selections.
void
Hide
();
// Hide all selections.
...
...
@@ -180,7 +180,7 @@ public:
virtual
void
FillRects
()
SAL_OVERRIDE
;
// For table and normal cursor.
/// @see SwSelPaintRects::FillStartEnd(), override for table selections.
virtual
void
FillStartEnd
(
SwRect
&
rStart
,
SwRect
&
rEnd
)
SAL_OVERRIDE
;
virtual
void
FillStartEnd
(
SwRect
&
rStart
,
SwRect
&
rEnd
)
const
SAL_OVERRIDE
;
// Check if SPoint is within table SSelection.
bool
IsInside
(
const
Point
&
rPt
)
const
;
...
...
sw/source/core/crsr/viscrs.cxx
Dosyayı görüntüle @
645bebd9
...
...
@@ -276,7 +276,7 @@ static SwRect lcl_getLayoutRect(const Point& rPoint, const SwPosition& rPosition
return
aRect
;
}
void
SwShellCrsr
::
FillStartEnd
(
SwRect
&
rStart
,
SwRect
&
rEnd
)
void
SwShellCrsr
::
FillStartEnd
(
SwRect
&
rStart
,
SwRect
&
rEnd
)
const
{
const
SwShellCrsr
*
pCursor
=
GetShell
()
->
getShellCrsr
(
false
);
rStart
=
lcl_getLayoutRect
(
pCursor
->
GetSttPos
(),
*
pCursor
->
Start
());
...
...
@@ -773,7 +773,7 @@ void SwShellTableCrsr::FillRects()
insert
(
begin
(),
aReg
.
begin
(),
aReg
.
end
()
);
}
void
SwShellTableCrsr
::
FillStartEnd
(
SwRect
&
rStart
,
SwRect
&
rEnd
)
void
SwShellTableCrsr
::
FillStartEnd
(
SwRect
&
rStart
,
SwRect
&
rEnd
)
const
{
rStart
=
m_aStart
;
rEnd
=
m_aEnd
;
...
...
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