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
73e2c6ae
Kaydet (Commit)
73e2c6ae
authored
Mar 28, 2015
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Clean up C-style casts from pointers to void
Change-Id: I9564d76c9b6fb808ca92b53f1bca07ec0850c6f8
üst
c7ea19cc
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
10 additions
and
10 deletions
+10
-10
Button.cxx
forms/source/component/Button.cxx
+1
-1
DatabaseForm.cxx
forms/source/component/DatabaseForm.cxx
+1
-1
FormattedField.cxx
forms/source/component/FormattedField.cxx
+1
-1
ListBox.cxx
forms/source/component/ListBox.cxx
+2
-2
RadioButton.cxx
forms/source/component/RadioButton.cxx
+2
-2
xpathlib.cxx
forms/source/xforms/xpathlib/xpathlib.cxx
+3
-3
No files found.
forms/source/component/Button.cxx
Dosyayı görüntüle @
73e2c6ae
...
...
@@ -445,7 +445,7 @@ IMPL_LINK_NOARG(OButtonControl, OnClick)
if
(
!
xSet
.
is
())
return
0L
;
if
(
FormButtonType_PUSH
==
*
(
FormButtonType
*
)
xSet
->
getPropertyValue
(
PROPERTY_BUTTONTYPE
).
getValue
(
))
if
(
FormButtonType_PUSH
==
*
static_cast
<
FormButtonType
const
*>
(
xSet
->
getPropertyValue
(
PROPERTY_BUTTONTYPE
).
getValue
()
))
{
// notify the action listeners for a push button
::
cppu
::
OInterfaceIteratorHelper
aIter
(
m_aActionListeners
);
...
...
forms/source/component/DatabaseForm.cxx
Dosyayı görüntüle @
73e2c6ae
...
...
@@ -573,7 +573,7 @@ Sequence<sal_Int8> ODatabaseForm::GetDataMultiPartEncoded(const Reference<XContr
sal_Int32
nLen
=
aMemStream
.
Seek
(
STREAM_SEEK_TO_END
);
rContentType
=
aParent
.
GetContentType
();
return
Sequence
<
sal_Int8
>
(
(
sal_Int8
*
)
pData
,
nLen
);
return
Sequence
<
sal_Int8
>
(
static_cast
<
sal_Int8
*>
(
pData
)
,
nLen
);
}
...
...
forms/source/component/FormattedField.cxx
Dosyayı görüntüle @
73e2c6ae
...
...
@@ -692,7 +692,7 @@ void OFormattedModel::write(const Reference<XObjectOutputStream>& _rxOutStream)
DBG_ASSERT
(
isA
(
aLocale
,
static_cast
<
Locale
*>
(
NULL
)),
"OFormattedModel::write : invalid language property !"
);
if
(
isA
(
aLocale
,
static_cast
<
Locale
*>
(
NULL
)))
{
Locale
*
pLocale
=
(
Locale
*
)
aLocale
.
getValue
(
);
Locale
const
*
pLocale
=
static_cast
<
Locale
const
*>
(
aLocale
.
getValue
()
);
eFormatLanguage
=
LanguageTag
::
convertToLanguageType
(
*
pLocale
,
false
);
}
}
...
...
forms/source/component/ListBox.cxx
Dosyayı görüntüle @
73e2c6ae
...
...
@@ -1883,8 +1883,8 @@ namespace frm
bool
bModified
(
false
);
Any
aValue
=
xSet
->
getPropertyValue
(
PROPERTY_SELECT_SEQ
);
Sequence
<
sal_Int16
>
&
rSelection
=
*
(
Sequence
<
sal_Int16
>
*
)
aValue
.
getValue
(
);
Sequence
<
sal_Int16
>
&
rOldSelection
=
*
(
Sequence
<
sal_Int16
>
*
)
m_aCurrentSelection
.
getValue
(
);
Sequence
<
sal_Int16
>
const
&
rSelection
=
*
static_cast
<
Sequence
<
sal_Int16
>
const
*>
(
aValue
.
getValue
()
);
Sequence
<
sal_Int16
>
const
&
rOldSelection
=
*
static_cast
<
Sequence
<
sal_Int16
>
const
*>
(
m_aCurrentSelection
.
getValue
()
);
sal_Int32
nLen
=
rSelection
.
getLength
();
if
(
nLen
!=
rOldSelection
.
getLength
())
bModified
=
true
;
...
...
forms/source/component/RadioButton.cxx
Dosyayı görüntüle @
73e2c6ae
...
...
@@ -155,7 +155,7 @@ void ORadioButtonModel::SetSiblingPropsTo(const OUString& rPropName, const Any&
sal_Int32
nNumSiblings
=
xIndexAccess
->
getCount
();
for
(
sal_Int32
i
=
0
;
i
<
nNumSiblings
;
++
i
)
{
Reference
<
XPropertySet
>
xSiblingProperties
(
*
(
InterfaceRef
*
)
xIndexAccess
->
getByIndex
(
i
).
getValue
(
),
UNO_QUERY
);
Reference
<
XPropertySet
>
xSiblingProperties
(
*
static_cast
<
InterfaceRef
const
*>
(
xIndexAccess
->
getByIndex
(
i
).
getValue
()
),
UNO_QUERY
);
if
(
!
xSiblingProperties
.
is
())
continue
;
if
(
xMyProps
==
xSiblingProperties
)
...
...
@@ -230,7 +230,7 @@ void ORadioButtonModel::setControlSource()
query_interface
(
static_cast
<
XWeak
*>
(
this
),
xMyProps
);
for
(
sal_Int32
i
=
0
;
i
<
xIndexAccess
->
getCount
();
++
i
)
{
Reference
<
XPropertySet
>
xSiblingProperties
(
*
(
InterfaceRef
*
)
xIndexAccess
->
getByIndex
(
i
).
getValue
(
),
UNO_QUERY
);
Reference
<
XPropertySet
>
xSiblingProperties
(
*
static_cast
<
InterfaceRef
const
*>
(
xIndexAccess
->
getByIndex
(
i
).
getValue
()
),
UNO_QUERY
);
if
(
!
xSiblingProperties
.
is
())
continue
;
...
...
forms/source/xforms/xpathlib/xpathlib.cxx
Dosyayı görüntüle @
73e2c6ae
...
...
@@ -379,7 +379,7 @@ static bool parseDuration(const xmlChar* aString, bool& bNegative, sal_Int32& nY
{
bool
bTime
=
false
;
// in part after T
sal_Int32
nLength
=
strlen
(
reinterpret_cast
<
char
const
*>
(
aString
))
+
1
;
char
*
pString
=
(
char
*
)
rtl_allocateMemory
(
nLength
);
char
*
pString
=
static_cast
<
char
*>
(
rtl_allocateMemory
(
nLength
)
);
char
*
pString0
=
pString
;
strncpy
(
pString
,
reinterpret_cast
<
char
const
*>
(
aString
),
nLength
);
...
...
@@ -506,7 +506,7 @@ void xforms_instanceFuction(xmlXPathParserContextPtr ctxt, int nargs)
if
(
xmlXPathCheckError
(
ctxt
))
XP_ERROR
(
XPATH_INVALID_TYPE
);
OUString
aString
(
reinterpret_cast
<
char
*>
(
pString
),
strlen
(
reinterpret_cast
<
char
*>
(
pString
)),
RTL_TEXTENCODING_UTF8
);
Reference
<
XModel
>
aModel
=
((
CLibxml2XFormsExtension
*
)
ctxt
->
context
->
funcLookupData
)
->
getModel
();
Reference
<
XModel
>
aModel
=
static_cast
<
CLibxml2XFormsExtension
*>
(
ctxt
->
context
->
funcLookupData
)
->
getModel
();
if
(
aModel
.
is
())
{
Reference
<
XDocument
>
aInstance
=
aModel
->
getInstanceDocument
(
aString
);
...
...
@@ -536,7 +536,7 @@ void xforms_currentFunction(xmlXPathParserContextPtr ctxt, int nargs)
{
if
(
nargs
!=
0
)
XP_ERROR
(
XPATH_INVALID_ARITY
);
Reference
<
XNode
>
aNode
=
((
CLibxml2XFormsExtension
*
)
ctxt
->
context
->
funcLookupData
)
->
getContextNode
();
Reference
<
XNode
>
aNode
=
static_cast
<
CLibxml2XFormsExtension
*>
(
ctxt
->
context
->
funcLookupData
)
->
getContextNode
();
if
(
aNode
.
is
())
{
...
...
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