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
47f1529c
Kaydet (Commit)
47f1529c
authored
Kas 04, 2015
tarafından
Miklos Vajna
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sw: prefix members of SwRegionRects
Change-Id: Ib59572c45a1404840c379318e4987f5223edca15
üst
c93db89a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
swregion.hxx
sw/inc/swregion.hxx
+3
-3
swregion.cxx
sw/source/core/bastyp/swregion.cxx
+3
-3
No files found.
sw/inc/swregion.hxx
Dosyayı görüntüle @
47f1529c
...
...
@@ -27,7 +27,7 @@ typedef std::vector<SwRect> SwRects;
class
SwRegionRects
:
public
SwRects
{
SwRect
aOrigin
;
// Copy of StartRect.
SwRect
m_
aOrigin
;
// Copy of StartRect.
inline
void
InsertRect
(
const
SwRect
&
rRect
,
const
sal_uInt16
nPos
,
bool
&
rDel
);
...
...
@@ -44,8 +44,8 @@ public:
// Combine adjacent rectangles.
void
Compress
(
bool
bFuzzy
=
true
);
inline
const
SwRect
&
GetOrigin
()
const
{
return
aOrigin
;
}
inline
void
ChangeOrigin
(
const
SwRect
&
rRect
)
{
aOrigin
=
rRect
;
}
inline
const
SwRect
&
GetOrigin
()
const
{
return
m_
aOrigin
;
}
inline
void
ChangeOrigin
(
const
SwRect
&
rRect
)
{
m_
aOrigin
=
rRect
;
}
};
#endif // INCLUDED_SW_INC_SWREGION_HXX
...
...
sw/source/core/bastyp/swregion.cxx
Dosyayı görüntüle @
47f1529c
...
...
@@ -23,10 +23,10 @@
SwRegionRects
::
SwRegionRects
(
const
SwRect
&
rStartRect
,
sal_uInt16
nInit
)
:
SwRects
(),
aOrigin
(
rStartRect
)
m_
aOrigin
(
rStartRect
)
{
reserve
(
nInit
);
push_back
(
aOrigin
);
push_back
(
m_
aOrigin
);
}
// If <rDel> is true then this Rect will be overwritten by <rRect> at
...
...
@@ -127,7 +127,7 @@ void SwRegionRects::Invert()
// To avoid unnecessary memory requirements, create a "useful" initial size:
// Number of rectangles in this area * 2 + 2 for the special case of a
// single hole (so four Rects in the inverse case).
SwRegionRects
aInvRegion
(
aOrigin
,
size
()
*
2
+
2
);
SwRegionRects
aInvRegion
(
m_
aOrigin
,
size
()
*
2
+
2
);
for
(
const_iterator
it
=
begin
();
it
!=
end
();
++
it
)
aInvRegion
-=
*
it
;
...
...
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