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
ef41ff07
Kaydet (Commit)
ef41ff07
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.36.10); FILE MERGED
2008/06/06 13:13:17 ab 1.36.10.1: #i89523# Removed unused code
üst
4a4d4ea3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
36 deletions
+14
-36
basobj2.cxx
basctl/source/basicide/basobj2.cxx
+14
-36
No files found.
basctl/source/basicide/basobj2.cxx
Dosyayı görüntüle @
ef41ff07
...
...
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: basobj2.cxx,v $
* $Revision: 1.3
6
$
* $Revision: 1.3
7
$
*
* This file is part of OpenOffice.org.
*
...
...
@@ -76,9 +76,11 @@ extern "C" {
}
}
namespace
BasicIDE
{
//----------------------------------------------------------------------------
SfxMacro
*
BasicIDE
::
CreateMacro
()
SfxMacro
*
CreateMacro
()
{
DBG_ERROR
(
"BasicIDE::CreateMacro() - war eigentlich nur fuer Macro-Recording!"
);
IDE_DLL
()
->
GetExtraData
()
->
ChoosingMacro
()
=
TRUE
;
...
...
@@ -103,7 +105,7 @@ SfxMacro* BasicIDE::CreateMacro()
//----------------------------------------------------------------------------
void
BasicIDE
::
Organize
(
INT16
tabId
)
void
Organize
(
INT16
tabId
)
{
BasicIDEDLL
::
Init
();
...
...
@@ -124,7 +126,7 @@ void BasicIDE::Organize( INT16 tabId )
//----------------------------------------------------------------------------
BOOL
BasicIDE
::
IsValidSbxName
(
const
String
&
rName
)
BOOL
IsValidSbxName
(
const
String
&
rName
)
{
for
(
USHORT
nChar
=
0
;
nChar
<
rName
.
Len
();
nChar
++
)
{
...
...
@@ -138,38 +140,14 @@ BOOL BasicIDE::IsValidSbxName( const String& rName )
return
TRUE
;
}
//----------------------------------------------------------------------------
SbMethod
*
BasicIDE
::
FindMacro
(
SbModule
*
pModule
,
const
String
&
rMacroName
)
{
return
(
SbMethod
*
)
pModule
->
GetMethods
()
->
Find
(
rMacroName
,
SbxCLASS_METHOD
);
}
//----------------------------------------------------------------------------
USHORT
BasicIDE
::
GetBasicDialogCount
()
static
BOOL
StringCompareLessThan
(
const
String
&
rStr1
,
const
String
&
rStr2
)
{
return
IDE_DLL
()
->
GetExtraData
()
->
GetBasicDialogCount
(
);
return
(
rStr1
.
CompareIgnoreCaseToAscii
(
rStr2
)
==
COMPARE_LESS
);
}
//----------------------------------------------------------------------------
void
BasicIDE
::
IncBasicDialogCount
()
{
IDE_DLL
()
->
GetExtraData
()
->
IncBasicDialogCount
();
}
//----------------------------------------------------------------------------
void
BasicIDE
::
DecBasicDialogCount
()
{
DBG_ASSERT
(
GetBasicDialogCount
(),
"DecBasicDialogCount() - Count allready 0!"
);
IDE_DLL
()
->
GetExtraData
()
->
DecBasicDialogCount
();
}
//----------------------------------------------------------------------------
Sequence
<
::
rtl
::
OUString
>
BasicIDE
::
GetMergedLibraryNames
(
const
Reference
<
script
::
XLibraryContainer
>&
xModLibContainer
,
const
Reference
<
script
::
XLibraryContainer
>&
xDlgLibContainer
)
Sequence
<
::
rtl
::
OUString
>
GetMergedLibraryNames
(
const
Reference
<
script
::
XLibraryContainer
>&
xModLibContainer
,
const
Reference
<
script
::
XLibraryContainer
>&
xDlgLibContainer
)
{
// create a sorted list of module library names
::
std
::
vector
<
String
>
aModLibList
;
...
...
@@ -212,7 +190,7 @@ Sequence< ::rtl::OUString > BasicIDE::GetMergedLibraryNames( const Reference< sc
//----------------------------------------------------------------------------
bool
BasicIDE
::
RenameModule
(
Window
*
pErrorParent
,
const
ScriptDocument
&
rDocument
,
const
String
&
rLibName
,
const
String
&
rOldName
,
const
String
&
rNewName
)
bool
RenameModule
(
Window
*
pErrorParent
,
const
ScriptDocument
&
rDocument
,
const
String
&
rLibName
,
const
String
&
rOldName
,
const
String
&
rNewName
)
{
if
(
!
rDocument
.
hasModule
(
rLibName
,
rOldName
)
)
{
...
...
@@ -268,7 +246,7 @@ bool BasicIDE::RenameModule( Window* pErrorParent, const ScriptDocument& rDocume
//----------------------------------------------------------------------------
::
rtl
::
OUString
BasicIDE
::
ChooseMacro
(
const
uno
::
Reference
<
frame
::
XModel
>&
rxLimitToDocument
,
BOOL
bChooseOnly
,
const
::
rtl
::
OUString
&
rMacroDesc
)
::
rtl
::
OUString
ChooseMacro
(
const
uno
::
Reference
<
frame
::
XModel
>&
rxLimitToDocument
,
BOOL
bChooseOnly
,
const
::
rtl
::
OUString
&
rMacroDesc
)
{
(
void
)
rMacroDesc
;
...
...
@@ -402,7 +380,7 @@ bool BasicIDE::RenameModule( Window* pErrorParent, const ScriptDocument& rDocume
//----------------------------------------------------------------------------
Sequence
<
::
rtl
::
OUString
>
BasicIDE
::
GetMethodNames
(
const
ScriptDocument
&
rDocument
,
const
String
&
rLibName
,
const
String
&
rModName
)
Sequence
<
::
rtl
::
OUString
>
GetMethodNames
(
const
ScriptDocument
&
rDocument
,
const
String
&
rLibName
,
const
String
&
rModName
)
throw
(
NoSuchElementException
)
{
Sequence
<
::
rtl
::
OUString
>
aSeqMethods
;
...
...
@@ -429,7 +407,7 @@ Sequence< ::rtl::OUString > BasicIDE::GetMethodNames( const ScriptDocument& rDoc
//----------------------------------------------------------------------------
BOOL
BasicIDE
::
HasMethod
(
const
ScriptDocument
&
rDocument
,
const
String
&
rLibName
,
const
String
&
rModName
,
const
String
&
rMethName
)
BOOL
HasMethod
(
const
ScriptDocument
&
rDocument
,
const
String
&
rLibName
,
const
String
&
rModName
,
const
String
&
rMethName
)
{
BOOL
bHasMethod
=
FALSE
;
...
...
@@ -449,5 +427,5 @@ BOOL BasicIDE::HasMethod( const ScriptDocument& rDocument, const String& rLibNam
return
bHasMethod
;
}
}
//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