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
d17f9a78
Kaydet (Commit)
d17f9a78
authored
Nis 16, 2010
tarafından
Daniel Rentz
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
npower13_objectmodules: uppercase UNO constants
üst
bbc8bc0b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
10 deletions
+10
-10
baside2.cxx
basctl/source/basicide/baside2.cxx
+4
-4
bastype2.cxx
basctl/source/basicide/bastype2.cxx
+5
-5
bastypes.cxx
basctl/source/basicide/bastypes.cxx
+1
-1
No files found.
basctl/source/basicide/baside2.cxx
Dosyayı görüntüle @
d17f9a78
...
@@ -1410,7 +1410,7 @@ BasicEntryDescriptor ModulWindow::CreateEntryDescriptor()
...
@@ -1410,7 +1410,7 @@ BasicEntryDescriptor ModulWindow::CreateEntryDescriptor()
{
{
switch
(
xModule
->
GetModuleType
()
)
switch
(
xModule
->
GetModuleType
()
)
{
{
case
script
:
:
ModuleType
::
D
ocument
:
case
script
:
:
ModuleType
::
D
OCUMENT
:
{
{
aLibSubName
=
String
(
IDEResId
(
RID_STR_DOCUMENT_OBJECTS
)
);
aLibSubName
=
String
(
IDEResId
(
RID_STR_DOCUMENT_OBJECTS
)
);
uno
::
Reference
<
container
::
XNameContainer
>
xLib
=
aDocument
.
getOrCreateLibrary
(
E_SCRIPTS
,
aLibName
);
uno
::
Reference
<
container
::
XNameContainer
>
xLib
=
aDocument
.
getOrCreateLibrary
(
E_SCRIPTS
,
aLibName
);
...
@@ -1425,13 +1425,13 @@ BasicEntryDescriptor ModulWindow::CreateEntryDescriptor()
...
@@ -1425,13 +1425,13 @@ BasicEntryDescriptor ModulWindow::CreateEntryDescriptor()
}
}
break
;
break
;
}
}
case
script
:
:
ModuleType
::
F
orm
:
case
script
:
:
ModuleType
::
F
ORM
:
aLibSubName
=
String
(
IDEResId
(
RID_STR_USERFORMS
)
);
aLibSubName
=
String
(
IDEResId
(
RID_STR_USERFORMS
)
);
break
;
break
;
case
script
:
:
ModuleType
::
N
ormal
:
case
script
:
:
ModuleType
::
N
ORMAL
:
aLibSubName
=
String
(
IDEResId
(
RID_STR_NORMAL_MODULES
)
);
aLibSubName
=
String
(
IDEResId
(
RID_STR_NORMAL_MODULES
)
);
break
;
break
;
case
script
:
:
ModuleType
::
C
lass
:
case
script
:
:
ModuleType
::
C
LASS
:
aLibSubName
=
String
(
IDEResId
(
RID_STR_CLASS_MODULES
)
);
aLibSubName
=
String
(
IDEResId
(
RID_STR_CLASS_MODULES
)
);
break
;
break
;
}
}
...
...
basctl/source/basicide/bastype2.cxx
Dosyayı görüntüle @
d17f9a78
...
@@ -63,7 +63,7 @@ void lcl_getObjectName( const uno::Reference< container::XNameContainer >& rLib,
...
@@ -63,7 +63,7 @@ void lcl_getObjectName( const uno::Reference< container::XNameContainer >& rLib,
sal_Int32
lcl_getModuleType
(
const
uno
::
Reference
<
container
::
XNameContainer
>&
rLib
,
const
String
&
rModName
)
sal_Int32
lcl_getModuleType
(
const
uno
::
Reference
<
container
::
XNameContainer
>&
rLib
,
const
String
&
rModName
)
{
{
sal_Int32
nType
=
com
::
sun
::
star
::
script
::
ModuleType
::
N
ormal
;
sal_Int32
nType
=
com
::
sun
::
star
::
script
::
ModuleType
::
N
ORMAL
;
uno
::
Reference
<
script
::
XVBAModuleInfo
>
xVBAModuleInfo
(
rLib
,
uno
::
UNO_QUERY
);
uno
::
Reference
<
script
::
XVBAModuleInfo
>
xVBAModuleInfo
(
rLib
,
uno
::
UNO_QUERY
);
if
(
xVBAModuleInfo
.
is
()
&&
xVBAModuleInfo
->
hasModuleInfo
(
rModName
)
)
if
(
xVBAModuleInfo
.
is
()
&&
xVBAModuleInfo
->
hasModuleInfo
(
rModName
)
)
{
{
...
@@ -448,16 +448,16 @@ void BasicTreeListBox::ImpCreateLibSubSubEntriesInVBAMode( SvLBoxEntry* pLibSubR
...
@@ -448,16 +448,16 @@ void BasicTreeListBox::ImpCreateLibSubSubEntriesInVBAMode( SvLBoxEntry* pLibSubR
BasicEntryType
eType
=
OBJ_TYPE_UNKNOWN
;
BasicEntryType
eType
=
OBJ_TYPE_UNKNOWN
;
switch
(
lcl_getModuleType
(
xLib
,
aModName
)
)
switch
(
lcl_getModuleType
(
xLib
,
aModName
)
)
{
{
case
script
:
:
ModuleType
::
D
ocument
:
case
script
:
:
ModuleType
::
D
OCUMENT
:
eType
=
OBJ_TYPE_DOCUMENT_OBJECTS
;
eType
=
OBJ_TYPE_DOCUMENT_OBJECTS
;
break
;
break
;
case
script
:
:
ModuleType
::
F
orm
:
case
script
:
:
ModuleType
::
F
ORM
:
eType
=
OBJ_TYPE_USERFORMS
;
eType
=
OBJ_TYPE_USERFORMS
;
break
;
break
;
case
script
:
:
ModuleType
::
N
ormal
:
case
script
:
:
ModuleType
::
N
ORMAL
:
eType
=
OBJ_TYPE_NORMAL_MODULES
;
eType
=
OBJ_TYPE_NORMAL_MODULES
;
break
;
break
;
case
script
:
:
ModuleType
::
C
lass
:
case
script
:
:
ModuleType
::
C
LASS
:
eType
=
OBJ_TYPE_CLASS_MODULES
;
eType
=
OBJ_TYPE_CLASS_MODULES
;
break
;
break
;
}
}
...
...
basctl/source/basicide/bastypes.cxx
Dosyayı görüntüle @
d17f9a78
...
@@ -599,7 +599,7 @@ void __EXPORT BasicIDETabBar::Command( const CommandEvent& rCEvt )
...
@@ -599,7 +599,7 @@ void __EXPORT BasicIDETabBar::Command( const CommandEvent& rCEvt )
if
(
pWin
&&
pWin
->
ISA
(
ModulWindow
)
)
if
(
pWin
&&
pWin
->
ISA
(
ModulWindow
)
)
{
{
SbModule
*
pActiveModule
=
(
SbModule
*
)
pBasic
->
FindModule
(
pWin
->
GetName
()
);
SbModule
*
pActiveModule
=
(
SbModule
*
)
pBasic
->
FindModule
(
pWin
->
GetName
()
);
if
(
pActiveModule
&&
(
pActiveModule
->
GetModuleType
()
==
script
::
ModuleType
::
D
ocument
)
)
if
(
pActiveModule
&&
(
pActiveModule
->
GetModuleType
()
==
script
::
ModuleType
::
D
OCUMENT
)
)
{
{
aPopup
.
EnableItem
(
SID_BASICIDE_DELETECURRENT
,
FALSE
);
aPopup
.
EnableItem
(
SID_BASICIDE_DELETECURRENT
,
FALSE
);
aPopup
.
EnableItem
(
SID_BASICIDE_RENAMECURRENT
,
FALSE
);
aPopup
.
EnableItem
(
SID_BASICIDE_RENAMECURRENT
,
FALSE
);
...
...
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