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
19ae2009
Kaydet (Commit)
19ae2009
authored
Ock 18, 2015
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Some more loplugin:cstylecast: svx
Change-Id: I5eb4e1cae38decb293ea11f7cd4bfda0bad3afcb
üst
950028c6
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
17 additions
and
15 deletions
+17
-15
graphctl.hxx
include/svx/graphctl.hxx
+3
-1
svdsob.hxx
include/svx/svdsob.hxx
+2
-2
xpolyimp.hxx
svx/inc/xpolyimp.hxx
+1
-1
hdft.cxx
svx/source/dialog/hdft.cxx
+3
-3
dbtoolsclient.cxx
svx/source/form/dbtoolsclient.cxx
+1
-1
unoshap2.cxx
svx/source/unodraw/unoshap2.cxx
+1
-1
unoshap4.cxx
svx/source/unodraw/unoshap4.cxx
+1
-1
unoshape.cxx
svx/source/unodraw/unoshape.cxx
+1
-1
_xpoly.cxx
svx/source/xoutdev/_xpoly.cxx
+4
-4
No files found.
include/svx/graphctl.hxx
Dosyayı görüntüle @
19ae2009
...
...
@@ -76,7 +76,7 @@ protected:
virtual
void
SdrObjChanged
(
const
SdrObject
&
rObj
);
virtual
void
MarkListHasChanged
();
SdrObjUserCall
*
GetSdrUserCall
()
{
return
(
SdrObjUserCall
*
)
pUserCall
;
}
inline
SdrObjUserCall
*
GetSdrUserCall
();
public
:
...
...
@@ -134,6 +134,8 @@ public:
virtual
void
Changed
(
const
SdrObject
&
rObj
,
SdrUserCallType
eType
,
const
Rectangle
&
rOldBoundRect
)
SAL_OVERRIDE
;
};
SdrObjUserCall
*
GraphCtrl
::
GetSdrUserCall
()
{
return
pUserCall
;
}
class
GraphCtrlView
:
public
SdrView
{
GraphCtrl
&
rGraphCtrl
;
...
...
include/svx/svdsob.hxx
Dosyayı görüntüle @
19ae2009
...
...
@@ -102,13 +102,13 @@ public:
inline
SvStream
&
WriteSetOfByte
(
SvStream
&
rOut
,
const
SetOfByte
&
rSet
)
{
rOut
.
Write
(
(
char
*
)
rSet
.
aData
,
32
);
rOut
.
Write
(
rSet
.
aData
,
32
);
return
rOut
;
}
inline
SvStream
&
ReadSetOfByte
(
SvStream
&
rIn
,
SetOfByte
&
rSet
)
{
rIn
.
Read
(
(
char
*
)
rSet
.
aData
,
32
);
rIn
.
Read
(
rSet
.
aData
,
32
);
return
rIn
;
}
...
...
svx/inc/xpolyimp.hxx
Dosyayı görüntüle @
19ae2009
...
...
@@ -48,7 +48,7 @@ public:
{
if
(
bDeleteOldPoints
)
{
delete
[]
(
char
*
)
pOldPointAry
;
delete
[]
reinterpret_cast
<
char
*>
(
pOldPointAry
)
;
bDeleteOldPoints
=
false
;
}
}
...
...
svx/source/dialog/hdft.cxx
Dosyayı görüntüle @
19ae2009
...
...
@@ -382,7 +382,7 @@ void SvxHFPage::Reset( const SfxItemSet* rSet )
const
SvxSetItem
*
pSetItem
=
0
;
if
(
SfxItemState
::
SET
==
rSet
->
GetItemState
(
GetWhich
(
nId
),
false
,
(
const
SfxPoolItem
**
)
&
pSetItem
)
)
reinterpret_cast
<
const
SfxPoolItem
**>
(
&
pSetItem
)
)
)
{
const
SfxItemSet
&
rHeaderSet
=
pSetItem
->
GetItemSet
();
const
SfxBoolItem
&
rHeaderOn
=
...
...
@@ -957,7 +957,7 @@ void SvxHFPage::ActivatePage( const SfxItemSet& rSet )
if
(
SfxItemState
::
SET
==
rSet
.
GetItemState
(
GetWhich
(
SID_ATTR_PAGE_HEADERSET
),
false
,
(
const
SfxPoolItem
**
)
&
pSetItem
)
)
reinterpret_cast
<
const
SfxPoolItem
**>
(
&
pSetItem
)
)
)
{
const
SfxItemSet
&
rHeaderSet
=
pSetItem
->
GetItemSet
();
const
SfxBoolItem
&
rHeaderOn
=
...
...
@@ -997,7 +997,7 @@ void SvxHFPage::ActivatePage( const SfxItemSet& rSet )
if
(
SfxItemState
::
SET
==
rSet
.
GetItemState
(
GetWhich
(
SID_ATTR_PAGE_FOOTERSET
),
false
,
(
const
SfxPoolItem
**
)
&
pSetItem
)
)
reinterpret_cast
<
const
SfxPoolItem
**>
(
&
pSetItem
)
)
)
{
const
SfxItemSet
&
rFooterSet
=
pSetItem
->
GetItemSet
();
const
SfxBoolItem
&
rFooterOn
=
...
...
svx/source/form/dbtoolsclient.cxx
Dosyayı görüntüle @
19ae2009
...
...
@@ -123,7 +123,7 @@ namespace svxform
// get the symbol for the method creating the factory
const
OUString
sFactoryCreationFunc
(
"createDataAccessToolsFactory"
);
// reinterpret_cast<createDataAccessToolsFactoryFunction>
s_pFactoryCreationFunc
=
(
createDataAccessToolsFactoryFunction
)
(
s_pFactoryCreationFunc
=
reinterpret_cast
<
createDataAccessToolsFactoryFunction
>
(
osl_getFunctionSymbol
(
s_hDbtoolsModule
,
sFactoryCreationFunc
.
pData
));
if
(
NULL
==
s_pFactoryCreationFunc
)
...
...
svx/source/unodraw/unoshap2.cxx
Dosyayı görüntüle @
19ae2009
...
...
@@ -1429,7 +1429,7 @@ bool SvxGraphicObject::setPropertyValueImpl( const OUString& rName, const SfxIte
SvMemoryStream
aMemStm
;
Graphic
aGraphic
;
aMemStm
.
SetBuffer
(
(
char
*
)
pSeq
->
getCons
tArray
(),
pSeq
->
getLength
(),
false
,
pSeq
->
getLength
()
);
aMemStm
.
SetBuffer
(
pSeq
->
ge
tArray
(),
pSeq
->
getLength
(),
false
,
pSeq
->
getLength
()
);
if
(
GraphicConverter
::
Import
(
aMemStm
,
aGraphic
)
==
ERRCODE_NONE
)
{
...
...
svx/source/unodraw/unoshap4.cxx
Dosyayı görüntüle @
19ae2009
...
...
@@ -238,7 +238,7 @@ bool SvxOle2Shape::getPropertyValueImpl( const OUString& rName, const SfxItemPro
if
(
aLnk
.
GetType
()
==
GFX_LINK_TYPE_NATIVE_WMF
)
{
bIsWMF
=
true
;
uno
::
Sequence
<
sal_Int8
>
aSeq
(
(
sal_Int8
*
)
aLnk
.
GetData
(
),
(
sal_Int32
)
aLnk
.
GetDataSize
());
uno
::
Sequence
<
sal_Int8
>
aSeq
(
reinterpret_cast
<
sal_Int8
const
*>
(
aLnk
.
GetData
()
),
(
sal_Int32
)
aLnk
.
GetDataSize
());
rValue
<<=
aSeq
;
}
}
...
...
svx/source/unodraw/unoshape.cxx
Dosyayı görüntüle @
19ae2009
...
...
@@ -2915,7 +2915,7 @@ bool SvxShape::getPropertyValueImpl( const OUString&, const SfxItemPropertySimpl
if
(
aLnk
.
GetType
()
==
GFX_LINK_TYPE_NATIVE_WMF
)
{
bIsWMF
=
true
;
uno
::
Sequence
<
sal_Int8
>
aSeq
(
(
sal_Int8
*
)
aLnk
.
GetData
(
),
(
sal_Int32
)
aLnk
.
GetDataSize
());
uno
::
Sequence
<
sal_Int8
>
aSeq
(
reinterpret_cast
<
sal_Int8
const
*>
(
aLnk
.
GetData
()
),
(
sal_Int32
)
aLnk
.
GetDataSize
());
rValue
<<=
aSeq
;
}
}
...
...
svx/source/xoutdev/_xpoly.cxx
Dosyayı görüntüle @
19ae2009
...
...
@@ -69,10 +69,10 @@ ImpXPolygon::ImpXPolygon( const ImpXPolygon& rImpXPoly )
ImpXPolygon
::~
ImpXPolygon
()
{
delete
[]
(
char
*
)
pPointAry
;
delete
[]
reinterpret_cast
<
char
*>
(
pPointAry
)
;
delete
[]
pFlagAry
;
if
(
bDeleteOldPoints
)
delete
[]
(
char
*
)
pOldPointAry
;
delete
[]
reinterpret_cast
<
char
*>
(
pOldPointAry
)
;
}
bool
ImpXPolygon
::
operator
==
(
const
ImpXPolygon
&
rImpXPoly
)
const
...
...
@@ -111,7 +111,7 @@ void ImpXPolygon::Resize( sal_uInt16 nNewSize, bool bDeletePoints )
}
// create point array
nSize
=
nNewSize
;
pPointAry
=
(
Point
*
)
new
char
[
nSize
*
sizeof
(
Point
)
]
;
pPointAry
=
reinterpret_cast
<
Point
*>
(
new
char
[
nSize
*
sizeof
(
Point
)
])
;
memset
(
pPointAry
,
0
,
nSize
*
sizeof
(
Point
)
);
// create flag array
...
...
@@ -135,7 +135,7 @@ void ImpXPolygon::Resize( sal_uInt16 nNewSize, bool bDeletePoints )
if
(
nPoints
>
nSize
)
nPoints
=
nSize
;
}
if
(
bDeletePoints
)
delete
[]
(
char
*
)
pOldPointAry
;
if
(
bDeletePoints
)
delete
[]
reinterpret_cast
<
char
*>
(
pOldPointAry
)
;
else
bDeleteOldPoints
=
true
;
delete
[]
pOldFlagAry
;
}
...
...
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