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
7ffca8ed
Kaydet (Commit)
7ffca8ed
authored
Ara 09, 2011
tarafından
August Sodora
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sal_Bool to bool
üst
5a61ac27
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
17 deletions
+15
-17
bastypes.cxx
basctl/source/basicide/bastypes.cxx
+9
-11
bastypes.hxx
basctl/source/inc/bastypes.hxx
+6
-6
No files found.
basctl/source/basicide/bastypes.cxx
Dosyayı görüntüle @
7ffca8ed
...
...
@@ -756,7 +756,7 @@ LibInfoItem* LibInfos::GetInfo( const LibInfoKey& rKey )
return
pItem
;
}
sal_B
ool
QueryDel
(
const
String
&
rName
,
const
ResId
&
rId
,
Window
*
pParent
)
b
ool
QueryDel
(
const
String
&
rName
,
const
ResId
&
rId
,
Window
*
pParent
)
{
String
aQuery
(
rId
);
String
aName
(
rName
);
...
...
@@ -764,39 +764,37 @@ sal_Bool QueryDel( const String& rName, const ResId& rId, Window* pParent )
aName
.
Insert
(
'\''
,
0
);
aQuery
.
SearchAndReplace
(
String
(
RTL_CONSTASCII_USTRINGPARAM
(
"XX"
)
),
aName
);
QueryBox
aQueryBox
(
pParent
,
WB_YES_NO
|
WB_DEF_YES
,
aQuery
);
if
(
aQueryBox
.
Execute
()
==
RET_YES
)
return
sal_True
;
return
sal_False
;
return
(
aQueryBox
.
Execute
()
==
RET_YES
);
}
sal_B
ool
QueryDelMacro
(
const
String
&
rName
,
Window
*
pParent
)
b
ool
QueryDelMacro
(
const
String
&
rName
,
Window
*
pParent
)
{
return
QueryDel
(
rName
,
IDEResId
(
RID_STR_QUERYDELMACRO
),
pParent
);
}
sal_B
ool
QueryReplaceMacro
(
const
String
&
rName
,
Window
*
pParent
)
b
ool
QueryReplaceMacro
(
const
String
&
rName
,
Window
*
pParent
)
{
return
QueryDel
(
rName
,
IDEResId
(
RID_STR_QUERYREPLACEMACRO
),
pParent
);
}
sal_B
ool
QueryDelDialog
(
const
String
&
rName
,
Window
*
pParent
)
b
ool
QueryDelDialog
(
const
String
&
rName
,
Window
*
pParent
)
{
return
QueryDel
(
rName
,
IDEResId
(
RID_STR_QUERYDELDIALOG
),
pParent
);
}
sal_Bool
QueryDelLib
(
const
String
&
rName
,
sal_B
ool
bRef
,
Window
*
pParent
)
bool
QueryDelLib
(
const
String
&
rName
,
b
ool
bRef
,
Window
*
pParent
)
{
return
QueryDel
(
rName
,
IDEResId
(
bRef
?
RID_STR_QUERYDELLIBREF
:
RID_STR_QUERYDELLIB
),
pParent
);
}
sal_B
ool
QueryDelModule
(
const
String
&
rName
,
Window
*
pParent
)
b
ool
QueryDelModule
(
const
String
&
rName
,
Window
*
pParent
)
{
return
QueryDel
(
rName
,
IDEResId
(
RID_STR_QUERYDELMODULE
),
pParent
);
}
sal_Bool
QueryPassword
(
const
Reference
<
script
::
XLibraryContainer
>&
xLibContainer
,
const
String
&
rLibName
,
String
&
rPassword
,
sal_Bool
bRepeat
,
sal_B
ool
bNewTitle
)
bool
QueryPassword
(
const
Reference
<
script
::
XLibraryContainer
>&
xLibContainer
,
const
String
&
rLibName
,
String
&
rPassword
,
bool
bRepeat
,
b
ool
bNewTitle
)
{
sal_Bool
bOK
=
sal_F
alse
;
bool
bOK
=
f
alse
;
sal_uInt16
nRet
=
0
;
do
...
...
basctl/source/inc/bastypes.hxx
Dosyayı görüntüle @
7ffca8ed
...
...
@@ -274,12 +274,12 @@ void CutLines( ::rtl::OUString& rStr, sal_Int32 nStartLine, sal_Int32
String
CreateMgrAndLibStr
(
const
String
&
rMgrName
,
const
String
&
rLibName
);
sal_uLong
CalcLineCount
(
SvStream
&
rStream
);
sal_Bool
QueryReplaceMacro
(
const
String
&
rName
,
Window
*
pParent
=
0
);
sal_Bool
QueryDelMacro
(
const
String
&
rName
,
Window
*
pParent
=
0
);
sal_Bool
QueryDelDialog
(
const
String
&
rName
,
Window
*
pParent
=
0
);
sal_Bool
QueryDelModule
(
const
String
&
rName
,
Window
*
pParent
=
0
);
sal_Bool
QueryDelLib
(
const
String
&
rName
,
sal_B
ool
bRef
=
sal_False
,
Window
*
pParent
=
0
);
sal_Bool
QueryPassword
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
script
::
XLibraryContainer
>&
xLibContainer
,
const
String
&
rLibName
,
String
&
rPassword
,
sal_Bool
bRepeat
=
sal_False
,
sal_Bool
bNewTitle
=
sal_F
alse
);
bool
QueryReplaceMacro
(
const
String
&
rName
,
Window
*
pParent
=
0
);
bool
QueryDelMacro
(
const
String
&
rName
,
Window
*
pParent
=
0
);
bool
QueryDelDialog
(
const
String
&
rName
,
Window
*
pParent
=
0
);
bool
QueryDelModule
(
const
String
&
rName
,
Window
*
pParent
=
0
);
bool
QueryDelLib
(
const
String
&
rName
,
b
ool
bRef
=
sal_False
,
Window
*
pParent
=
0
);
bool
QueryPassword
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
script
::
XLibraryContainer
>&
xLibContainer
,
const
String
&
rLibName
,
String
&
rPassword
,
bool
bRepeat
=
false
,
bool
bNewTitle
=
f
alse
);
class
ModuleInfoHelper
{
...
...
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