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
a73939c1
Kaydet (Commit)
a73939c1
authored
Tem 07, 2008
tarafından
Rüdiger Timm
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
INTEGRATION: CWS ab53 (1.43.10); FILE MERGED
2008/06/06 13:13:17 ab 1.43.10.1: #i89523# Removed unused code
üst
ef41ff07
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
13 deletions
+17
-13
basobj3.cxx
basctl/source/basicide/basobj3.cxx
+17
-13
No files found.
basctl/source/basicide/basobj3.cxx
Dosyayı görüntüle @
a73939c1
...
...
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: basobj3.cxx,v $
* $Revision: 1.4
3
$
* $Revision: 1.4
4
$
*
* This file is part of OpenOffice.org.
*
...
...
@@ -79,9 +79,11 @@ extern "C" {
}
}
namespace
BasicIDE
{
//----------------------------------------------------------------------------
SbMethod
*
BasicIDE
::
CreateMacro
(
SbModule
*
pModule
,
const
String
&
rMacroName
)
SbMethod
*
CreateMacro
(
SbModule
*
pModule
,
const
String
&
rMacroName
)
{
BasicIDEShell
*
pIDEShell
=
IDE_DLL
()
->
GetShell
();
SfxViewFrame
*
pViewFrame
=
pIDEShell
?
pIDEShell
->
GetViewFrame
()
:
NULL
;
...
...
@@ -176,7 +178,7 @@ SbMethod* BasicIDE::CreateMacro( SbModule* pModule, const String& rMacroName )
//----------------------------------------------------------------------------
bool
BasicIDE
::
RenameDialog
(
Window
*
pErrorParent
,
const
ScriptDocument
&
rDocument
,
const
String
&
rLibName
,
const
String
&
rOldName
,
const
String
&
rNewName
)
bool
RenameDialog
(
Window
*
pErrorParent
,
const
ScriptDocument
&
rDocument
,
const
String
&
rLibName
,
const
String
&
rOldName
,
const
String
&
rNewName
)
throw
(
ElementExistException
,
NoSuchElementException
)
{
if
(
!
rDocument
.
hasDialog
(
rLibName
,
rOldName
)
)
...
...
@@ -236,7 +238,7 @@ bool BasicIDE::RenameDialog( Window* pErrorParent, const ScriptDocument& rDocume
//----------------------------------------------------------------------------
bool
BasicIDE
::
RemoveDialog
(
const
ScriptDocument
&
rDocument
,
const
String
&
rLibName
,
const
String
&
rDlgName
)
bool
RemoveDialog
(
const
ScriptDocument
&
rDocument
,
const
String
&
rLibName
,
const
String
&
rDlgName
)
{
BasicIDEShell
*
pIDEShell
=
IDE_DLL
()
->
GetShell
();
if
(
pIDEShell
)
...
...
@@ -254,7 +256,7 @@ bool BasicIDE::RemoveDialog( const ScriptDocument& rDocument, const String& rLib
//----------------------------------------------------------------------------
StarBASIC
*
BasicIDE
::
FindBasic
(
const
SbxVariable
*
pVar
)
StarBASIC
*
FindBasic
(
const
SbxVariable
*
pVar
)
{
const
SbxVariable
*
pSbx
=
pVar
;
while
(
pSbx
&&
!
pSbx
->
ISA
(
StarBASIC
)
)
...
...
@@ -266,7 +268,7 @@ StarBASIC* BasicIDE::FindBasic( const SbxVariable* pVar )
//----------------------------------------------------------------------------
BasicManager
*
BasicIDE
::
FindBasicManager
(
StarBASIC
*
pLib
)
BasicManager
*
FindBasicManager
(
StarBASIC
*
pLib
)
{
ScriptDocuments
aDocuments
(
ScriptDocument
::
getAllScriptDocuments
(
ScriptDocument
::
AllWithApplication
)
);
for
(
ScriptDocuments
::
const_iterator
doc
=
aDocuments
.
begin
();
...
...
@@ -295,7 +297,7 @@ BasicManager* BasicIDE::FindBasicManager( StarBASIC* pLib )
//----------------------------------------------------------------------------
void
BasicIDE
::
MarkDocumentModified
(
const
ScriptDocument
&
rDocument
)
void
MarkDocumentModified
(
const
ScriptDocument
&
rDocument
)
{
// Muss ja nicht aus einem Document kommen...
if
(
rDocument
.
isApplication
()
)
...
...
@@ -326,7 +328,7 @@ void BasicIDE::MarkDocumentModified( const ScriptDocument& rDocument )
//----------------------------------------------------------------------------
void
BasicIDE
::
RunMethod
(
SbMethod
*
pMethod
)
void
RunMethod
(
SbMethod
*
pMethod
)
{
SbxValues
aRes
;
aRes
.
eType
=
SbxVOID
;
...
...
@@ -335,7 +337,7 @@ void BasicIDE::RunMethod( SbMethod* pMethod )
//----------------------------------------------------------------------------
void
BasicIDE
::
StopBasic
()
void
StopBasic
()
{
StarBASIC
::
Stop
();
BasicIDEShell
*
pShell
=
IDE_DLL
()
->
GetShell
();
...
...
@@ -356,7 +358,7 @@ void BasicIDE::StopBasic()
//----------------------------------------------------------------------------
void
Basic
IDE
::
Basic
Stopped
(
BOOL
*
pbAppWindowDisabled
,
void
BasicStopped
(
BOOL
*
pbAppWindowDisabled
,
BOOL
*
pbDispatcherLocked
,
USHORT
*
pnWaitCount
,
SfxUInt16Item
**
ppSWActionCount
,
SfxUInt16Item
**
ppSWLockViewCount
)
{
...
...
@@ -409,7 +411,7 @@ void BasicIDE::BasicStopped( BOOL* pbAppWindowDisabled,
//----------------------------------------------------------------------------
void
BasicIDE
::
InvalidateDebuggerSlots
()
void
InvalidateDebuggerSlots
()
{
SfxBindings
*
pBindings
=
BasicIDE
::
GetBindingsPtr
();
if
(
pBindings
)
...
...
@@ -435,7 +437,7 @@ void BasicIDE::InvalidateDebuggerSlots()
//----------------------------------------------------------------------------
long
BasicIDE
::
HandleBasicError
(
StarBASIC
*
pBasic
)
long
HandleBasicError
(
StarBASIC
*
pBasic
)
{
BasicIDEDLL
::
Init
();
BasicIDE
::
BasicStopped
();
...
...
@@ -494,7 +496,7 @@ long BasicIDE::HandleBasicError( StarBASIC* pBasic )
//----------------------------------------------------------------------------
SfxBindings
*
BasicIDE
::
GetBindingsPtr
()
SfxBindings
*
GetBindingsPtr
()
{
SfxBindings
*
pBindings
=
NULL
;
...
...
@@ -524,4 +526,6 @@ SfxBindings* BasicIDE::GetBindingsPtr()
return
pBindings
;
}
}
//namespace BasicIDE
//----------------------------------------------------------------------------
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