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
3c127bc7
Kaydet (Commit)
3c127bc7
authored
Agu 25, 2016
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
cid#1371163 Missing move assignment operator
Change-Id: Ie050cfae965adf7bc43c91f366904cf6876783c0
üst
74fbfde3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
0 deletions
+19
-0
content.hxx
include/ucbhelper/content.hxx
+10
-0
content.cxx
ucbhelper/source/client/content.cxx
+9
-0
No files found.
include/ucbhelper/content.hxx
Dosyayı görüntüle @
3c127bc7
...
...
@@ -144,6 +144,11 @@ public:
*/
Content
(
const
Content
&
rOther
);
/**
* Move constructor.
*/
Content
(
Content
&&
rOther
);
/**
* Destructor.
*/
...
...
@@ -156,6 +161,11 @@ public:
*/
Content
&
operator
=
(
const
Content
&
rOther
);
/**
* Move assignment operator.
*/
Content
&
operator
=
(
Content
&&
rOther
);
/**
* Constructor. This method should be used, if the exception thrown
* by the direct ctors of this class are to 'expensive' for your
...
...
ucbhelper/source/client/content.cxx
Dosyayı görüntüle @
3c127bc7
...
...
@@ -337,6 +337,10 @@ Content::Content( const Content& rOther )
m_xImpl
=
rOther
.
m_xImpl
;
}
Content
::
Content
(
Content
&&
rOther
)
{
m_xImpl
=
std
::
move
(
rOther
.
m_xImpl
);
}
// static
bool
Content
::
create
(
const
OUString
&
rURL
,
...
...
@@ -374,6 +378,11 @@ Content& Content::operator=( const Content& rOther )
return
*
this
;
}
Content
&
Content
::
operator
=
(
Content
&&
rOther
)
{
m_xImpl
=
std
::
move
(
rOther
.
m_xImpl
);
return
*
this
;
}
Reference
<
XContent
>
Content
::
get
()
const
{
...
...
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