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
5fc51f8d
Kaydet (Commit)
5fc51f8d
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 ucbhelper/
Change-Id: Ibae75fc4d843bd38179d4c7afc6ddb532835c7a6
üst
edc264d1
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
18 additions
and
19 deletions
+18
-19
commandenvironment.hxx
include/ucbhelper/commandenvironment.hxx
+2
-1
contenthelper.hxx
include/ucbhelper/contenthelper.hxx
+2
-1
contentidentifier.hxx
include/ucbhelper/contentidentifier.hxx
+2
-1
interactionrequest.hxx
include/ucbhelper/interactionrequest.hxx
+3
-2
providerhelper.hxx
include/ucbhelper/providerhelper.hxx
+2
-1
resultset.hxx
include/ucbhelper/resultset.hxx
+2
-1
resultsetmetadata.hxx
include/ucbhelper/resultsetmetadata.hxx
+2
-1
commandenvironment.cxx
ucbhelper/source/client/commandenvironment.cxx
+2
-3
contenthelper.cxx
ucbhelper/source/provider/contenthelper.cxx
+0
-1
contentidentifier.cxx
ucbhelper/source/provider/contentidentifier.cxx
+1
-2
interactionrequest.cxx
ucbhelper/source/provider/interactionrequest.cxx
+0
-2
providerhelper.cxx
ucbhelper/source/provider/providerhelper.cxx
+0
-1
resultset.cxx
ucbhelper/source/provider/resultset.cxx
+0
-1
resultsetmetadata.cxx
ucbhelper/source/provider/resultsetmetadata.cxx
+0
-1
No files found.
include/ucbhelper/commandenvironment.hxx
Dosyayı görüntüle @
5fc51f8d
...
...
@@ -23,6 +23,7 @@
#include <com/sun/star/ucb/XCommandEnvironment.hpp>
#include <ucbhelper/ucbhelperdllapi.h>
#include <cppuhelper/implbase1.hxx>
#include <memory>
namespace
ucbhelper
{
...
...
@@ -36,7 +37,7 @@ struct CommandEnvironment_Impl;
class
UCBHELPER_DLLPUBLIC
CommandEnvironment
:
public
cppu
::
WeakImplHelper1
<
css
::
ucb
::
XCommandEnvironment
>
{
CommandEnvironment_Impl
*
m_pImpl
;
std
::
unique_ptr
<
CommandEnvironment_Impl
>
m_pImpl
;
private
:
CommandEnvironment
(
const
CommandEnvironment
&
)
=
delete
;
...
...
include/ucbhelper/contenthelper.hxx
Dosyayı görüntüle @
5fc51f8d
...
...
@@ -38,6 +38,7 @@
#include <rtl/ref.hxx>
#include <ucbhelper/macros.hxx>
#include <ucbhelper/ucbhelperdllapi.h>
#include <memory>
namespace
com
{
namespace
sun
{
namespace
star
{
namespace
ucb
{
struct
CommandInfo
;
...
...
@@ -96,7 +97,7 @@ class UCBHELPER_DLLPUBLIC ContentImplHelper :
friend
class
PropertySetInfo
;
friend
class
CommandProcessorInfo
;
ucbhelper_impl
::
ContentImplHelper_Impl
*
m_pImpl
;
std
::
unique_ptr
<
ucbhelper_impl
::
ContentImplHelper_Impl
>
m_pImpl
;
protected
:
osl
::
Mutex
m_aMutex
;
...
...
include/ucbhelper/contentidentifier.hxx
Dosyayı görüntüle @
5fc51f8d
...
...
@@ -24,6 +24,7 @@
#include <com/sun/star/lang/XTypeProvider.hpp>
#include <com/sun/star/ucb/XContentIdentifier.hpp>
#include <ucbhelper/ucbhelperdllapi.h>
#include <memory>
namespace
ucbhelper
...
...
@@ -74,7 +75,7 @@ public:
throw
(
css
::
uno
::
RuntimeException
,
std
::
exception
)
override
;
private
:
ContentIdentifier_Impl
*
m_pImpl
;
std
::
unique_ptr
<
ContentIdentifier_Impl
>
m_pImpl
;
};
}
/* namespace ucbhelper */
...
...
include/ucbhelper/interactionrequest.hxx
Dosyayı görüntüle @
5fc51f8d
...
...
@@ -32,6 +32,7 @@
#include <rtl/ref.hxx>
#include <cppuhelper/weak.hxx>
#include <ucbhelper/ucbhelperdllapi.h>
#include <memory>
namespace
ucbhelper
{
...
...
@@ -63,7 +64,7 @@ class UCBHELPER_DLLPUBLIC InteractionRequest : public cppu::OWeakObject,
public
css
::
lang
::
XTypeProvider
,
public
css
::
task
::
XInteractionRequest
{
InteractionRequest_Impl
*
m_pImpl
;
std
::
unique_ptr
<
InteractionRequest_Impl
>
m_pImpl
;
protected
:
void
setRequest
(
const
css
::
uno
::
Any
&
rRequest
);
...
...
@@ -151,7 +152,7 @@ struct InteractionContinuation_Impl;
*/
class
UCBHELPER_DLLPUBLIC
InteractionContinuation
:
public
cppu
::
OWeakObject
{
InteractionContinuation_Impl
*
m_pImpl
;
std
::
unique_ptr
<
InteractionContinuation_Impl
>
m_pImpl
;
protected
:
/**
...
...
include/ucbhelper/providerhelper.hxx
Dosyayı görüntüle @
5fc51f8d
...
...
@@ -21,6 +21,7 @@
#define INCLUDED_UCBHELPER_PROVIDERHELPER_HXX
#include <list>
#include <memory>
#include <com/sun/star/ucb/XContentProvider.hpp>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
...
...
@@ -70,7 +71,7 @@ class UCBHELPER_DLLPUBLIC ContentProviderImplHelper : public cppu::OWeakObject,
{
friend
class
ContentImplHelper
;
ucbhelper_impl
::
ContentProviderImplHelper_Impl
*
m_pImpl
;
std
::
unique_ptr
<
ucbhelper_impl
::
ContentProviderImplHelper_Impl
>
m_pImpl
;
protected
:
osl
::
Mutex
m_aMutex
;
...
...
include/ucbhelper/resultset.hxx
Dosyayı görüntüle @
5fc51f8d
...
...
@@ -37,6 +37,7 @@
#include <cppuhelper/weak.hxx>
#include <ucbhelper/macros.hxx>
#include <ucbhelper/ucbhelperdllapi.h>
#include <memory>
namespace
ucbhelper
{
...
...
@@ -70,7 +71,7 @@ class UCBHELPER_DLLPUBLIC ResultSet :
public
css
::
sdbc
::
XCloseable
,
public
css
::
beans
::
XPropertySet
{
ResultSet_Impl
*
m_pImpl
;
std
::
unique_ptr
<
ResultSet_Impl
>
m_pImpl
;
public
:
/**
...
...
include/ucbhelper/resultsetmetadata.hxx
Dosyayı görüntüle @
5fc51f8d
...
...
@@ -21,6 +21,7 @@
#define INCLUDED_UCBHELPER_RESULTSETMETADATA_HXX
#include <vector>
#include <memory>
#include <com/sun/star/uno/Reference.hxx>
#include <com/sun/star/uno/Sequence.hxx>
#include <com/sun/star/lang/XTypeProvider.hpp>
...
...
@@ -141,7 +142,7 @@ class UCBHELPER_DLLPUBLIC ResultSetMetaData :
public
css
::
sdbc
::
XResultSetMetaData
{
private
:
ucbhelper_impl
::
ResultSetMetaData_Impl
*
m_pImpl
;
std
::
unique_ptr
<
ucbhelper_impl
::
ResultSetMetaData_Impl
>
m_pImpl
;
protected
:
css
::
uno
::
Reference
<
css
::
uno
::
XComponentContext
>
m_xContext
;
...
...
ucbhelper/source/client/commandenvironment.cxx
Dosyayı görüntüle @
5fc51f8d
...
...
@@ -55,15 +55,14 @@ struct CommandEnvironment_Impl
CommandEnvironment
::
CommandEnvironment
(
const
Reference
<
XInteractionHandler
>&
rxInteractionHandler
,
const
Reference
<
XProgressHandler
>&
rxProgressHandler
)
:
m_pImpl
(
new
CommandEnvironment_Impl
(
rxInteractionHandler
,
rxProgressHandler
)
)
{
m_pImpl
=
new
CommandEnvironment_Impl
(
rxInteractionHandler
,
rxProgressHandler
);
}
// virtual
CommandEnvironment
::~
CommandEnvironment
()
{
delete
m_pImpl
;
}
// XCommandEnvironemnt methods.
...
...
ucbhelper/source/provider/contenthelper.cxx
Dosyayı görüntüle @
5fc51f8d
...
...
@@ -136,7 +136,6 @@ ContentImplHelper::ContentImplHelper(
// virtual
ContentImplHelper
::~
ContentImplHelper
()
{
delete
m_pImpl
;
}
void
SAL_CALL
ContentImplHelper
::
acquire
()
...
...
ucbhelper/source/provider/contentidentifier.cxx
Dosyayı görüntüle @
5fc51f8d
...
...
@@ -82,15 +82,14 @@ ContentIdentifier_Impl::ContentIdentifier_Impl(const OUString& rURL )
ContentIdentifier
::
ContentIdentifier
(
const
OUString
&
rURL
)
:
m_pImpl
(
new
ContentIdentifier_Impl
(
rURL
)
)
{
m_pImpl
=
new
ContentIdentifier_Impl
(
rURL
);
}
// virtual
ContentIdentifier
::~
ContentIdentifier
()
{
delete
m_pImpl
;
}
...
...
ucbhelper/source/provider/interactionrequest.cxx
Dosyayı görüntüle @
5fc51f8d
...
...
@@ -75,7 +75,6 @@ InteractionRequest::InteractionRequest( const uno::Any & rRequest )
// virtual
InteractionRequest
::~
InteractionRequest
()
{
delete
m_pImpl
;
}
...
...
@@ -222,7 +221,6 @@ InteractionContinuation::InteractionContinuation(
// virtual
InteractionContinuation
::~
InteractionContinuation
()
{
delete
m_pImpl
;
}
...
...
ucbhelper/source/provider/providerhelper.cxx
Dosyayı görüntüle @
5fc51f8d
...
...
@@ -67,7 +67,6 @@ ContentProviderImplHelper::ContentProviderImplHelper(
// virtual
ContentProviderImplHelper
::~
ContentProviderImplHelper
()
{
delete
m_pImpl
;
}
// XInterface
...
...
ucbhelper/source/provider/resultset.cxx
Dosyayı görüntüle @
5fc51f8d
...
...
@@ -228,7 +228,6 @@ ResultSet::ResultSet(
// virtual
ResultSet
::~
ResultSet
()
{
delete
m_pImpl
;
}
...
...
ucbhelper/source/provider/resultsetmetadata.cxx
Dosyayı görüntüle @
5fc51f8d
...
...
@@ -111,7 +111,6 @@ ResultSetMetaData::ResultSetMetaData(
// virtual
ResultSetMetaData
::~
ResultSetMetaData
()
{
delete
m_pImpl
;
}
...
...
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