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
4911135f
Kaydet (Commit)
4911135f
authored
Nis 27, 2015
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
SbModule::Run return value is unused
Change-Id: I7cd697d944dc0efbd35b852fc553ba85bc88c15e
üst
9a9dd94c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
6 deletions
+2
-6
sbxmod.cxx
basic/source/classes/sbxmod.cxx
+1
-5
sbmod.hxx
include/basic/sbmod.hxx
+1
-1
No files found.
basic/source/classes/sbxmod.cxx
Dosyayı görüntüle @
4911135f
...
@@ -1066,12 +1066,11 @@ void SbModule::SetVBACompat( bool bCompat )
...
@@ -1066,12 +1066,11 @@ void SbModule::SetVBACompat( bool bCompat )
}
}
// Run a Basic-subprogram
// Run a Basic-subprogram
sal_uInt16
SbModule
::
Run
(
SbMethod
*
pMeth
)
void
SbModule
::
Run
(
SbMethod
*
pMeth
)
{
{
SAL_INFO
(
"basic"
,
"About to run "
<<
OUStringToOString
(
pMeth
->
GetName
(),
RTL_TEXTENCODING_UTF8
).
getStr
()
<<
", vba compatmode is "
<<
mbVBACompat
);
SAL_INFO
(
"basic"
,
"About to run "
<<
OUStringToOString
(
pMeth
->
GetName
(),
RTL_TEXTENCODING_UTF8
).
getStr
()
<<
", vba compatmode is "
<<
mbVBACompat
);
static
sal_uInt16
nMaxCallLevel
=
0
;
static
sal_uInt16
nMaxCallLevel
=
0
;
sal_uInt16
nRes
=
0
;
bool
bDelInst
=
(
GetSbData
()
->
pInst
==
NULL
);
bool
bDelInst
=
(
GetSbData
()
->
pInst
==
NULL
);
bool
bQuit
=
false
;
bool
bQuit
=
false
;
StarBASICRef
xBasic
;
StarBASICRef
xBasic
;
...
@@ -1195,7 +1194,6 @@ sal_uInt16 SbModule::Run( SbMethod* pMeth )
...
@@ -1195,7 +1194,6 @@ sal_uInt16 SbModule::Run( SbMethod* pMeth )
Application
::
Yield
();
Application
::
Yield
();
}
}
nRes
=
sal_True
;
GetSbData
()
->
pInst
->
pRun
=
pRt
->
pNext
;
GetSbData
()
->
pInst
->
pRun
=
pRt
->
pNext
;
GetSbData
()
->
pInst
->
nCallLvl
--
;
// Call-Level down again
GetSbData
()
->
pInst
->
nCallLvl
--
;
// Call-Level down again
...
@@ -1269,8 +1267,6 @@ sal_uInt16 SbModule::Run( SbMethod* pMeth )
...
@@ -1269,8 +1267,6 @@ sal_uInt16 SbModule::Run( SbMethod* pMeth )
{
{
Application
::
PostUserEvent
(
LINK
(
&
AsyncQuitHandler
::
instance
(),
AsyncQuitHandler
,
OnAsyncQuit
),
NULL
);
Application
::
PostUserEvent
(
LINK
(
&
AsyncQuitHandler
::
instance
(),
AsyncQuitHandler
,
OnAsyncQuit
),
NULL
);
}
}
return
nRes
;
}
}
// Execute of the init method of a module after the loading
// Execute of the init method of a module after the loading
...
...
include/basic/sbmod.hxx
Dosyayı görüntüle @
4911135f
...
@@ -78,7 +78,7 @@ protected:
...
@@ -78,7 +78,7 @@ protected:
SbProcedureProperty
*
GetProcedureProperty
(
const
OUString
&
,
SbxDataType
);
SbProcedureProperty
*
GetProcedureProperty
(
const
OUString
&
,
SbxDataType
);
SbIfaceMapperMethod
*
GetIfaceMapperMethod
(
const
OUString
&
,
SbMethod
*
);
SbIfaceMapperMethod
*
GetIfaceMapperMethod
(
const
OUString
&
,
SbMethod
*
);
void
EndDefinitions
(
bool
=
false
);
void
EndDefinitions
(
bool
=
false
);
sal_uInt16
Run
(
SbMethod
*
);
void
Run
(
SbMethod
*
);
void
RunInit
();
void
RunInit
();
void
ClearPrivateVars
();
void
ClearPrivateVars
();
void
ClearVarsDependingOnDeletedBasic
(
StarBASIC
*
pDeletedBasic
);
void
ClearVarsDependingOnDeletedBasic
(
StarBASIC
*
pDeletedBasic
);
...
...
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