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
5e2fe8f2
Kaydet (Commit)
5e2fe8f2
authored
Haz 02, 2015
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
loplugin:cstylecast: deal with those that are (technically) const_cast
Change-Id: I636c05a34afc857c75a35e4c6fefedbce3e99c06
üst
2e2a46fc
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
7 deletions
+7
-7
toolbar.cxx
extensions/source/bibliography/toolbar.cxx
+2
-2
xplugin.cxx
extensions/source/plugin/base/xplugin.cxx
+2
-2
taborder.cxx
extensions/source/propctrlr/taborder.cxx
+1
-1
sane.cxx
extensions/source/scanner/sane.cxx
+2
-2
No files found.
extensions/source/bibliography/toolbar.cxx
Dosyayı görüntüle @
5e2fe8f2
...
@@ -98,7 +98,7 @@ void BibTBListBoxListener::statusChanged(const ::com::sun::star::frame::FeatureS
...
@@ -98,7 +98,7 @@ void BibTBListBoxListener::statusChanged(const ::com::sun::star::frame::FeatureS
pToolBar
->
ClearSourceList
();
pToolBar
->
ClearSourceList
();
Sequence
<
OUString
>
const
*
pStringSeq
=
static_cast
<
Sequence
<
OUString
>
const
*>
(
aState
.
getValue
());
Sequence
<
OUString
>
const
*
pStringSeq
=
static_cast
<
Sequence
<
OUString
>
const
*>
(
aState
.
getValue
());
const
OUString
*
pStringArray
=
(
const
OUString
*
)
pStringSeq
->
getConstArray
();
const
OUString
*
pStringArray
=
pStringSeq
->
getConstArray
();
sal_uInt32
nCount
=
pStringSeq
->
getLength
();
sal_uInt32
nCount
=
pStringSeq
->
getLength
();
OUString
aEntry
;
OUString
aEntry
;
...
@@ -136,7 +136,7 @@ void BibTBQueryMenuListener::statusChanged(const frame::FeatureStateEvent& rEvt)
...
@@ -136,7 +136,7 @@ void BibTBQueryMenuListener::statusChanged(const frame::FeatureStateEvent& rEvt)
pToolBar
->
ClearFilterMenu
();
pToolBar
->
ClearFilterMenu
();
Sequence
<
OUString
>
const
*
pStringSeq
=
static_cast
<
Sequence
<
OUString
>
const
*>
(
aState
.
getValue
());
Sequence
<
OUString
>
const
*
pStringSeq
=
static_cast
<
Sequence
<
OUString
>
const
*>
(
aState
.
getValue
());
const
OUString
*
pStringArray
=
(
const
OUString
*
)
pStringSeq
->
getConstArray
();
const
OUString
*
pStringArray
=
pStringSeq
->
getConstArray
();
sal_uInt32
nCount
=
pStringSeq
->
getLength
();
sal_uInt32
nCount
=
pStringSeq
->
getLength
();
for
(
sal_uInt32
i
=
0
;
i
<
nCount
;
i
++
)
for
(
sal_uInt32
i
=
0
;
i
<
nCount
;
i
++
)
...
...
extensions/source/plugin/base/xplugin.cxx
Dosyayı görüntüle @
5e2fe8f2
...
@@ -565,8 +565,8 @@ void XPlugin_Impl::loadPlugin()
...
@@ -565,8 +565,8 @@ void XPlugin_Impl::loadPlugin()
&
getNPPInstance
(),
&
getNPPInstance
(),
m_aPluginMode
==
PluginMode
::
FULL
?
NP_FULL
:
NP_EMBED
,
m_aPluginMode
==
PluginMode
::
FULL
?
NP_FULL
:
NP_EMBED
,
::
sal
::
static_int_cast
<
int16_t
,
int
>
(
m_nArgs
),
::
sal
::
static_int_cast
<
int16_t
,
int
>
(
m_nArgs
),
(
char
**
)
(
m_nArgs
?
m_pArgn
:
NULL
),
const_cast
<
char
**>
(
m_nArgs
?
m_pArgn
:
NULL
),
(
char
**
)
(
m_nArgs
?
m_pArgv
:
NULL
),
const_cast
<
char
**>
(
m_nArgs
?
m_pArgv
:
NULL
),
NULL
);
NULL
);
#ifdef MACOSX
#ifdef MACOSX
// m_aNPWindow is set up in the MacPluginComm from the view
// m_aNPWindow is set up in the MacPluginComm from the view
...
...
extensions/source/propctrlr/taborder.cxx
Dosyayı görüntüle @
5e2fe8f2
...
@@ -277,7 +277,7 @@ namespace pcr
...
@@ -277,7 +277,7 @@ namespace pcr
for
(
sal_Int32
j
=
0
;
j
<
aControlModels
.
getLength
();
j
++
)
for
(
sal_Int32
j
=
0
;
j
<
aControlModels
.
getLength
();
j
++
)
{
{
Reference
<
XPropertySet
>
xSet
(
pControlModels
[
j
],
UNO_QUERY
);
Reference
<
XPropertySet
>
xSet
(
pControlModels
[
j
],
UNO_QUERY
);
if
(
(
XPropertySet
*
)
xSet
.
get
()
==
static_cast
<
XPropertySet
*>
(
pEntry
->
GetUserData
()))
if
(
xSet
.
get
()
==
static_cast
<
XPropertySet
*>
(
pEntry
->
GetUserData
()))
{
{
pSortedControlModels
[
i
]
=
pControlModels
[
j
];
pSortedControlModels
[
i
]
=
pControlModels
[
j
];
break
;
break
;
...
...
extensions/source/scanner/sane.cxx
Dosyayı görüntüle @
5e2fe8f2
...
@@ -226,7 +226,7 @@ void Sane::Init()
...
@@ -226,7 +226,7 @@ void Sane::Init()
{
{
SANE_Status
nStatus
=
p_init
(
&
nVersion
,
0
);
SANE_Status
nStatus
=
p_init
(
&
nVersion
,
0
);
FAIL_SHUTDOWN_STATE
(
nStatus
,
"sane_init"
,
);
FAIL_SHUTDOWN_STATE
(
nStatus
,
"sane_init"
,
);
nStatus
=
p_get_devices
(
(
const
SANE_Device
***
)
&
ppDevices
,
nStatus
=
p_get_devices
(
const_cast
<
const
SANE_Device
***>
(
&
ppDevices
)
,
SANE_FALSE
);
SANE_FALSE
);
FAIL_SHUTDOWN_STATE
(
nStatus
,
"sane_get_devices"
,
);
FAIL_SHUTDOWN_STATE
(
nStatus
,
"sane_get_devices"
,
);
for
(
nDevices
=
0
;
ppDevices
[
nDevices
];
nDevices
++
)
;
for
(
nDevices
=
0
;
ppDevices
[
nDevices
];
nDevices
++
)
;
...
@@ -286,7 +286,7 @@ void Sane::ReloadOptions()
...
@@ -286,7 +286,7 @@ void Sane::ReloadOptions()
bool
Sane
::
Open
(
const
char
*
name
)
bool
Sane
::
Open
(
const
char
*
name
)
{
{
SANE_Status
nStatus
=
p_open
(
(
SANE_String_Const
)
name
,
&
maHandle
);
SANE_Status
nStatus
=
p_open
(
reinterpret_cast
<
SANE_String_Const
>
(
name
)
,
&
maHandle
);
FAIL_STATE
(
nStatus
,
"sane_open"
,
false
);
FAIL_STATE
(
nStatus
,
"sane_open"
,
false
);
ReloadOptions
();
ReloadOptions
();
...
...
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