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
b48e9079
Kaydet (Commit)
b48e9079
authored
Eyl 29, 2014
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
vcl: std::auto_ptr -> std::unique_ptr
Change-Id: I5a08186b465b15311c63784506a0ca0e119286e2
üst
0b23ac2c
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
mnemonicengine.hxx
include/vcl/mnemonicengine.hxx
+1
-1
quickselectionengine.hxx
include/vcl/quickselectionengine.hxx
+1
-1
threadex.hxx
include/vcl/threadex.hxx
+2
-2
textlayout.hxx
vcl/inc/textlayout.hxx
+1
-1
No files found.
include/vcl/mnemonicengine.hxx
Dosyayı görüntüle @
b48e9079
...
@@ -121,7 +121,7 @@ namespace vcl
...
@@ -121,7 +121,7 @@ namespace vcl
struct
MnemonicEngine_Data
;
struct
MnemonicEngine_Data
;
class
VCL_DLLPUBLIC
MnemonicEngine
class
VCL_DLLPUBLIC
MnemonicEngine
{
{
::
std
::
auto
_ptr
<
MnemonicEngine_Data
>
m_pData
;
::
std
::
unique
_ptr
<
MnemonicEngine_Data
>
m_pData
;
public
:
public
:
MnemonicEngine
(
IMnemonicEntryList
&
_rEntryList
);
MnemonicEngine
(
IMnemonicEntryList
&
_rEntryList
);
...
...
include/vcl/quickselectionengine.hxx
Dosyayı görüntüle @
b48e9079
...
@@ -76,7 +76,7 @@ namespace vcl
...
@@ -76,7 +76,7 @@ namespace vcl
void
SetEnabled
(
const
bool
&
b
);
void
SetEnabled
(
const
bool
&
b
);
private
:
private
:
::
std
::
auto
_ptr
<
QuickSelectionEngine_Data
>
m_pData
;
::
std
::
unique
_ptr
<
QuickSelectionEngine_Data
>
m_pData
;
bool
bEnabled
;
bool
bEnabled
;
private
:
private
:
...
...
include/vcl/threadex.hxx
Dosyayı görüntüle @
b48e9079
...
@@ -71,7 +71,7 @@ public:
...
@@ -71,7 +71,7 @@ public:
static
ResultT
exec
(
FuncT
const
&
func
)
static
ResultT
exec
(
FuncT
const
&
func
)
{
{
typedef
GenericSolarThreadExecutor
<
FuncT
,
ResultT
>
ExecutorT
;
typedef
GenericSolarThreadExecutor
<
FuncT
,
ResultT
>
ExecutorT
;
::
std
::
auto
_ptr
<
ExecutorT
>
const
pExecutor
(
new
ExecutorT
(
func
)
);
::
std
::
unique
_ptr
<
ExecutorT
>
const
pExecutor
(
new
ExecutorT
(
func
)
);
pExecutor
->
execute
();
pExecutor
->
execute
();
if
(
pExecutor
->
m_exc
.
hasValue
())
if
(
pExecutor
->
m_exc
.
hasValue
())
::
cppu
::
throwException
(
pExecutor
->
m_exc
);
::
cppu
::
throwException
(
pExecutor
->
m_exc
);
...
@@ -108,7 +108,7 @@ public:
...
@@ -108,7 +108,7 @@ public:
static
void
exec
(
FuncT
const
&
func
)
static
void
exec
(
FuncT
const
&
func
)
{
{
typedef
GenericSolarThreadExecutor
<
FuncT
,
void
>
ExecutorT
;
typedef
GenericSolarThreadExecutor
<
FuncT
,
void
>
ExecutorT
;
::
std
::
auto
_ptr
<
ExecutorT
>
const
pExecutor
(
new
ExecutorT
(
func
)
);
::
std
::
unique
_ptr
<
ExecutorT
>
const
pExecutor
(
new
ExecutorT
(
func
)
);
pExecutor
->
execute
();
pExecutor
->
execute
();
if
(
pExecutor
->
m_exc
.
hasValue
())
if
(
pExecutor
->
m_exc
.
hasValue
())
::
cppu
::
throwException
(
pExecutor
->
m_exc
);
::
cppu
::
throwException
(
pExecutor
->
m_exc
);
...
...
vcl/inc/textlayout.hxx
Dosyayı görüntüle @
b48e9079
...
@@ -102,7 +102,7 @@ namespace vcl
...
@@ -102,7 +102,7 @@ namespace vcl
ControlTextRenderer
&
operator
=
(
const
ControlTextRenderer
&
);
// never implemented
ControlTextRenderer
&
operator
=
(
const
ControlTextRenderer
&
);
// never implemented
private
:
private
:
::
std
::
auto
_ptr
<
ReferenceDeviceTextLayout
>
m_pImpl
;
::
std
::
unique
_ptr
<
ReferenceDeviceTextLayout
>
m_pImpl
;
};
};
}
// namespace vcl
}
// namespace vcl
...
...
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