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
85d7a76a
Kaydet (Commit)
85d7a76a
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 ucb/
Change-Id: I9a626a11d665b081a7b05db52955598dbd90721e
üst
dfb3be7e
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
13 additions
and
16 deletions
+13
-16
ucbstore.cxx
ucb/source/core/ucbstore.cxx
+0
-4
ucbstore.hxx
ucb/source/core/ucbstore.hxx
+4
-3
hierarchydata.cxx
ucb/source/ucp/hierarchy/hierarchydata.cxx
+1
-2
hierarchydata.hxx
ucb/source/ucp/hierarchy/hierarchydata.hxx
+2
-1
hierarchydatasupplier.cxx
ucb/source/ucp/hierarchy/hierarchydatasupplier.cxx
+0
-1
hierarchydatasupplier.hxx
ucb/source/ucp/hierarchy/hierarchydatasupplier.hxx
+2
-1
pkgdatasupplier.cxx
ucb/source/ucp/package/pkgdatasupplier.cxx
+0
-1
pkgdatasupplier.hxx
ucb/source/ucp/package/pkgdatasupplier.hxx
+2
-1
tdoc_datasupplier.cxx
ucb/source/ucp/tdoc/tdoc_datasupplier.cxx
+0
-1
tdoc_datasupplier.hxx
ucb/source/ucp/tdoc/tdoc_datasupplier.hxx
+2
-1
No files found.
ucb/source/core/ucbstore.cxx
Dosyayı görüntüle @
85d7a76a
...
...
@@ -165,7 +165,6 @@ UcbStore::UcbStore( const Reference< XComponentContext >& xContext )
// virtual
UcbStore
::~
UcbStore
()
{
delete
m_pImpl
;
}
...
...
@@ -268,7 +267,6 @@ PropertySetRegistry::PropertySetRegistry(
// virtual
PropertySetRegistry
::~
PropertySetRegistry
()
{
delete
m_pImpl
;
}
...
...
@@ -1156,8 +1154,6 @@ PersistentPropertySet::~PersistentPropertySet()
{
// deregister at creator.
m_pImpl
->
m_pCreator
->
remove
(
this
);
delete
m_pImpl
;
}
// XServiceInfo methods.
...
...
ucb/source/core/ucbstore.hxx
Dosyayı görüntüle @
85d7a76a
...
...
@@ -36,6 +36,7 @@
#include <cppuhelper/weak.hxx>
#include <ucbhelper/macros.hxx>
#include <cppuhelper/implbase.hxx>
#include <memory>
#define STORE_SERVICE_NAME "com.sun.star.ucb.Store"
...
...
@@ -52,7 +53,7 @@ class UcbStore : public cppu::WeakImplHelper <
css
::
lang
::
XInitialization
>
{
css
::
uno
::
Reference
<
css
::
uno
::
XComponentContext
>
m_xContext
;
UcbStore_Impl
*
m_pImpl
;
std
::
unique_ptr
<
UcbStore_Impl
>
m_pImpl
;
public
:
explicit
UcbStore
(
const
css
::
uno
::
Reference
<
css
::
uno
::
XComponentContext
>&
xContext
);
...
...
@@ -101,7 +102,7 @@ class PropertySetRegistry : public cppu::WeakImplHelper <
friend
class
PersistentPropertySet
;
css
::
uno
::
Reference
<
css
::
uno
::
XComponentContext
>
m_xContext
;
PropertySetRegistry_Impl
*
m_pImpl
;
std
::
unique_ptr
<
PropertySetRegistry_Impl
>
m_pImpl
;
private
:
css
::
uno
::
Reference
<
css
::
lang
::
XMultiServiceFactory
>
...
...
@@ -181,7 +182,7 @@ class PersistentPropertySet : public cppu::WeakImplHelper <
css
::
beans
::
XPropertyAccess
>
{
css
::
uno
::
Reference
<
css
::
uno
::
XComponentContext
>
m_xContext
;
PersistentPropertySet_Impl
*
m_pImpl
;
std
::
unique_ptr
<
PersistentPropertySet_Impl
>
m_pImpl
;
private
:
void
notifyPropertyChangeEvent
(
...
...
ucb/source/ucp/hierarchy/hierarchydata.cxx
Dosyayı görüntüle @
85d7a76a
...
...
@@ -1069,14 +1069,13 @@ HierarchyEntry::getRootReadAccess()
HierarchyEntry
::
iterator
::
iterator
()
:
m_pImpl
(
new
iterator_Impl
)
{
m_pImpl
=
new
iterator_Impl
;
}
HierarchyEntry
::
iterator
::~
iterator
()
{
delete
m_pImpl
;
}
...
...
ucb/source/ucp/hierarchy/hierarchydata.hxx
Dosyayı görüntüle @
85d7a76a
...
...
@@ -24,6 +24,7 @@
#include <osl/mutex.hxx>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <memory>
namespace
com
{
namespace
sun
{
namespace
star
{
namespace
container
{
...
...
@@ -118,7 +119,7 @@ public:
{
friend
class
HierarchyEntry
;
iterator_Impl
*
m_pImpl
;
std
::
unique_ptr
<
iterator_Impl
>
m_pImpl
;
public
:
iterator
();
...
...
ucb/source/ucp/hierarchy/hierarchydatasupplier.cxx
Dosyayı görüntüle @
85d7a76a
...
...
@@ -126,7 +126,6 @@ HierarchyResultSetDataSupplier::HierarchyResultSetDataSupplier(
// virtual
HierarchyResultSetDataSupplier
::~
HierarchyResultSetDataSupplier
()
{
delete
m_pImpl
;
}
...
...
ucb/source/ucp/hierarchy/hierarchydatasupplier.hxx
Dosyayı görüntüle @
85d7a76a
...
...
@@ -23,6 +23,7 @@
#include <rtl/ref.hxx>
#include <com/sun/star/ucb/OpenMode.hpp>
#include <ucbhelper/resultset.hxx>
#include <memory>
namespace
hierarchy_ucp
{
...
...
@@ -33,7 +34,7 @@ class HierarchyContent;
class
HierarchyResultSetDataSupplier
:
public
::
ucbhelper
::
ResultSetDataSupplier
{
DataSupplier_Impl
*
m_pImpl
;
std
::
unique_ptr
<
DataSupplier_Impl
>
m_pImpl
;
private
:
bool
checkResult
(
const
HierarchyEntryData
&
rResult
);
...
...
ucb/source/ucp/package/pkgdatasupplier.cxx
Dosyayı görüntüle @
85d7a76a
...
...
@@ -129,7 +129,6 @@ DataSupplier::DataSupplier(
// virtual
DataSupplier
::~
DataSupplier
()
{
delete
m_pImpl
;
}
...
...
ucb/source/ucp/package/pkgdatasupplier.hxx
Dosyayı görüntüle @
85d7a76a
...
...
@@ -22,6 +22,7 @@
#include <rtl/ref.hxx>
#include <ucbhelper/resultset.hxx>
#include <memory>
namespace
package_ucp
{
...
...
@@ -30,7 +31,7 @@ class Content;
class
DataSupplier
:
public
::
ucbhelper
::
ResultSetDataSupplier
{
DataSupplier_Impl
*
m_pImpl
;
std
::
unique_ptr
<
DataSupplier_Impl
>
m_pImpl
;
public
:
DataSupplier
(
const
css
::
uno
::
Reference
<
css
::
uno
::
XComponentContext
>&
rxContext
,
...
...
ucb/source/ucp/tdoc/tdoc_datasupplier.cxx
Dosyayı görüntüle @
85d7a76a
...
...
@@ -119,7 +119,6 @@ ResultSetDataSupplier::ResultSetDataSupplier(
// virtual
ResultSetDataSupplier
::~
ResultSetDataSupplier
()
{
delete
m_pImpl
;
}
// virtual
...
...
ucb/source/ucp/tdoc/tdoc_datasupplier.hxx
Dosyayı görüntüle @
85d7a76a
...
...
@@ -23,6 +23,7 @@
#include <rtl/ref.hxx>
#include <com/sun/star/ucb/OpenMode.hpp>
#include <ucbhelper/resultset.hxx>
#include <memory>
namespace
tdoc_ucp
{
...
...
@@ -31,7 +32,7 @@ class Content;
class
ResultSetDataSupplier
:
public
::
ucbhelper
::
ResultSetDataSupplier
{
DataSupplier_Impl
*
m_pImpl
;
std
::
unique_ptr
<
DataSupplier_Impl
>
m_pImpl
;
private
:
bool
queryNamesOfChildren
();
...
...
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