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
f7a2795c
Kaydet (Commit)
f7a2795c
authored
Tem 18, 2015
tarafından
Matteo Casalin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sal_uIntPtr to sal_uInt32, for consistency
Change-Id: Ib78dce61e8fb8c8e3bf8c7a2b02966100a4db0e8
üst
c1edceb2
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
20 additions
and
20 deletions
+20
-20
sbxmod.cxx
basic/source/classes/sbxmod.cxx
+1
-1
stdobj.cxx
basic/source/runtime/stdobj.cxx
+2
-2
stdobj1.cxx
basic/source/runtime/stdobj1.cxx
+3
-3
sbxvalue.cxx
basic/source/sbx/sbxvalue.cxx
+4
-4
sbxvar.cxx
basic/source/sbx/sbxvar.cxx
+2
-2
sbmeth.hxx
include/basic/sbmeth.hxx
+1
-1
sbx.hxx
include/basic/sbx.hxx
+2
-2
sbxvar.hxx
include/basic/sbxvar.hxx
+5
-5
No files found.
basic/source/classes/sbxmod.cxx
Dosyayı görüntüle @
f7a2795c
...
...
@@ -2116,7 +2116,7 @@ ErrCode SbMethod::Call( SbxValue* pRet, SbxVariable* pCaller )
// #100883 Own Broadcast for SbMethod
void
SbMethod
::
Broadcast
(
sal_uInt
Ptr
nHintId
)
void
SbMethod
::
Broadcast
(
sal_uInt
32
nHintId
)
{
if
(
pCst
&&
!
IsSet
(
SBX_NO_BROADCAST
)
)
{
...
...
basic/source/runtime/stdobj.cxx
Dosyayı görüntüle @
f7a2795c
...
...
@@ -825,11 +825,11 @@ void SbiStdObject::Notify( SfxBroadcaster& rBC, const SfxHint& rHint )
SbxVariable
*
pVar
=
pHint
->
GetVar
();
SbxArray
*
pPar_
=
pVar
->
GetParameters
();
sal_uLong
t
=
pHint
->
GetId
();
sal_uInt16
nCallId
=
(
sal_uInt16
)
pVar
->
GetUserData
(
);
const
sal_uInt16
nCallId
=
static_cast
<
sal_uInt16
>
(
pVar
->
GetUserData
()
);
if
(
nCallId
)
{
if
(
t
==
SBX_HINT_INFOWANTED
)
pVar
->
SetInfo
(
GetInfo
(
(
short
)
pVar
->
GetUserData
(
)
)
);
pVar
->
SetInfo
(
GetInfo
(
static_cast
<
short
>
(
pVar
->
GetUserData
()
)
)
);
else
{
bool
bWrite
=
false
;
...
...
basic/source/runtime/stdobj1.cxx
Dosyayı görüntüle @
f7a2795c
...
...
@@ -155,7 +155,7 @@ void SbStdPicture::Notify( SfxBroadcaster& rBC, const SfxHint& rHint )
SbxVariable
*
pVar
=
pHint
->
GetVar
();
SbxArray
*
pPar_
=
pVar
->
GetParameters
();
sal_uInt16
nWhich
=
(
sal_uInt16
)
pVar
->
GetUserData
();
const
sal_uInt32
nWhich
=
pVar
->
GetUserData
();
bool
bWrite
=
pHint
->
GetId
()
==
SBX_HINT_DATACHANGED
;
// Propteries
...
...
@@ -280,7 +280,7 @@ void SbStdFont::Notify( SfxBroadcaster& rBC, const SfxHint& rHint )
SbxVariable
*
pVar
=
pHint
->
GetVar
();
SbxArray
*
pPar_
=
pVar
->
GetParameters
();
sal_uInt16
nWhich
=
(
sal_uInt16
)
pVar
->
GetUserData
();
const
sal_uInt32
nWhich
=
pVar
->
GetUserData
();
bool
bWrite
=
pHint
->
GetId
()
==
SBX_HINT_DATACHANGED
;
// Propteries
...
...
@@ -448,7 +448,7 @@ void SbStdClipboard::Notify( SfxBroadcaster& rBC, const SfxHint& rHint )
SbxVariable
*
pVar
=
pHint
->
GetVar
();
SbxArray
*
pPar_
=
pVar
->
GetParameters
();
sal_uInt16
nWhich
=
(
sal_uInt16
)
pVar
->
GetUserData
();
const
sal_uInt32
nWhich
=
pVar
->
GetUserData
();
bool
bWrite
=
pHint
->
GetId
()
==
SBX_HINT_DATACHANGED
;
// Methods
...
...
basic/source/sbx/sbxvalue.cxx
Dosyayı görüntüle @
f7a2795c
...
...
@@ -195,7 +195,7 @@ void SbxValue::Clear()
SAL_INFO
(
"basic.sbx"
,
"Not at Parent-Prop - otherwise CyclicRef"
);
SbxVariable
*
pThisVar
=
PTR_CAST
(
SbxVariable
,
this
);
bool
bParentProp
=
pThisVar
&&
5345
==
(
(
sal_Int16
)
(
pThisVar
->
GetUserData
()
&
0xFFFF
)
);
static_cast
<
sal_uInt16
>
(
pThisVar
->
GetUserData
()
);
if
(
!
bParentProp
)
aData
.
pObj
->
ReleaseRef
();
}
...
...
@@ -220,7 +220,7 @@ void SbxValue::Clear()
// Dummy
void
SbxValue
::
Broadcast
(
sal_uInt
Ptr
)
void
SbxValue
::
Broadcast
(
sal_uInt
32
)
{}
//////////////////////////// Readout data
...
...
@@ -541,7 +541,7 @@ bool SbxValue::Put( const SbxValues& rVal )
SAL_INFO
(
"basic.sbx"
,
"Not at Parent-Prop - otherwise CyclicRef"
);
SbxVariable
*
pThisVar
=
PTR_CAST
(
SbxVariable
,
this
);
bool
bParentProp
=
pThisVar
&&
5345
==
(
(
sal_Int16
)
(
pThisVar
->
GetUserData
()
&
0xFFFF
)
);
static_cast
<
sal_uInt16
>
(
pThisVar
->
GetUserData
()
);
if
(
!
bParentProp
)
p
->
aData
.
pObj
->
AddFirstRef
();
}
...
...
@@ -804,7 +804,7 @@ bool SbxValue::SetType( SbxDataType t )
SAL_WARN
(
"basic.sbx"
,
"Not at Parent-Prop - otherwise CyclicRef"
);
SbxVariable
*
pThisVar
=
PTR_CAST
(
SbxVariable
,
this
);
sal_uInt16
nSlotId
=
pThisVar
?
(
(
sal_Int16
)
(
pThisVar
->
GetUserData
()
&
0xFFFF
)
)
?
static_cast
<
sal_uInt16
>
(
pThisVar
->
GetUserData
()
)
:
0
;
DBG_ASSERT
(
nSlotId
!=
5345
||
pThisVar
->
GetName
()
==
"Parent"
,
"SID_PARENTOBJECT is not named 'Parent'"
);
...
...
basic/source/sbx/sbxvar.cxx
Dosyayı görüntüle @
f7a2795c
...
...
@@ -144,7 +144,7 @@ SbxArray* SbxVariable::GetParameters() const
// Perhaps some day one could cut the parameter 0.
// then the copying will be dropped ...
void
SbxVariable
::
Broadcast
(
sal_uInt
Ptr
nHintId
)
void
SbxVariable
::
Broadcast
(
sal_uInt
32
nHintId
)
{
if
(
pCst
&&
!
IsSet
(
SBX_NO_BROADCAST
)
)
{
...
...
@@ -668,7 +668,7 @@ SbxAlias::~SbxAlias()
}
}
void
SbxAlias
::
Broadcast
(
sal_uInt
Ptr
nHt
)
void
SbxAlias
::
Broadcast
(
sal_uInt
32
nHt
)
{
if
(
xAlias
.
Is
()
)
{
...
...
include/basic/sbmeth.hxx
Dosyayı görüntüle @
f7a2795c
...
...
@@ -63,7 +63,7 @@ public:
// Interface to execute a method from the applications
ErrCode
Call
(
SbxValue
*
pRet
=
NULL
,
SbxVariable
*
pCaller
=
NULL
);
virtual
void
Broadcast
(
sal_uInt
Ptr
nHintId
)
SAL_OVERRIDE
;
virtual
void
Broadcast
(
sal_uInt
32
nHintId
)
SAL_OVERRIDE
;
};
typedef
tools
::
SvRef
<
SbMethod
>
SbMethodRef
;
...
...
include/basic/sbx.hxx
Dosyayı görüntüle @
f7a2795c
...
...
@@ -95,7 +95,7 @@ class BASIC_DLLPUBLIC SbxHint : public SfxSimpleHint
{
SbxVariable
*
pVar
;
public
:
SbxHint
(
sal_uInt
Ptr
n
,
SbxVariable
*
v
)
:
SfxSimpleHint
(
n
),
pVar
(
v
)
{}
SbxHint
(
sal_uInt
32
n
,
SbxVariable
*
v
)
:
SfxSimpleHint
(
n
),
pVar
(
v
)
{}
SbxVariable
*
GetVar
()
const
{
return
pVar
;
}
};
...
...
@@ -104,7 +104,7 @@ class BASIC_DLLPUBLIC SbxAlias : public SbxVariable, public SfxListener
{
SbxVariableRef
xAlias
;
virtual
~
SbxAlias
();
virtual
void
Broadcast
(
sal_uInt
Ptr
)
SAL_OVERRIDE
;
virtual
void
Broadcast
(
sal_uInt
32
)
SAL_OVERRIDE
;
virtual
void
Notify
(
SfxBroadcaster
&
rBC
,
const
SfxHint
&
rHint
)
SAL_OVERRIDE
;
public
:
SbxAlias
(
const
SbxAlias
&
);
...
...
include/basic/sbxvar.hxx
Dosyayı görüntüle @
f7a2795c
...
...
@@ -97,7 +97,7 @@ protected:
OUString
aPic
;
// Picture-String
OUString
aToolString
;
// tool string copy
virtual
void
Broadcast
(
sal_uInt
Ptr
);
// Broadcast-Call
virtual
void
Broadcast
(
sal_uInt
32
);
// Broadcast-Call
virtual
~
SbxValue
();
virtual
bool
LoadData
(
SvStream
&
,
sal_uInt16
)
SAL_OVERRIDE
;
virtual
bool
StoreData
(
SvStream
&
)
const
SAL_OVERRIDE
;
...
...
@@ -285,7 +285,7 @@ class BASIC_DLLPUBLIC SbxVariable : public SbxValue
protected
:
SbxInfoRef
pInfo
;
// Probably called information
sal_uInt
Ptr
nUserData
;
// User data for Call()
sal_uInt
32
nUserData
;
// User data for Call()
SbxObject
*
pParent
;
// Currently attached object
virtual
~
SbxVariable
();
virtual
bool
LoadData
(
SvStream
&
,
sal_uInt16
)
SAL_OVERRIDE
;
...
...
@@ -306,8 +306,8 @@ public:
virtual
void
SetModified
(
bool
)
SAL_OVERRIDE
;
sal_uInt
Ptr
GetUserData
()
const
{
return
nUserData
;
}
void
SetUserData
(
sal_uInt
Ptr
n
)
{
nUserData
=
n
;
}
sal_uInt
32
GetUserData
()
const
{
return
nUserData
;
}
void
SetUserData
(
sal_uInt
32
n
)
{
nUserData
=
n
;
}
virtual
SbxDataType
GetType
()
const
SAL_OVERRIDE
;
virtual
SbxClassType
GetClass
()
const
SAL_OVERRIDE
;
...
...
@@ -322,7 +322,7 @@ public:
// Due to data reduction and better DLL-hierarchy currently via casting
SfxBroadcaster
&
GetBroadcaster
();
bool
IsBroadcaster
()
const
{
return
pCst
!=
NULL
;
}
virtual
void
Broadcast
(
sal_uInt
Ptr
nHintId
)
SAL_OVERRIDE
;
virtual
void
Broadcast
(
sal_uInt
32
nHintId
)
SAL_OVERRIDE
;
inline
const
SbxObject
*
GetParent
()
const
{
return
pParent
;
}
SbxObject
*
GetParent
()
{
return
pParent
;}
...
...
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