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
bbf3083e
Kaydet (Commit)
bbf3083e
authored
Mar 23, 2016
tarafından
Michael Stahl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sw: replace boost::noncopyable with C++11 delete
Change-Id: I672b187c92ccb71a6c4b9bc5e1169970fb61aa7d
üst
7b08ccce
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
39 additions
and
21 deletions
+39
-21
breakit.hxx
sw/inc/breakit.hxx
+4
-2
calbck.hxx
sw/inc/calbck.hxx
+5
-2
fmtmeta.hxx
sw/inc/fmtmeta.hxx
+3
-3
init.hxx
sw/inc/init.hxx
+6
-2
ndarr.hxx
sw/inc/ndarr.hxx
+3
-3
redline.hxx
sw/inc/redline.hxx
+5
-2
shellio.hxx
sw/inc/shellio.hxx
+3
-2
swtable.hxx
sw/inc/swtable.hxx
+6
-3
txatbase.hxx
sw/inc/txatbase.hxx
+4
-2
No files found.
sw/inc/breakit.hxx
Dosyayı görüntüle @
bbf3083e
...
...
@@ -20,7 +20,6 @@
#ifndef INCLUDED_SW_INC_BREAKIT_HXX
#define INCLUDED_SW_INC_BREAKIT_HXX
#include <boost/noncopyable.hpp>
#include <com/sun/star/uno/Reference.h>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <com/sun/star/i18n/XBreakIterator.hpp>
...
...
@@ -31,7 +30,7 @@
enum
class
SvtScriptType
;
class
SW_DLLPUBLIC
SwBreakIt
:
private
::
boost
::
noncopyable
class
SW_DLLPUBLIC
SwBreakIt
{
css
::
uno
::
Reference
<
css
::
uno
::
XComponentContext
>
m_xContext
;
mutable
css
::
uno
::
Reference
<
css
::
i18n
::
XBreakIterator
>
xBreak
;
...
...
@@ -47,6 +46,9 @@ class SW_DLLPUBLIC SwBreakIt : private ::boost::noncopyable
void
createBreakIterator
()
const
;
SwBreakIt
(
SwBreakIt
const
&
)
=
delete
;
SwBreakIt
&
operator
=
(
SwBreakIt
const
&
)
=
delete
;
// private (see @ _Create, _Delete).
explicit
SwBreakIt
(
const
css
::
uno
::
Reference
<
css
::
uno
::
XComponentContext
>
&
rxContext
);
...
...
sw/inc/calbck.hxx
Dosyayı görüntüle @
bbf3083e
...
...
@@ -21,7 +21,6 @@
#define INCLUDED_SW_INC_CALBCK_HXX
#include "swdllapi.h"
#include <boost/noncopyable.hpp>
#include <ring.hxx>
#include <hintids.hxx>
#include <hints.hxx>
...
...
@@ -72,13 +71,17 @@ namespace sw
const
SfxPoolItem
*
m_pNew
;
};
/// refactoring out the some of the more sane SwClient functionality
class
SW_DLLPUBLIC
WriterListener
:
private
::
boost
::
noncopyable
class
SW_DLLPUBLIC
WriterListener
{
friend
class
::
SwModify
;
friend
class
::
sw
::
ClientIteratorBase
;
private
:
WriterListener
*
m_pLeft
;
WriterListener
*
m_pRight
;
///< double-linked list of other clients
WriterListener
(
WriterListener
const
&
)
=
delete
;
WriterListener
&
operator
=
(
WriterListener
const
&
)
=
delete
;
protected
:
WriterListener
()
:
m_pLeft
(
nullptr
),
m_pRight
(
nullptr
)
...
...
sw/inc/fmtmeta.hxx
Dosyayı görüntüle @
bbf3083e
...
...
@@ -25,8 +25,6 @@
#include <svl/poolitem.hxx>
#include <sfx2/Metadatable.hxx>
#include <boost/noncopyable.hpp>
#include <memory>
#include <vector>
...
...
@@ -194,7 +192,6 @@ public:
/// knows all meta-fields in the document.
class
SW_DLLPUBLIC
MetaFieldManager
:
private
::
boost
::
noncopyable
{
private
:
typedef
::
std
::
vector
<
std
::
weak_ptr
<
MetaField
>
>
MetaFieldList_t
;
...
...
@@ -202,6 +199,9 @@ private:
/// Document properties of a clipboard document, empty for non-clipboard documents.
css
::
uno
::
Reference
<
css
::
document
::
XDocumentProperties
>
m_xDocumentProperties
;
MetaFieldManager
(
MetaFieldManager
const
&
)
=
delete
;
MetaFieldManager
&
operator
=
(
MetaFieldManager
const
&
)
=
delete
;
public
:
MetaFieldManager
();
std
::
shared_ptr
<
MetaField
>
makeMetaField
(
...
...
sw/inc/init.hxx
Dosyayı görüntüle @
bbf3083e
...
...
@@ -21,7 +21,6 @@
#include <sal/config.h>
#include <boost/noncopyable.hpp>
#include <osl/module.h>
#include <osl/module.hxx>
...
...
@@ -33,7 +32,12 @@ void _FinitCore();
namespace
sw
{
// basflt/fltini.cxx
class
Filters
:
private
boost
::
noncopyable
{
class
Filters
{
private
:
Filters
(
Filters
const
&
)
=
delete
;
Filters
&
operator
=
(
Filters
const
&
)
=
delete
;
public
:
Filters
();
...
...
sw/inc/ndarr.hxx
Dosyayı görüntüle @
bbf3083e
...
...
@@ -23,8 +23,6 @@
#include <vector>
#include <memory>
#include <boost/noncopyable.hpp>
#include <com/sun/star/embed/XEmbeddedObject.hpp>
#include <svtools/embedhlp.hxx>
...
...
@@ -87,7 +85,6 @@ public:
class
SW_DLLPUBLIC
SwNodes
:
private
BigPtrArray
,
private
::
boost
::
noncopyable
{
friend
class
SwDoc
;
friend
class
SwNode
;
...
...
@@ -129,6 +126,9 @@ class SW_DLLPUBLIC SwNodes
bool
bNewFrames
=
true
,
bool
bTableInsDummyNode
=
false
)
const
;
void
_DelDummyNodes
(
const
SwNodeRange
&
rRg
);
SwNodes
(
SwNodes
const
&
)
=
delete
;
SwNodes
&
operator
=
(
SwNodes
const
&
)
=
delete
;
protected
:
SwNodes
(
SwDoc
*
pDoc
);
...
...
sw/inc/redline.hxx
Dosyayı görüntüle @
bbf3083e
...
...
@@ -27,7 +27,6 @@
#include <IDocumentRedlineAccess.hxx>
#include <boost/noncopyable.hpp>
#include <svl/smplhint.hxx>
#include <vector>
...
...
@@ -293,9 +292,13 @@ public:
};
/// Base object for 'Redlines' that are not of 'Ranged' type (like table row insert\delete)
class
SW_DLLPUBLIC
SwExtraRedline
:
private
boost
::
noncopyable
class
SW_DLLPUBLIC
SwExtraRedline
{
private
:
SwExtraRedline
(
SwExtraRedline
const
&
)
=
delete
;
SwExtraRedline
&
operator
=
(
SwExtraRedline
const
&
)
=
delete
;
public
:
SwExtraRedline
()
=
default
;
virtual
~
SwExtraRedline
();
};
...
...
sw/inc/shellio.hxx
Dosyayı görüntüle @
bbf3083e
...
...
@@ -20,7 +20,6 @@
#define INCLUDED_SW_INC_SHELLIO_HXX
#include <memory>
#include <boost/noncopyable.hpp>
#include <com/sun/star/uno/Reference.h>
#include <com/sun/star/embed/XStorage.hpp>
...
...
@@ -355,7 +354,6 @@ class IDocumentStylePoolAccess;
class
SW_DLLPUBLIC
Writer
:
public
SvRefBase
,
private
::
boost
::
noncopyable
{
SwAsciiOptions
aAscOpts
;
OUString
sBaseURL
;
...
...
@@ -365,6 +363,9 @@ class SW_DLLPUBLIC Writer
::
std
::
unique_ptr
<
Writer_Impl
>
m_pImpl
;
Writer
(
Writer
const
&
)
=
delete
;
Writer
&
operator
=
(
Writer
const
&
)
=
delete
;
protected
:
SwPaM
*
pOrigPam
;
// Last Pam that has to be processed.
...
...
sw/inc/swtable.hxx
Dosyayı görüntüle @
bbf3083e
...
...
@@ -18,6 +18,7 @@
*/
#ifndef INCLUDED_SW_INC_SWTABLE_HXX
#define INCLUDED_SW_INC_SWTABLE_HXX
#include <tools/mempool.hxx>
#include <tools/ref.hxx>
#include <tblenum.hxx>
...
...
@@ -27,7 +28,6 @@
#include <swtblfmt.hxx>
#include <memory>
#include <boost/noncopyable.hpp>
#include <vector>
#include <algorithm>
#include <o3tl/sorted_vector.hxx>
...
...
@@ -496,12 +496,15 @@ public:
};
class
SwCellFrame
;
class
SW_DLLPUBLIC
SwTableCellInfo
:
public
::
boost
::
noncopyable
class
SW_DLLPUBLIC
SwTableCellInfo
{
struct
Impl
;
::
std
::
unique_ptr
<
Impl
>
m_pImpl
;
const
SwCellFrame
*
getCellFrame
()
const
;
const
SwCellFrame
*
getCellFrame
()
const
;
SwTableCellInfo
(
SwTableCellInfo
const
&
)
=
delete
;
SwTableCellInfo
&
operator
=
(
SwTableCellInfo
const
&
)
=
delete
;
public
:
SwTableCellInfo
(
const
SwTable
*
pTable
);
...
...
sw/inc/txatbase.hxx
Dosyayı görüntüle @
bbf3083e
...
...
@@ -33,12 +33,11 @@
#include <fchrfmt.hxx>
#include <tox.hxx>
#include <boost/noncopyable.hpp>
class
SfxItemPool
;
class
SvXMLAttrContainerItem
;
class
SwTextAttr
:
private
boost
::
noncopyable
class
SwTextAttr
{
private
:
SfxPoolItem
*
const
m_pAttr
;
...
...
@@ -57,6 +56,9 @@ private:
bool
m_bFormatIgnoreEnd
:
1
;
///< text formatting should ignore end
bool
m_bHasContent
:
1
;
// text attribute with content
SwTextAttr
(
SwTextAttr
const
&
)
=
delete
;
SwTextAttr
&
operator
=
(
SwTextAttr
const
&
)
=
delete
;
protected
:
SwTextAttr
(
SfxPoolItem
&
rAttr
,
sal_Int32
nStart
);
virtual
~
SwTextAttr
();
...
...
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