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
dfb3be7e
Kaydet (Commit)
dfb3be7e
authored
Kas 17, 2015
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
use unique_ptr for pImpl in vcl,vbahelper,uui
Change-Id: Icb7573c24c681a8fc0570d61b6a30dab91378eb8
üst
b4bd157d
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
8 additions
and
8 deletions
+8
-8
vbaapplicationbase.hxx
include/vbahelper/vbaapplicationbase.hxx
+2
-1
textview.hxx
include/vcl/textview.hxx
+4
-3
requeststringresolver.cxx
uui/source/requeststringresolver.cxx
+0
-1
requeststringresolver.hxx
uui/source/requeststringresolver.hxx
+2
-1
vbaapplicationbase.cxx
vbahelper/source/vbahelper/vbaapplicationbase.cxx
+0
-1
textview.cxx
vcl/source/edit/textview.cxx
+0
-1
No files found.
include/vbahelper/vbaapplicationbase.hxx
Dosyayı görüntüle @
dfb3be7e
...
...
@@ -23,6 +23,7 @@
#include <ooo/vba/XApplicationBase.hpp>
#include <vbahelper/vbahelperinterface.hxx>
#include <sfx2/objsh.hxx>
#include <memory>
typedef
InheritedHelperInterfaceWeakImpl
<
ov
::
XApplicationBase
>
ApplicationBase_BASE
;
...
...
@@ -30,7 +31,7 @@ struct VbaApplicationBase_Impl;
class
VBAHELPER_DLLPUBLIC
VbaApplicationBase
:
public
ApplicationBase_BASE
{
VbaApplicationBase_Impl
*
m_pImpl
;
std
::
unique_ptr
<
VbaApplicationBase_Impl
>
m_pImpl
;
protected
:
VbaApplicationBase
(
const
css
::
uno
::
Reference
<
css
::
uno
::
XComponentContext
>&
xContext
);
...
...
include/vcl/textview.hxx
Dosyayı görüntüle @
dfb3be7e
...
...
@@ -26,6 +26,7 @@
#include <vcl/dndhelp.hxx>
#include <vcl/textdata.hxx>
#include <vcl/window.hxx>
#include <memory>
class
TextEngine
;
class
OutputDevice
;
...
...
@@ -53,10 +54,10 @@ class VCL_DLLPUBLIC TextView : public vcl::unohelper::DragAndDropClient
friend
class
ExtTextView
;
private
:
ImpTextView
*
mpImpl
;
std
::
unique_ptr
<
ImpTextView
>
mpImpl
;
TextView
(
const
TextView
&
)
:
vcl
::
unohelper
::
DragAndDropClient
()
{}
TextView
&
operator
=
(
const
TextView
&
)
{
return
*
this
;
}
TextView
(
const
TextView
&
)
=
delete
;
TextView
&
operator
=
(
const
TextView
&
)
=
delete
;
protected
:
void
ShowSelection
();
...
...
uui/source/requeststringresolver.cxx
Dosyayı görüntüle @
dfb3be7e
...
...
@@ -33,7 +33,6 @@ UUIInteractionRequestStringResolver::UUIInteractionRequestStringResolver(
UUIInteractionRequestStringResolver
::~
UUIInteractionRequestStringResolver
()
{
delete
m_pImpl
;
}
OUString
SAL_CALL
...
...
uui/source/requeststringresolver.hxx
Dosyayı görüntüle @
dfb3be7e
...
...
@@ -25,6 +25,7 @@
#include <com/sun/star/task/XInteractionRequestStringResolver.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <cppuhelper/implbase.hxx>
#include <memory>
class
UUIInteractionHelper
;
...
...
@@ -47,7 +48,7 @@ public:
rServiceFactory
);
private
:
UUIInteractionHelper
*
m_pImpl
;
std
::
unique_ptr
<
UUIInteractionHelper
>
m_pImpl
;
UUIInteractionRequestStringResolver
(
UUIInteractionRequestStringResolver
&
)
=
delete
;
void
operator
=
(
UUIInteractionRequestStringResolver
&
)
=
delete
;
...
...
vbahelper/source/vbahelper/vbaapplicationbase.cxx
Dosyayı görüntüle @
dfb3be7e
...
...
@@ -175,7 +175,6 @@ VbaApplicationBase::VbaApplicationBase( const uno::Reference< uno::XComponentCon
VbaApplicationBase
::~
VbaApplicationBase
()
{
delete
m_pImpl
;
}
sal_Bool
SAL_CALL
...
...
vcl/source/edit/textview.cxx
Dosyayı görüntüle @
dfb3be7e
...
...
@@ -243,7 +243,6 @@ TextView::~TextView()
mpImpl
->
mpWindow
->
SetCursor
(
nullptr
);
delete
mpImpl
->
mpCursor
;
delete
mpImpl
->
mpDDInfo
;
delete
mpImpl
;
}
void
TextView
::
Invalidate
()
...
...
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