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
ab0eecc0
Kaydet (Commit)
ab0eecc0
authored
Agu 25, 2016
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
cid#1371256 Missing move assignment operator
Change-Id: Idf50c8f56e1d409fbd1306ee0fec20360bf99c86
üst
68697779
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
0 deletions
+13
-0
sdrtextattribute.hxx
include/svx/sdr/attribute/sdrtextattribute.hxx
+2
-0
sdrtextattribute.cxx
svx/source/sdr/attribute/sdrtextattribute.cxx
+11
-0
No files found.
include/svx/sdr/attribute/sdrtextattribute.hxx
Dosyayı görüntüle @
ab0eecc0
...
...
@@ -80,7 +80,9 @@ namespace drawinglayer
SdrTextAttribute
();
SdrTextAttribute
(
const
SdrTextAttribute
&
rCandidate
);
SdrTextAttribute
(
SdrTextAttribute
&&
rCandidate
);
SdrTextAttribute
&
operator
=
(
const
SdrTextAttribute
&
rCandidate
);
SdrTextAttribute
&
operator
=
(
SdrTextAttribute
&&
rCandidate
);
~
SdrTextAttribute
();
// checks if the incarnation is default constructed
...
...
svx/source/sdr/attribute/sdrtextattribute.cxx
Dosyayı görüntüle @
ab0eecc0
...
...
@@ -282,6 +282,11 @@ namespace drawinglayer
{
}
SdrTextAttribute
::
SdrTextAttribute
(
SdrTextAttribute
&&
rCandidate
)
:
mpSdrTextAttribute
(
std
::
move
(
rCandidate
.
mpSdrTextAttribute
))
{
}
SdrTextAttribute
::~
SdrTextAttribute
()
{
}
...
...
@@ -297,6 +302,12 @@ namespace drawinglayer
return
*
this
;
}
SdrTextAttribute
&
SdrTextAttribute
::
operator
=
(
SdrTextAttribute
&&
rCandidate
)
{
mpSdrTextAttribute
=
std
::
move
(
rCandidate
.
mpSdrTextAttribute
);
return
*
this
;
}
bool
SdrTextAttribute
::
operator
==
(
const
SdrTextAttribute
&
rCandidate
)
const
{
// tdf#87509 default attr is always != non-default attr, even with same values
...
...
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