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
a9659f30
Kaydet (Commit)
a9659f30
authored
Ara 09, 2016
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
No need for rtl::Reference friend, no need for #include vclptr.hxx
Change-Id: I7bdd15a93e728ef7e98a53001c6eb6b56f761a6d
üst
cbf5b21f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
3 deletions
+5
-3
vclwidgets.cxx
compilerplugins/clang/test/vclwidgets.cxx
+2
-0
abstdlg.hxx
include/vcl/abstdlg.hxx
+1
-0
vclreferencebase.hxx
include/vcl/vclreferencebase.hxx
+2
-3
No files found.
compilerplugins/clang/test/vclwidgets.cxx
Dosyayı görüntüle @
a9659f30
...
...
@@ -8,6 +8,8 @@
*/
#include <sal/config.h>
#include <vcl/vclptr.hxx>
#include <vcl/vclreferencebase.hxx>
struct
Widget
:
public
VclReferenceBase
...
...
include/vcl/abstdlg.hxx
Dosyayı görüntüle @
a9659f30
...
...
@@ -22,6 +22,7 @@
#include <rtl/ustring.hxx>
#include <tools/link.hxx>
#include <vcl/dllapi.h>
#include <vcl/vclptr.hxx>
#include <vcl/vclreferencebase.hxx>
#include <vector>
...
...
include/vcl/vclreferencebase.hxx
Dosyayı görüntüle @
a9659f30
...
...
@@ -20,8 +20,8 @@
#define INCLUDED_VCL_Reference_HXX
#include <vcl/dllapi.h>
#include <vcl/vclptr.hxx>
#include <tools/debug.hxx>
#include <cassert>
class
VclReferenceBase
;
...
...
@@ -30,8 +30,7 @@ class VCL_DLLPUBLIC VclReferenceBase
{
mutable
int
mnRefCnt
;
template
<
typename
T
>
friend
class
::
rtl
::
Reference
;
template
<
typename
T
>
friend
class
::
VclPtr
;
template
<
typename
T
>
friend
class
VclPtr
;
public
:
inline
void
acquire
()
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