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
082005bf
Kaydet (Commit)
082005bf
authored
Nis 06, 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: Iac20763c7d1db467420f9c2fbb3cd636839d4c80
üst
1f036d51
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
27 additions
and
17 deletions
+27
-17
precompiled_sw.hxx
sw/inc/pch/precompiled_sw.hxx
+0
-1
precompiled_swui.hxx
sw/inc/pch/precompiled_swui.hxx
+0
-1
tblafmt.cxx
sw/source/core/doc/tblafmt.cxx
+4
-3
dbinsdlg.cxx
sw/source/ui/dbui/dbinsdlg.cxx
+4
-2
swdllimpl.hxx
sw/source/uibase/app/swdllimpl.hxx
+4
-2
SwPanelFactory.cxx
sw/source/uibase/sidebar/SwPanelFactory.cxx
+6
-4
unomailmerge.cxx
sw/source/uibase/uno/unomailmerge.cxx
+9
-4
No files found.
sw/inc/pch/precompiled_sw.hxx
Dosyayı görüntüle @
082005bf
...
...
@@ -52,7 +52,6 @@
#include <unordered_map>
#include <utility>
#include <vector>
#include <boost/noncopyable.hpp>
#include <boost/numeric/conversion/cast.hpp>
#include <boost/optional.hpp>
#include <boost/optional/optional.hpp>
...
...
sw/inc/pch/precompiled_swui.hxx
Dosyayı görüntüle @
082005bf
...
...
@@ -61,7 +61,6 @@
#include <utility>
#include <vector>
#include <boost/intrusive_ptr.hpp>
#include <boost/noncopyable.hpp>
#include <boost/optional.hpp>
#include <osl/diagnose.h>
#include <osl/doublecheckedlocking.h>
...
...
sw/source/core/doc/tblafmt.cxx
Dosyayı görüntüle @
082005bf
...
...
@@ -41,8 +41,6 @@
#include <fmtornt.hxx>
#include <editsh.hxx>
#include <boost/noncopyable.hpp>
#include <memory>
#include <vector>
...
...
@@ -130,7 +128,7 @@ namespace
See also: BeginSwBlock and EndSwBlock.
*/
class
WriterSpecificAutoFormatBlock
:
private
::
boost
::
noncopyable
class
WriterSpecificAutoFormatBlock
{
public
:
explicit
WriterSpecificAutoFormatBlock
(
SvStream
&
rStream
)
:
_rStream
(
rStream
)
...
...
@@ -144,6 +142,9 @@ namespace
}
private
:
WriterSpecificAutoFormatBlock
(
WriterSpecificAutoFormatBlock
const
&
)
=
delete
;
WriterSpecificAutoFormatBlock
&
operator
=
(
WriterSpecificAutoFormatBlock
const
&
)
=
delete
;
SvStream
&
_rStream
;
sal_uInt64
_whereToWriteEndOfBlock
;
};
...
...
sw/source/ui/dbui/dbinsdlg.cxx
Dosyayı görüntüle @
082005bf
...
...
@@ -91,7 +91,6 @@
#include <o3tl/make_unique.hxx>
#include <boost/noncopyable.hpp>
#include <memory>
#include <swuiexp.hxx>
...
...
@@ -157,7 +156,7 @@ struct DB_Column
}
};
struct
DB_ColumnConfigData
:
private
boost
::
noncopyable
struct
DB_ColumnConfigData
{
SwInsDBColumns
aDBColumns
;
OUString
sSource
;
...
...
@@ -171,6 +170,9 @@ struct DB_ColumnConfigData: private boost::noncopyable
bIsHeadlineOn
:
1
,
bIsEmptyHeadln
:
1
;
DB_ColumnConfigData
(
DB_ColumnConfigData
const
&
)
=
delete
;
DB_ColumnConfigData
&
operator
=
(
DB_ColumnConfigData
const
&
)
=
delete
;
DB_ColumnConfigData
()
{
bIsTable
=
bIsHeadlineOn
=
true
;
...
...
sw/source/uibase/app/swdllimpl.hxx
Dosyayı görüntüle @
082005bf
...
...
@@ -12,12 +12,11 @@
#include <sal/config.h>
#include <boost/noncopyable.hpp>
#include <memory>
namespace
sw
{
class
Filters
;
}
class
SwDLL
:
private
boost
::
noncopyable
class
SwDLL
{
public
:
static
void
RegisterFactories
();
...
...
@@ -30,6 +29,9 @@ public:
sw
::
Filters
&
getFilters
();
private
:
SwDLL
(
SwDLL
const
&
)
=
delete
;
SwDLL
&
operator
=
(
SwDLL
const
&
)
=
delete
;
std
::
unique_ptr
<
sw
::
Filters
>
filters_
;
};
...
...
sw/source/uibase/sidebar/SwPanelFactory.cxx
Dosyayı görüntüle @
082005bf
...
...
@@ -37,7 +37,6 @@
#include <cppuhelper/basemutex.hxx>
#include <cppuhelper/supportsservice.hxx>
#include <boost/noncopyable.hpp>
using
namespace
css
;
using
namespace
css
::
uno
;
...
...
@@ -49,10 +48,13 @@ typedef ::cppu::WeakComponentImplHelper <
>
PanelFactoryInterfaceBase
;
class
SwPanelFactory
:
private
::
boost
::
noncopyable
,
private
::
cppu
::
BaseMutex
,
public
PanelFactoryInterfaceBase
:
private
::
cppu
::
BaseMutex
,
public
PanelFactoryInterfaceBase
{
private
:
SwPanelFactory
(
SwPanelFactory
const
&
)
=
delete
;
SwPanelFactory
&
operator
=
(
SwPanelFactory
const
&
)
=
delete
;
public
:
SwPanelFactory
();
virtual
~
SwPanelFactory
();
...
...
sw/source/uibase/uno/unomailmerge.cxx
Dosyayı görüntüle @
082005bf
...
...
@@ -70,7 +70,6 @@
#include <unomid.h>
#include <boost/noncopyable.hpp>
#include <memory>
using
namespace
::
com
::
sun
::
star
;
...
...
@@ -184,8 +183,7 @@ static bool LoadFromURL_impl(
namespace
{
class
DelayedFileDeletion
:
public
::
cppu
::
WeakImplHelper
<
util
::
XCloseListener
>
,
private
boost
::
noncopyable
class
DelayedFileDeletion
:
public
::
cppu
::
WeakImplHelper
<
util
::
XCloseListener
>
{
protected
:
::
osl
::
Mutex
m_aMutex
;
...
...
@@ -194,6 +192,9 @@ namespace
OUString
m_sTemporaryFile
;
sal_Int32
m_nPendingDeleteAttempts
;
DelayedFileDeletion
(
DelayedFileDeletion
const
&
)
=
delete
;
DelayedFileDeletion
&
operator
=
(
DelayedFileDeletion
const
&
)
=
delete
;
public
:
DelayedFileDeletion
(
const
Reference
<
XModel
>&
_rxModel
,
const
OUString
&
_rTemporaryFile
);
...
...
@@ -409,7 +410,8 @@ SwXMailMerge::~SwXMailMerge()
}
// Guarantee object consistence in case of an exception
class
MailMergeExecuteFinalizer
:
private
boost
::
noncopyable
{
class
MailMergeExecuteFinalizer
{
public
:
explicit
MailMergeExecuteFinalizer
(
SwXMailMerge
*
mailmerge
)
:
m_pMailMerge
(
mailmerge
)
...
...
@@ -423,6 +425,9 @@ public:
}
private
:
MailMergeExecuteFinalizer
(
MailMergeExecuteFinalizer
const
&
)
=
delete
;
MailMergeExecuteFinalizer
&
operator
=
(
MailMergeExecuteFinalizer
const
&
)
=
delete
;
SwXMailMerge
*
m_pMailMerge
;
};
...
...
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