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
2d1eaee6
Kaydet (Commit)
2d1eaee6
authored
Nis 04, 2014
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
SbxObject::Call sal_Bool->bool
Change-Id: I2e52ddf704679a118fbbc4efebb7cf9fb36f0c34
üst
88ab8181
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
7 deletions
+7
-7
sb.cxx
basic/source/classes/sb.cxx
+2
-2
sbxobj.cxx
basic/source/sbx/sbxobj.cxx
+3
-3
sbstar.hxx
include/basic/sbstar.hxx
+1
-1
sbxobj.hxx
include/basic/sbxobj.hxx
+1
-1
No files found.
basic/source/classes/sb.cxx
Dosyayı görüntüle @
2d1eaee6
...
@@ -1379,9 +1379,9 @@ SbxVariable* StarBASIC::Find( const OUString& rName, SbxClassType t )
...
@@ -1379,9 +1379,9 @@ SbxVariable* StarBASIC::Find( const OUString& rName, SbxClassType t )
return
pRes
;
return
pRes
;
}
}
sal_B
ool
StarBASIC
::
Call
(
const
OUString
&
rName
,
SbxArray
*
pParam
)
b
ool
StarBASIC
::
Call
(
const
OUString
&
rName
,
SbxArray
*
pParam
)
{
{
sal_B
ool
bRes
=
SbxObject
::
Call
(
rName
,
pParam
);
b
ool
bRes
=
SbxObject
::
Call
(
rName
,
pParam
);
if
(
!
bRes
)
if
(
!
bRes
)
{
{
SbxError
eErr
=
SbxBase
::
GetError
();
SbxError
eErr
=
SbxBase
::
GetError
();
...
...
basic/source/sbx/sbxobj.cxx
Dosyayı görüntüle @
2d1eaee6
...
@@ -297,7 +297,7 @@ SbxVariable* SbxObject::Find( const OUString& rName, SbxClassType t )
...
@@ -297,7 +297,7 @@ SbxVariable* SbxObject::Find( const OUString& rName, SbxClassType t )
// The whole thing recursive, because Call() might be overloaded
// The whole thing recursive, because Call() might be overloaded
// Qualified names are allowed
// Qualified names are allowed
sal_B
ool
SbxObject
::
Call
(
const
OUString
&
rName
,
SbxArray
*
pParam
)
b
ool
SbxObject
::
Call
(
const
OUString
&
rName
,
SbxArray
*
pParam
)
{
{
SbxVariable
*
pMeth
=
FindQualified
(
rName
,
SbxCLASS_DONTCARE
);
SbxVariable
*
pMeth
=
FindQualified
(
rName
,
SbxCLASS_DONTCARE
);
if
(
pMeth
&&
pMeth
->
ISA
(
SbxMethod
)
)
if
(
pMeth
&&
pMeth
->
ISA
(
SbxMethod
)
)
...
@@ -309,10 +309,10 @@ sal_Bool SbxObject::Call( const OUString& rName, SbxArray* pParam )
...
@@ -309,10 +309,10 @@ sal_Bool SbxObject::Call( const OUString& rName, SbxArray* pParam )
}
}
pMeth
->
Broadcast
(
SBX_HINT_DATAWANTED
);
pMeth
->
Broadcast
(
SBX_HINT_DATAWANTED
);
pMeth
->
SetParameters
(
NULL
);
pMeth
->
SetParameters
(
NULL
);
return
sal_T
rue
;
return
t
rue
;
}
}
SetError
(
SbxERR_NO_METHOD
);
SetError
(
SbxERR_NO_METHOD
);
return
sal_F
alse
;
return
f
alse
;
}
}
SbxProperty
*
SbxObject
::
GetDfltProperty
()
SbxProperty
*
SbxObject
::
GetDfltProperty
()
...
...
include/basic/sbstar.hxx
Dosyayı görüntüle @
2d1eaee6
...
@@ -122,7 +122,7 @@ public:
...
@@ -122,7 +122,7 @@ public:
static
sal_Int32
GetErl
();
static
sal_Int32
GetErl
();
virtual
SbxVariable
*
Find
(
const
OUString
&
,
SbxClassType
)
SAL_OVERRIDE
;
virtual
SbxVariable
*
Find
(
const
OUString
&
,
SbxClassType
)
SAL_OVERRIDE
;
virtual
sal_B
ool
Call
(
const
OUString
&
,
SbxArray
*
=
NULL
)
SAL_OVERRIDE
;
virtual
b
ool
Call
(
const
OUString
&
,
SbxArray
*
=
NULL
)
SAL_OVERRIDE
;
SbxArray
*
GetModules
()
{
return
pModules
;
}
SbxArray
*
GetModules
()
{
return
pModules
;
}
SbxObject
*
GetRtl
()
{
return
pRtl
;
}
SbxObject
*
GetRtl
()
{
return
pRtl
;
}
...
...
include/basic/sbxobj.hxx
Dosyayı görüntüle @
2d1eaee6
...
@@ -63,7 +63,7 @@ public:
...
@@ -63,7 +63,7 @@ public:
virtual
SbxVariable
*
Find
(
const
OUString
&
,
SbxClassType
);
virtual
SbxVariable
*
Find
(
const
OUString
&
,
SbxClassType
);
SbxVariable
*
FindQualified
(
const
OUString
&
,
SbxClassType
);
SbxVariable
*
FindQualified
(
const
OUString
&
,
SbxClassType
);
// Quick-Call-Interface for Methods
// Quick-Call-Interface for Methods
virtual
sal_B
ool
Call
(
const
OUString
&
,
SbxArray
*
=
NULL
);
virtual
b
ool
Call
(
const
OUString
&
,
SbxArray
*
=
NULL
);
// Execution of DDE-Commands
// Execution of DDE-Commands
SbxVariable
*
Execute
(
const
OUString
&
);
SbxVariable
*
Execute
(
const
OUString
&
);
// Manage elements
// Manage elements
...
...
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