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
0d62716f
Kaydet (Commit)
0d62716f
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 svl/
Change-Id: Ieef897314ac0f056c0a09a5182ca59800fd58f41
üst
f43db673
Hide whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
23 additions
and
27 deletions
+23
-27
SfxBroadcaster.hxx
include/svl/SfxBroadcaster.hxx
+2
-1
gridprinter.hxx
include/svl/gridprinter.hxx
+2
-1
inethist.hxx
include/svl/inethist.hxx
+2
-1
itemprop.hxx
include/svl/itemprop.hxx
+3
-2
lstner.hxx
include/svl/lstner.hxx
+2
-1
numuno.hxx
include/svl/numuno.hxx
+2
-1
sharedstringpool.hxx
include/svl/sharedstringpool.hxx
+2
-1
stylepool.hxx
include/svl/stylepool.hxx
+1
-1
undo.hxx
include/svl/undo.hxx
+2
-2
itemprop.cxx
svl/source/items/itemprop.cxx
+1
-3
stylepool.cxx
svl/source/items/stylepool.cxx
+2
-1
gridprinter.cxx
svl/source/misc/gridprinter.cxx
+0
-1
inethist.cxx
svl/source/misc/inethist.cxx
+0
-1
sharedstringpool.cxx
svl/source/misc/sharedstringpool.cxx
+0
-1
SfxBroadcaster.cxx
svl/source/notify/SfxBroadcaster.cxx
+0
-2
lstner.cxx
svl/source/notify/lstner.cxx
+0
-2
numuno.cxx
svl/source/numbers/numuno.cxx
+2
-3
undo.cxx
svl/source/undo/undo.cxx
+0
-2
No files found.
include/svl/SfxBroadcaster.hxx
Dosyayı görüntüle @
0d62716f
...
...
@@ -20,6 +20,7 @@
#define INCLUDED_SVL_BRDCST_HXX
#include <svl/svldllapi.h>
#include <memory>
class
SfxListener
;
class
SfxHint
;
...
...
@@ -28,7 +29,7 @@ class SfxBroadcasterTest;
class
SVL_DLLPUBLIC
SfxBroadcaster
{
struct
Impl
;
Impl
*
mpImpl
;
std
::
unique_ptr
<
Impl
>
mpImpl
;
private
:
void
AddListener
(
SfxListener
&
rListener
);
...
...
include/svl/gridprinter.hxx
Dosyayı görüntüle @
0d62716f
...
...
@@ -12,6 +12,7 @@
#include <rtl/ustring.hxx>
#include <svl/svldllapi.h>
#include <memory>
namespace
svl
{
...
...
@@ -22,7 +23,7 @@ namespace svl {
class
SVL_DLLPUBLIC
GridPrinter
{
struct
Impl
;
Impl
*
mpImpl
;
std
::
unique_ptr
<
Impl
>
mpImpl
;
public
:
GridPrinter
(
size_t
nRows
,
size_t
nCols
,
bool
bPrint
=
true
);
...
...
include/svl/inethist.hxx
Dosyayı görüntüle @
0d62716f
...
...
@@ -23,6 +23,7 @@
#include <svl/hint.hxx>
#include <svl/svldllapi.h>
#include <tools/urlobj.hxx>
#include <memory>
class
INetURLHistory_Impl
;
class
SVL_DLLPUBLIC
INetURLHistory
:
public
SfxBroadcaster
...
...
@@ -35,7 +36,7 @@ class SVL_DLLPUBLIC INetURLHistory : public SfxBroadcaster
/** Representation.
*/
INetURLHistory_Impl
*
m_pImpl
;
std
::
unique_ptr
<
INetURLHistory_Impl
>
m_pImpl
;
/** Construction/Destruction.
*/
...
...
include/svl/itemprop.hxx
Dosyayı görüntüle @
0d62716f
...
...
@@ -26,6 +26,7 @@
#include <svl/itemset.hxx>
#include <svl/svldllapi.h>
#include <vector>
#include <memory>
/// map a property between beans::XPropertySet and SfxPoolItem
struct
SfxItemPropertyMapEntry
...
...
@@ -87,7 +88,7 @@ typedef std::vector< SfxItemPropertyNamedEntry > PropertyEntryVector_t;
class
SfxItemPropertyMap_Impl
;
class
SVL_DLLPUBLIC
SfxItemPropertyMap
{
SfxItemPropertyMap_Impl
*
m_pImpl
;
std
::
unique_ptr
<
SfxItemPropertyMap_Impl
>
m_pImpl
;
public
:
SfxItemPropertyMap
(
const
SfxItemPropertyMapEntry
*
pEntries
);
SfxItemPropertyMap
(
const
SfxItemPropertyMap
&
rSource
);
...
...
@@ -156,7 +157,7 @@ public:
struct
SfxItemPropertySetInfo_Impl
;
class
SVL_DLLPUBLIC
SfxItemPropertySetInfo
:
public
cppu
::
WeakImplHelper1
<
css
::
beans
::
XPropertySetInfo
>
{
SfxItemPropertySetInfo_Impl
*
m_pImpl
;
std
::
unique_ptr
<
SfxItemPropertySetInfo_Impl
>
m_pImpl
;
public
:
SfxItemPropertySetInfo
(
const
SfxItemPropertyMap
&
rMap
);
...
...
include/svl/lstner.hxx
Dosyayı görüntüle @
0d62716f
...
...
@@ -20,6 +20,7 @@
#define INCLUDED_SVL_LSTNER_HXX
#include <svl/svldllapi.h>
#include <memory>
class
SfxBroadcaster
;
class
SfxHint
;
...
...
@@ -27,7 +28,7 @@ class SfxHint;
class
SVL_DLLPUBLIC
SfxListener
{
struct
Impl
;
Impl
*
mpImpl
;
std
::
unique_ptr
<
Impl
>
mpImpl
;
private
:
const
SfxListener
&
operator
=
(
const
SfxListener
&
)
=
delete
;
...
...
include/svl/numuno.hxx
Dosyayı görüntüle @
0d62716f
...
...
@@ -24,6 +24,7 @@
#include <com/sun/star/lang/XUnoTunnel.hpp>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <cppuhelper/implbase2.hxx>
#include <memory>
class
SvNumberFormatter
;
class
SvNumFmtSuppl_Impl
;
...
...
@@ -51,7 +52,7 @@ class SVL_DLLPUBLIC SvNumberFormatsSupplierObj : public cppu::WeakAggImplHelper2
css
::
lang
::
XUnoTunnel
>
{
private
:
SvNumFmtSuppl_Impl
*
pImpl
;
std
::
unique_ptr
<
SvNumFmtSuppl_Impl
>
pImpl
;
public
:
SvNumberFormatsSupplierObj
();
...
...
include/svl/sharedstringpool.hxx
Dosyayı görüntüle @
0d62716f
...
...
@@ -12,6 +12,7 @@
#include <svl/svldllapi.h>
#include <rtl/ustring.hxx>
#include <memory>
class
CharClass
;
...
...
@@ -27,7 +28,7 @@ class SharedString;
class
SVL_DLLPUBLIC
SharedStringPool
{
struct
Impl
;
Impl
*
mpImpl
;
std
::
unique_ptr
<
Impl
>
mpImpl
;
SharedStringPool
(
const
SharedStringPool
&
)
=
delete
;
SharedStringPool
&
operator
=
(
const
SharedStringPool
&
)
=
delete
;
...
...
include/svl/stylepool.hxx
Dosyayı görüntüle @
0d62716f
...
...
@@ -29,7 +29,7 @@ class IStylePoolIteratorAccess;
class
SVL_DLLPUBLIC
StylePool
{
private
:
StylePoolImpl
*
pImpl
;
std
::
unique_ptr
<
StylePoolImpl
>
pImpl
;
public
:
typedef
std
::
shared_ptr
<
SfxItemSet
>
SfxItemSet_Pointer_t
;
...
...
include/svl/undo.hxx
Dosyayı görüntüle @
0d62716f
...
...
@@ -83,7 +83,7 @@ typedef sal_Int32 UndoStackMark;
class
SVL_DLLPUBLIC
SfxUndoActions
{
struct
Impl
;
Impl
*
mpImpl
;
std
::
unique_ptr
<
Impl
>
mpImpl
;
public
:
SfxUndoActions
();
...
...
@@ -133,7 +133,7 @@ class SVL_DLLPUBLIC SfxListUndoAction : public SfxUndoAction, public SfxUndoArra
*/
{
struct
Impl
;
Impl
*
mpImpl
;
std
::
unique_ptr
<
Impl
>
mpImpl
;
public
:
...
...
svl/source/items/itemprop.cxx
Dosyayı görüntüle @
0d62716f
...
...
@@ -71,13 +71,12 @@ SfxItemPropertyMap::SfxItemPropertyMap( const SfxItemPropertyMapEntry* pEntries
}
SfxItemPropertyMap
::
SfxItemPropertyMap
(
const
SfxItemPropertyMap
&
rSource
)
:
m_pImpl
(
new
SfxItemPropertyMap_Impl
(
rSource
.
m_pImpl
)
)
m_pImpl
(
new
SfxItemPropertyMap_Impl
(
rSource
.
m_pImpl
.
get
()
)
)
{
}
SfxItemPropertyMap
::~
SfxItemPropertyMap
()
{
delete
m_pImpl
;
}
const
SfxItemPropertySimpleEntry
*
SfxItemPropertyMap
::
getByName
(
const
OUString
&
rName
)
const
...
...
@@ -344,7 +343,6 @@ Sequence< Property > SAL_CALL SfxItemPropertySetInfo::getProperties( )
SfxItemPropertySetInfo
::~
SfxItemPropertySetInfo
()
{
delete
m_pImpl
->
m_pOwnMap
;
delete
m_pImpl
;
}
Property
SAL_CALL
SfxItemPropertySetInfo
::
getPropertyByName
(
const
OUString
&
rName
)
...
...
svl/source/items/stylepool.cxx
Dosyayı görüntüle @
0d62716f
...
...
@@ -467,6 +467,7 @@ IStylePoolIteratorAccess* StylePool::createIterator( const bool bSkipUnusedItemS
return
pImpl
->
createIterator
(
bSkipUnusedItemSets
,
bSkipIgnorableItems
);
}
StylePool
::~
StylePool
()
{
delete
pImpl
;
}
StylePool
::~
StylePool
()
{}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
svl/source/misc/gridprinter.cxx
Dosyayı görüntüle @
0d62716f
...
...
@@ -64,7 +64,6 @@ GridPrinter::GridPrinter( size_t nRows, size_t nCols, bool bPrint ) :
GridPrinter
::~
GridPrinter
()
{
delete
mpImpl
;
}
void
GridPrinter
::
set
(
size_t
nRow
,
size_t
nCol
,
const
OUString
&
rStr
)
...
...
svl/source/misc/inethist.cxx
Dosyayı görüntüle @
0d62716f
...
...
@@ -312,7 +312,6 @@ INetURLHistory::INetURLHistory() : m_pImpl (new INetURLHistory_Impl())
INetURLHistory
::~
INetURLHistory
()
{
DELETEZ
(
m_pImpl
);
}
/*
...
...
svl/source/misc/sharedstringpool.cxx
Dosyayı görüntüle @
0d62716f
...
...
@@ -65,7 +65,6 @@ SharedStringPool::SharedStringPool( const CharClass* pCharClass ) :
SharedStringPool
::~
SharedStringPool
()
{
delete
mpImpl
;
}
SharedString
SharedStringPool
::
intern
(
const
OUString
&
rStr
)
...
...
svl/source/notify/SfxBroadcaster.cxx
Dosyayı görüntüle @
0d62716f
...
...
@@ -64,8 +64,6 @@ SfxBroadcaster::~SfxBroadcaster()
if
(
pListener
)
pListener
->
RemoveBroadcaster_Impl
(
*
this
);
}
delete
mpImpl
;
}
...
...
svl/source/notify/lstner.cxx
Dosyayı görüntüle @
0d62716f
...
...
@@ -58,8 +58,6 @@ SfxListener::~SfxListener()
SfxBroadcaster
*
pBC
=
mpImpl
->
maBCs
[
nPos
];
pBC
->
RemoveListener
(
*
this
);
}
delete
mpImpl
;
}
...
...
svl/source/numbers/numuno.cxx
Dosyayı görüntüle @
0d62716f
...
...
@@ -40,18 +40,17 @@ public:
// Default ctor for getReflection
SvNumberFormatsSupplierObj
::
SvNumberFormatsSupplierObj
()
:
pImpl
(
new
SvNumFmtSuppl_Impl
(
nullptr
)
)
{
pImpl
=
new
SvNumFmtSuppl_Impl
(
nullptr
);
}
SvNumberFormatsSupplierObj
::
SvNumberFormatsSupplierObj
(
SvNumberFormatter
*
pForm
)
:
pImpl
(
new
SvNumFmtSuppl_Impl
(
pForm
)
)
{
pImpl
=
new
SvNumFmtSuppl_Impl
(
pForm
);
}
SvNumberFormatsSupplierObj
::~
SvNumberFormatsSupplierObj
()
{
delete
pImpl
;
}
::
comphelper
::
SharedMutex
&
SvNumberFormatsSupplierObj
::
getSharedMutex
()
const
...
...
svl/source/undo/undo.cxx
Dosyayı görüntüle @
0d62716f
...
...
@@ -169,7 +169,6 @@ SfxUndoActions::SfxUndoActions( const SfxUndoActions& r ) :
SfxUndoActions
::~
SfxUndoActions
()
{
delete
mpImpl
;
}
bool
SfxUndoActions
::
empty
()
const
...
...
@@ -1335,7 +1334,6 @@ SfxListUndoAction::SfxListUndoAction(
SfxListUndoAction
::~
SfxListUndoAction
()
{
delete
mpImpl
;
}
void
SfxListUndoAction
::
Undo
()
...
...
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