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
d7c5d9e3
Kaydet (Commit)
d7c5d9e3
authored
Mar 26, 2014
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
basic: sal_Bool->bool
Change-Id: Idfe18863b2c6f60da5192d661f66e85a2bac09e5
üst
21dcef53
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
22 additions
and
22 deletions
+22
-22
basmgr.cxx
basic/source/basmgr/basmgr.cxx
+0
-0
scriptcont.hxx
basic/source/inc/scriptcont.hxx
+1
-1
modsizeexceeded.cxx
basic/source/uno/modsizeexceeded.cxx
+2
-2
scriptcont.cxx
basic/source/uno/scriptcont.cxx
+1
-1
basmgr.hxx
include/basic/basmgr.hxx
+15
-15
modsizeexceeded.hxx
include/basic/modsizeexceeded.hxx
+2
-2
docsh2.cxx
sw/source/core/uibase/app/docsh2.cxx
+1
-1
No files found.
basic/source/basmgr/basmgr.cxx
Dosyayı görüntüle @
d7c5d9e3
This diff is collapsed.
Click to expand it.
basic/source/inc/scriptcont.hxx
Dosyayı görüntüle @
d7c5d9e3
...
@@ -84,7 +84,7 @@ class SfxScriptLibraryContainer : public SfxLibraryContainer, public OldBasicPas
...
@@ -84,7 +84,7 @@ class SfxScriptLibraryContainer : public SfxLibraryContainer, public OldBasicPas
virtual
void
setLibraryPassword
(
const
OUString
&
rLibraryName
,
const
OUString
&
rPassword
)
SAL_OVERRIDE
;
virtual
void
setLibraryPassword
(
const
OUString
&
rLibraryName
,
const
OUString
&
rPassword
)
SAL_OVERRIDE
;
virtual
OUString
getLibraryPassword
(
const
OUString
&
rLibraryName
)
SAL_OVERRIDE
;
virtual
OUString
getLibraryPassword
(
const
OUString
&
rLibraryName
)
SAL_OVERRIDE
;
virtual
void
clearLibraryPassword
(
const
OUString
&
rLibraryName
)
SAL_OVERRIDE
;
virtual
void
clearLibraryPassword
(
const
OUString
&
rLibraryName
)
SAL_OVERRIDE
;
virtual
sal_B
ool
hasLibraryPassword
(
const
OUString
&
rLibraryName
)
SAL_OVERRIDE
;
virtual
b
ool
hasLibraryPassword
(
const
OUString
&
rLibraryName
)
SAL_OVERRIDE
;
virtual
const
sal_Char
*
SAL_CALL
getInfoFileName
()
const
SAL_OVERRIDE
;
virtual
const
sal_Char
*
SAL_CALL
getInfoFileName
()
const
SAL_OVERRIDE
;
virtual
const
sal_Char
*
SAL_CALL
getOldInfoFileName
()
const
SAL_OVERRIDE
;
virtual
const
sal_Char
*
SAL_CALL
getOldInfoFileName
()
const
SAL_OVERRIDE
;
...
...
basic/source/uno/modsizeexceeded.cxx
Dosyayı görüntüle @
d7c5d9e3
...
@@ -40,14 +40,14 @@ ModuleSizeExceeded::ModuleSizeExceeded( const uno::Sequence< OUString >& sModule
...
@@ -40,14 +40,14 @@ ModuleSizeExceeded::ModuleSizeExceeded( const uno::Sequence< OUString >& sModule
m_lContinuations
[
1
]
=
m_xAbort
;
m_lContinuations
[
1
]
=
m_xAbort
;
}
}
sal_B
ool
b
ool
ModuleSizeExceeded
::
isAbort
()
const
ModuleSizeExceeded
::
isAbort
()
const
{
{
comphelper
::
OInteractionAbort
*
pBase
=
static_cast
<
comphelper
::
OInteractionAbort
*
>
(
m_xAbort
.
get
()
);
comphelper
::
OInteractionAbort
*
pBase
=
static_cast
<
comphelper
::
OInteractionAbort
*
>
(
m_xAbort
.
get
()
);
return
pBase
->
wasSelected
();
return
pBase
->
wasSelected
();
}
}
sal_B
ool
b
ool
ModuleSizeExceeded
::
isApprove
()
const
ModuleSizeExceeded
::
isApprove
()
const
{
{
comphelper
::
OInteractionApprove
*
pBase
=
static_cast
<
comphelper
::
OInteractionApprove
*
>
(
m_xApprove
.
get
()
);
comphelper
::
OInteractionApprove
*
pBase
=
static_cast
<
comphelper
::
OInteractionApprove
*
>
(
m_xApprove
.
get
()
);
...
...
basic/source/uno/scriptcont.cxx
Dosyayı görüntüle @
d7c5d9e3
...
@@ -120,7 +120,7 @@ void SfxScriptLibraryContainer::clearLibraryPassword( const OUString& rLibraryNa
...
@@ -120,7 +120,7 @@ void SfxScriptLibraryContainer::clearLibraryPassword( const OUString& rLibraryNa
catch
(
const
NoSuchElementException
&
)
{}
catch
(
const
NoSuchElementException
&
)
{}
}
}
sal_B
ool
SfxScriptLibraryContainer
::
hasLibraryPassword
(
const
OUString
&
rLibraryName
)
b
ool
SfxScriptLibraryContainer
::
hasLibraryPassword
(
const
OUString
&
rLibraryName
)
{
{
SfxLibrary
*
pImplLib
=
getImplLib
(
rLibraryName
);
SfxLibrary
*
pImplLib
=
getImplLib
(
rLibraryName
);
return
pImplLib
->
mbPasswordProtected
;
return
pImplLib
->
mbPasswordProtected
;
...
...
include/basic/basmgr.hxx
Dosyayı görüntüle @
d7c5d9e3
...
@@ -76,7 +76,7 @@ public:
...
@@ -76,7 +76,7 @@ public:
virtual
void
setLibraryPassword
(
const
OUString
&
rLibraryName
,
const
OUString
&
rPassword
)
=
0
;
virtual
void
setLibraryPassword
(
const
OUString
&
rLibraryName
,
const
OUString
&
rPassword
)
=
0
;
virtual
OUString
getLibraryPassword
(
const
OUString
&
rLibraryName
)
=
0
;
virtual
OUString
getLibraryPassword
(
const
OUString
&
rLibraryName
)
=
0
;
virtual
void
clearLibraryPassword
(
const
OUString
&
rLibraryName
)
=
0
;
virtual
void
clearLibraryPassword
(
const
OUString
&
rLibraryName
)
=
0
;
virtual
sal_Bool
hasLibraryPassword
(
const
OUString
&
rLibraryName
)
=
0
;
virtual
bool
hasLibraryPassword
(
const
OUString
&
rLibraryName
)
=
0
;
protected
:
protected
:
~
OldBasicPassword
()
{}
~
OldBasicPassword
()
{}
...
@@ -130,17 +130,17 @@ private:
...
@@ -130,17 +130,17 @@ private:
BASIC_DLLPRIVATE
void
Init
();
BASIC_DLLPRIVATE
void
Init
();
protected
:
protected
:
sal_Bool
ImpLoadLibrary
(
BasicLibInfo
*
pLibInfo
)
const
;
bool
ImpLoadLibrary
(
BasicLibInfo
*
pLibInfo
)
const
;
sal_Bool
ImpLoadLibrary
(
BasicLibInfo
*
pLibInfo
,
SotStorage
*
pCurStorage
,
sal_Bool
bInfosOnly
=
sal_F
alse
);
bool
ImpLoadLibrary
(
BasicLibInfo
*
pLibInfo
,
SotStorage
*
pCurStorage
,
bool
bInfosOnly
=
f
alse
);
void
ImpCreateStdLib
(
StarBASIC
*
pParentFromStdLib
);
void
ImpCreateStdLib
(
StarBASIC
*
pParentFromStdLib
);
void
ImpMgrNotLoaded
(
const
OUString
&
rStorageName
);
void
ImpMgrNotLoaded
(
const
OUString
&
rStorageName
);
BasicLibInfo
*
CreateLibInfo
();
BasicLibInfo
*
CreateLibInfo
();
void
LoadBasicManager
(
SotStorage
&
rStorage
,
const
OUString
&
rBaseURL
,
sal_Bool
bLoadBasics
=
sal_T
rue
);
void
LoadBasicManager
(
SotStorage
&
rStorage
,
const
OUString
&
rBaseURL
,
bool
bLoadBasics
=
t
rue
);
void
LoadOldBasicManager
(
SotStorage
&
rStorage
);
void
LoadOldBasicManager
(
SotStorage
&
rStorage
);
sal_Bool
ImplLoadBasic
(
SvStream
&
rStrm
,
StarBASICRef
&
rOldBasic
)
const
;
bool
ImplLoadBasic
(
SvStream
&
rStrm
,
StarBASICRef
&
rOldBasic
)
const
;
sal_Bool
ImplEncryptStream
(
SvStream
&
rStream
)
const
;
bool
ImplEncryptStream
(
SvStream
&
rStream
)
const
;
BasicLibInfo
*
FindLibInfo
(
StarBASIC
*
pBasic
)
const
;
BasicLibInfo
*
FindLibInfo
(
StarBASIC
*
pBasic
)
const
;
void
CheckModules
(
StarBASIC
*
pBasic
,
sal_B
ool
bReference
)
const
;
void
CheckModules
(
StarBASIC
*
pBasic
,
b
ool
bReference
)
const
;
~
BasicManager
();
~
BasicManager
();
public
:
public
:
...
@@ -182,11 +182,11 @@ public:
...
@@ -182,11 +182,11 @@ public:
const
::
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
script
::
XPersistentLibraryContainer
>&
const
::
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
script
::
XPersistentLibraryContainer
>&
GetScriptLibraryContainer
()
const
;
GetScriptLibraryContainer
()
const
;
sal_Bool
LoadLib
(
sal_uInt16
nLib
);
bool
LoadLib
(
sal_uInt16
nLib
);
sal_Bool
RemoveLib
(
sal_uInt16
nLib
,
sal_B
ool
bDelBasicFromStorage
);
bool
RemoveLib
(
sal_uInt16
nLib
,
b
ool
bDelBasicFromStorage
);
// Modify-Flag will be reset only during save.
// Modify-Flag will be reset only during save.
sal_Bool
IsBasicModified
()
const
;
bool
IsBasicModified
()
const
;
std
::
vector
<
BasicError
>&
GetErrors
();
std
::
vector
<
BasicError
>&
GetErrors
();
...
@@ -215,14 +215,14 @@ public:
...
@@ -215,14 +215,14 @@ public:
ErrCode
ExecuteMacro
(
OUString
const
&
i_fullyQualifiedName
,
OUString
const
&
i_commaSeparatedArgs
,
SbxValue
*
i_retValue
);
ErrCode
ExecuteMacro
(
OUString
const
&
i_fullyQualifiedName
,
OUString
const
&
i_commaSeparatedArgs
,
SbxValue
*
i_retValue
);
private
:
private
:
BASIC_DLLPRIVATE
sal_B
ool
IsReference
(
sal_uInt16
nLib
);
BASIC_DLLPRIVATE
b
ool
IsReference
(
sal_uInt16
nLib
);
BASIC_DLLPRIVATE
sal_B
ool
SetLibName
(
sal_uInt16
nLib
,
const
OUString
&
rName
);
BASIC_DLLPRIVATE
b
ool
SetLibName
(
sal_uInt16
nLib
,
const
OUString
&
rName
);
BASIC_DLLPRIVATE
StarBASIC
*
GetStdLib
()
const
;
BASIC_DLLPRIVATE
StarBASIC
*
GetStdLib
()
const
;
BASIC_DLLPRIVATE
StarBASIC
*
AddLib
(
SotStorage
&
rStorage
,
const
OUString
&
rLibName
,
sal_B
ool
bReference
);
BASIC_DLLPRIVATE
StarBASIC
*
AddLib
(
SotStorage
&
rStorage
,
const
OUString
&
rLibName
,
b
ool
bReference
);
BASIC_DLLPRIVATE
sal_B
ool
RemoveLib
(
sal_uInt16
nLib
);
BASIC_DLLPRIVATE
b
ool
RemoveLib
(
sal_uInt16
nLib
);
BASIC_DLLPRIVATE
sal_B
ool
HasLib
(
const
OUString
&
rName
)
const
;
BASIC_DLLPRIVATE
b
ool
HasLib
(
const
OUString
&
rName
)
const
;
BASIC_DLLPRIVATE
StarBASIC
*
CreateLibForLibContainer
(
const
OUString
&
rLibName
,
BASIC_DLLPRIVATE
StarBASIC
*
CreateLibForLibContainer
(
const
OUString
&
rLibName
,
const
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
script
::
XLibraryContainer
>&
const
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
script
::
XLibraryContainer
>&
...
...
include/basic/modsizeexceeded.hxx
Dosyayı görüntüle @
d7c5d9e3
...
@@ -30,8 +30,8 @@ class BASIC_DLLPUBLIC ModuleSizeExceeded : public ::cppu::WeakImplHelper1< ::com
...
@@ -30,8 +30,8 @@ class BASIC_DLLPUBLIC ModuleSizeExceeded : public ::cppu::WeakImplHelper1< ::com
public
:
public
:
ModuleSizeExceeded
(
const
com
::
sun
::
star
::
uno
::
Sequence
<
OUString
>&
sModules
);
ModuleSizeExceeded
(
const
com
::
sun
::
star
::
uno
::
Sequence
<
OUString
>&
sModules
);
sal_B
ool
isAbort
()
const
;
b
ool
isAbort
()
const
;
sal_B
ool
isApprove
()
const
;
b
ool
isApprove
()
const
;
// UNO interface
// UNO interface
public
:
public
:
...
...
sw/source/core/uibase/app/docsh2.cxx
Dosyayı görüntüle @
d7c5d9e3
...
@@ -1317,7 +1317,7 @@ void SwDocShell::ReloadFromHtml( const OUString& rStreamName, SwSrcView* pSrcVie
...
@@ -1317,7 +1317,7 @@ void SwDocShell::ReloadFromHtml( const OUString& rStreamName, SwSrcView* pSrcVie
// Only the modules are deleted from the standard-lib
// Only the modules are deleted from the standard-lib
if
(
nLibCount
)
if
(
nLibCount
)
pBasicMan
->
RemoveLib
(
nLibCount
,
sal_T
rue
);
pBasicMan
->
RemoveLib
(
nLibCount
,
t
rue
);
else
else
pBasic
->
Clear
();
pBasic
->
Clear
();
}
}
...
...
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