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
254f372b
Kaydet (Commit)
254f372b
authored
Şub 06, 2012
tarafından
Takeshi Abe
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Use defined utility BASIC_DLL()/BASIC_MOD()
üst
baf5ffc7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
iderdll.cxx
basctl/source/basicide/iderdll.cxx
+1
-1
basrdll.cxx
basic/source/runtime/basrdll.cxx
+5
-5
No files found.
basctl/source/basicide/iderdll.cxx
Dosyayı görüntüle @
254f372b
...
...
@@ -125,7 +125,7 @@ namespace BasicIDEGlobals
}
IDEResId
::
IDEResId
(
sal_uInt16
nId
)
:
ResId
(
nId
,
*
(
*
(
BasicIDEModule
**
)
GetAppData
(
SHL_IDE
))
->
GetResMgr
()
)
ResId
(
nId
,
*
(
BASIC_MOD
(
))
->
GetResMgr
()
)
{
}
...
...
basic/source/runtime/basrdll.cxx
Dosyayı görüntüle @
254f372b
...
...
@@ -38,13 +38,13 @@
#include <sb.hrc>
BasResId
::
BasResId
(
sal_uInt32
nId
)
:
ResId
(
nId
,
*
(
(
*
(
BasicDLL
**
)
GetAppData
(
SHL_BASIC
)
)
->
GetBasResMgr
())
)
ResId
(
nId
,
*
(
BASIC_DLL
(
)
->
GetBasResMgr
())
)
{
}
BasicDLL
::
BasicDLL
()
{
*
(
BasicDLL
**
)
GetAppData
(
SHL_BASIC
)
=
this
;
BASIC_DLL
(
)
=
this
;
::
com
::
sun
::
star
::
lang
::
Locale
aLocale
=
Application
::
GetSettings
().
GetUILocale
();
pBasResMgr
=
ResMgr
::
CreateResMgr
(
CREATEVERSIONRESMGR_NAME
(
sb
),
aLocale
);
bDebugMode
=
sal_False
;
...
...
@@ -58,7 +58,7 @@ BasicDLL::~BasicDLL()
void
BasicDLL
::
EnableBreak
(
sal_Bool
bEnable
)
{
BasicDLL
*
pThis
=
*
(
BasicDLL
**
)
GetAppData
(
SHL_BASIC
);
BasicDLL
*
pThis
=
BASIC_DLL
(
);
DBG_ASSERT
(
pThis
,
"BasicDLL::EnableBreak: Noch keine Instanz!"
);
if
(
pThis
)
pThis
->
bBreakEnabled
=
bEnable
;
...
...
@@ -66,7 +66,7 @@ void BasicDLL::EnableBreak( sal_Bool bEnable )
void
BasicDLL
::
SetDebugMode
(
sal_Bool
bDebugMode
)
{
BasicDLL
*
pThis
=
*
(
BasicDLL
**
)
GetAppData
(
SHL_BASIC
);
BasicDLL
*
pThis
=
BASIC_DLL
(
);
DBG_ASSERT
(
pThis
,
"BasicDLL::EnableBreak: Noch keine Instanz!"
);
if
(
pThis
)
pThis
->
bDebugMode
=
bDebugMode
;
...
...
@@ -79,7 +79,7 @@ void BasicDLL::BasicBreak()
// but the Basic doesn't stop early enough, the box might appear more often...
static
sal_Bool
bJustStopping
=
sal_False
;
BasicDLL
*
pThis
=
*
(
BasicDLL
**
)
GetAppData
(
SHL_BASIC
);
BasicDLL
*
pThis
=
BASIC_DLL
(
);
DBG_ASSERT
(
pThis
,
"BasicDLL::EnableBreak: Noch keine Instanz!"
);
if
(
pThis
)
{
...
...
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