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
79853113
Kaydet (Commit)
79853113
authored
May 08, 2014
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
desktop: sal_Bool->bool
Change-Id: I3462a9d4c23c9bc858c1a9d91caa58d87b204ee0
üst
79cf53cb
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
72 additions
and
72 deletions
+72
-72
app.hxx
desktop/inc/app.hxx
+6
-6
app.cxx
desktop/source/app/app.cxx
+0
-0
appinit.cxx
desktop/source/app/appinit.cxx
+3
-3
check_ext_deps.cxx
desktop/source/app/check_ext_deps.cxx
+1
-1
dispatchwatcher.cxx
desktop/source/app/dispatchwatcher.cxx
+8
-8
dispatchwatcher.hxx
desktop/source/app/dispatchwatcher.hxx
+1
-1
officeipcthread.cxx
desktop/source/app/officeipcthread.cxx
+12
-12
officeipcthread.hxx
desktop/source/app/officeipcthread.hxx
+2
-2
migration.cxx
desktop/source/migration/migration.cxx
+8
-8
migration_impl.hxx
desktop/source/migration/migration_impl.hxx
+5
-5
jvmfwk.cxx
desktop/source/migration/services/jvmfwk.cxx
+5
-5
splash.cxx
desktop/source/splash/splash.cxx
+21
-21
No files found.
desktop/inc/app.hxx
Dosyayı görüntüle @
79853113
...
...
@@ -114,10 +114,10 @@ class Desktop : public Application
return
m_aBootstrapStatus
;
}
static
sal_Bool
isCrashReporterEnabled
();
static
bool
isCrashReporterEnabled
();
// first-start (ever) related methods
static
sal_Bool
CheckExtensionDependencies
();
static
bool
CheckExtensionDependencies
();
void
SynchronizeExtensionRepositories
();
void
SetSplashScreenText
(
const
OUString
&
rText
);
...
...
@@ -136,10 +136,10 @@ class Desktop : public Application
void
CreateTemporaryDirectory
();
void
RemoveTemporaryDirectory
();
sal_Bool
InitializeInstallation
(
const
OUString
&
rAppFilename
);
bool
InitializeInstallation
(
const
OUString
&
rAppFilename
);
bool
InitializeConfiguration
();
void
FlushConfiguration
();
sal_Bool
InitializeQuickstartMode
(
const
css
::
uno
::
Reference
<
css
::
uno
::
XComponentContext
>&
rxContext
);
bool
InitializeQuickstartMode
(
const
css
::
uno
::
Reference
<
css
::
uno
::
XComponentContext
>&
rxContext
);
void
HandleBootstrapPathErrors
(
::
utl
::
Bootstrap
::
Status
,
const
OUString
&
aMsg
);
void
StartSetup
(
const
OUString
&
aParameters
);
...
...
@@ -169,9 +169,9 @@ class Desktop : public Application
static
void
ShowBackingComponent
(
Desktop
*
progress
);
static
sal_Bool
SaveTasks
();
static
bool
SaveTasks
();
static
sal_Bool
isUIOnSessionShutdownAllowed
();
static
bool
isUIOnSessionShutdownAllowed
();
// on-demand acceptors
static
void
createAcceptor
(
const
OUString
&
aDescription
);
...
...
desktop/source/app/app.cxx
Dosyayı görüntüle @
79853113
This diff is collapsed.
Click to expand it.
desktop/source/app/appinit.cxx
Dosyayı görüntüle @
79853113
...
...
@@ -129,7 +129,7 @@ void Desktop::RegisterServices(Reference< XComponentContext > const & context)
CommandLineArgs
&
rCmdLine
=
GetCommandLineArgs
();
// Headless mode for FAT Office
sal_B
ool
bHeadlessMode
=
rCmdLine
.
IsHeadless
();
b
ool
bHeadlessMode
=
rCmdLine
.
IsHeadless
();
if
(
bHeadlessMode
)
Application
::
EnableHeadlessMode
(
false
);
...
...
@@ -160,7 +160,7 @@ namespace
struct
CurrentTempURL
:
public
rtl
::
Static
<
OUString
,
CurrentTempURL
>
{};
}
static
sal_Bool
bAccept
=
sal_F
alse
;
static
bool
bAccept
=
f
alse
;
void
Desktop
::
createAcceptor
(
const
OUString
&
aAcceptString
)
{
...
...
@@ -219,7 +219,7 @@ void Desktop::enableAcceptors()
if
(
!
bAccept
)
{
// from now on, all new acceptors are enabled
bAccept
=
sal_T
rue
;
bAccept
=
t
rue
;
// enable existing acceptors by calling initialize(true)
// on all existing acceptors
AcceptorMap
&
rMap
=
acceptorMap
::
get
();
...
...
desktop/source/app/check_ext_deps.cxx
Dosyayı görüntüle @
79853113
...
...
@@ -384,7 +384,7 @@ static bool impl_needsCompatCheck()
// Do we need to check the dependencies of the extensions?
// When there are unresolved issues, we can't continue with startup
sal_B
ool
Desktop
::
CheckExtensionDependencies
()
b
ool
Desktop
::
CheckExtensionDependencies
()
{
if
(
!
impl_needsCompatCheck
())
{
...
...
desktop/source/app/dispatchwatcher.cxx
Dosyayı görüntüle @
79853113
...
...
@@ -159,14 +159,14 @@ DispatchWatcher::~DispatchWatcher()
}
sal_B
ool
DispatchWatcher
::
executeDispatchRequests
(
const
DispatchList
&
aDispatchRequestsList
,
bool
bNoTerminate
)
b
ool
DispatchWatcher
::
executeDispatchRequests
(
const
DispatchList
&
aDispatchRequestsList
,
bool
bNoTerminate
)
{
Reference
<
XDesktop2
>
xDesktop
=
css
::
frame
::
Desktop
::
create
(
::
comphelper
::
getProcessComponentContext
()
);
DispatchList
::
const_iterator
p
;
std
::
vector
<
DispatchHolder
>
aDispatches
;
OUString
aAsTemplateArg
(
"AsTemplate"
);
sal_Bool
bSetInputFilter
=
sal_F
alse
;
bool
bSetInputFilter
=
f
alse
;
OUString
aForcedInputFilter
;
for
(
p
=
aDispatchRequestsList
.
begin
();
p
!=
aDispatchRequestsList
.
end
();
++
p
)
...
...
@@ -181,7 +181,7 @@ sal_Bool DispatchWatcher::executeDispatchRequests( const DispatchList& aDispatch
// Set Input Filter
if
(
aDispatchRequest
.
aRequestType
==
REQUEST_INFILTER
)
{
bSetInputFilter
=
sal_T
rue
;
bSetInputFilter
=
t
rue
;
aForcedInputFilter
=
aDispatchRequest
.
aURL
;
OfficeIPCThread
::
RequestsCompleted
(
1
);
continue
;
...
...
@@ -424,7 +424,7 @@ sal_Bool DispatchWatcher::executeDispatchRequests( const DispatchList& aDispatch
OUString
aFilterOut
=
aParam
.
copy
(
nPathIndex
+
1
);
OUString
aFilter
;
OUString
aFilterExt
;
sal_Bool
bGuess
=
sal_F
alse
;
bool
bGuess
=
f
alse
;
if
(
nFilterIndex
>=
0
)
{
...
...
@@ -434,7 +434,7 @@ sal_Bool DispatchWatcher::executeDispatchRequests( const DispatchList& aDispatch
else
{
// Guess
bGuess
=
sal_T
rue
;
bGuess
=
t
rue
;
aFilterExt
=
aParam
.
copy
(
0
,
nPathIndex
);
}
INetURLObject
aOutFilename
(
aObj
);
...
...
@@ -515,7 +515,7 @@ sal_Bool DispatchWatcher::executeDispatchRequests( const DispatchList& aDispatch
aPrinterArgs
[
0
].
Name
=
"FileName"
;
aPrinterArgs
[
0
].
Value
<<=
aOutFile
;
aPrinterArgs
[
1
].
Name
=
"Wait"
;
aPrinterArgs
[
1
].
Value
<<=
(
sal_Bool
)
sal_T
rue
;
aPrinterArgs
[
1
].
Value
<<=
t
rue
;
xDoc
->
print
(
aPrinterArgs
);
}
else
{
if
(
aDispatchRequest
.
aRequestType
==
REQUEST_PRINTTO
)
...
...
@@ -530,7 +530,7 @@ sal_Bool DispatchWatcher::executeDispatchRequests( const DispatchList& aDispatch
// print ( also without user interaction )
Sequence
<
PropertyValue
>
aPrinterArgs
(
1
);
aPrinterArgs
[
0
].
Name
=
"Wait"
;
aPrinterArgs
[
0
].
Value
<<=
(
sal_Bool
)
sal_T
rue
;
aPrinterArgs
[
0
].
Value
<<=
t
rue
;
xDoc
->
print
(
aPrinterArgs
);
}
}
...
...
@@ -607,7 +607,7 @@ sal_Bool DispatchWatcher::executeDispatchRequests( const DispatchList& aDispatch
}
}
return
sal_F
alse
;
return
f
alse
;
}
...
...
desktop/source/app/dispatchwatcher.hxx
Dosyayı görüntüle @
79853113
...
...
@@ -92,7 +92,7 @@ class DispatchWatcher : public ::cppu::WeakImplHelper1< ::com::sun::star::frame:
static
DispatchWatcher
*
GetDispatchWatcher
();
// execute new dispatch request
sal_B
ool
executeDispatchRequests
(
const
DispatchList
&
aDispatches
,
bool
bNoTerminate
=
false
);
b
ool
executeDispatchRequests
(
const
DispatchList
&
aDispatches
,
bool
bNoTerminate
=
false
);
private
:
DispatchWatcher
();
...
...
desktop/source/app/officeipcthread.cxx
Dosyayı görüntüle @
79853113
...
...
@@ -425,14 +425,14 @@ void OfficeIPCThread::EnableRequests( bool i_bEnable )
}
}
sal_B
ool
OfficeIPCThread
::
AreRequestsPending
()
b
ool
OfficeIPCThread
::
AreRequestsPending
()
{
// Give info about pending requests
::
osl
::
MutexGuard
aGuard
(
GetMutex
()
);
if
(
pGlobalOfficeIPCThread
.
is
()
)
return
(
pGlobalOfficeIPCThread
->
mnPendingRequests
>
0
);
else
return
sal_F
alse
;
return
f
alse
;
}
void
OfficeIPCThread
::
RequestsCompleted
(
int
nCount
)
...
...
@@ -840,28 +840,28 @@ void OfficeIPCThread::execute()
}
if
(
!
aCmdLineArgs
->
IsQuickstart
()
)
{
sal_Bool
bShowHelp
=
sal_F
alse
;
bool
bShowHelp
=
f
alse
;
OUStringBuffer
aHelpURLBuffer
;
if
(
aCmdLineArgs
->
IsHelpWriter
())
{
bShowHelp
=
sal_T
rue
;
bShowHelp
=
t
rue
;
aHelpURLBuffer
.
appendAscii
(
"vnd.sun.star.help://swriter/start"
);
}
else
if
(
aCmdLineArgs
->
IsHelpCalc
())
{
bShowHelp
=
sal_T
rue
;
bShowHelp
=
t
rue
;
aHelpURLBuffer
.
appendAscii
(
"vnd.sun.star.help://scalc/start"
);
}
else
if
(
aCmdLineArgs
->
IsHelpDraw
())
{
bShowHelp
=
sal_T
rue
;
bShowHelp
=
t
rue
;
aHelpURLBuffer
.
appendAscii
(
"vnd.sun.star.help://sdraw/start"
);
}
else
if
(
aCmdLineArgs
->
IsHelpImpress
())
{
bShowHelp
=
sal_T
rue
;
bShowHelp
=
t
rue
;
aHelpURLBuffer
.
appendAscii
(
"vnd.sun.star.help://simpress/start"
);
}
else
if
(
aCmdLineArgs
->
IsHelpBase
())
{
bShowHelp
=
sal_T
rue
;
bShowHelp
=
t
rue
;
aHelpURLBuffer
.
appendAscii
(
"vnd.sun.star.help://sdatabase/start"
);
}
else
if
(
aCmdLineArgs
->
IsHelpBasic
())
{
bShowHelp
=
sal_T
rue
;
bShowHelp
=
t
rue
;
aHelpURLBuffer
.
appendAscii
(
"vnd.sun.star.help://sbasic/start"
);
}
else
if
(
aCmdLineArgs
->
IsHelpMath
())
{
bShowHelp
=
sal_T
rue
;
bShowHelp
=
t
rue
;
aHelpURLBuffer
.
appendAscii
(
"vnd.sun.star.help://smath/start"
);
}
if
(
bShowHelp
)
{
...
...
@@ -1018,7 +1018,7 @@ static void AddConversionsToDispatchList(
}
sal_B
ool
OfficeIPCThread
::
ExecuteCmdLineRequests
(
ProcessDocumentsRequest
&
aRequest
)
b
ool
OfficeIPCThread
::
ExecuteCmdLineRequests
(
ProcessDocumentsRequest
&
aRequest
)
{
// protect the dispatch list
osl
::
ClearableMutexGuard
aGuard
(
GetMutex
()
);
...
...
@@ -1036,7 +1036,7 @@ sal_Bool OfficeIPCThread::ExecuteCmdLineRequests( ProcessDocumentsRequest& aRequ
AddToDispatchList
(
aDispatchList
,
aRequest
.
aCwdUrl
,
aRequest
.
aForceOpenList
,
DispatchWatcher
::
REQUEST_FORCEOPEN
,
aEmpty
,
aRequest
.
aModule
);
AddToDispatchList
(
aDispatchList
,
aRequest
.
aCwdUrl
,
aRequest
.
aForceNewList
,
DispatchWatcher
::
REQUEST_FORCENEW
,
aEmpty
,
aRequest
.
aModule
);
AddConversionsToDispatchList
(
aDispatchList
,
aRequest
.
aCwdUrl
,
aRequest
.
aConversionList
,
aRequest
.
aConversionParams
,
aRequest
.
aPrinterName
,
aRequest
.
aModule
,
aRequest
.
aConversionOut
);
sal_Bool
bShutdown
(
sal_F
alse
);
bool
bShutdown
(
f
alse
);
if
(
pGlobalOfficeIPCThread
.
is
()
)
{
...
...
desktop/source/app/officeipcthread.hxx
Dosyayı görüntüle @
79853113
...
...
@@ -114,9 +114,9 @@ class OfficeIPCThread : public salhelper::Thread
// controlling pipe communication during shutdown
static
void
SetDowning
();
static
void
EnableRequests
(
bool
i_bEnable
=
true
);
static
sal_Bool
AreRequestsPending
();
static
bool
AreRequestsPending
();
static
void
RequestsCompleted
(
int
n
=
1
);
static
sal_Bool
ExecuteCmdLineRequests
(
ProcessDocumentsRequest
&
);
static
bool
ExecuteCmdLineRequests
(
ProcessDocumentsRequest
&
);
// return sal_False if second office
static
Status
EnableOfficeIPCThread
();
...
...
desktop/source/migration/migration.cxx
Dosyayı görüntüle @
79853113
...
...
@@ -211,7 +211,7 @@ void Migration::migrateSettingsIfNecessary()
if
(
!
aImpl
.
initializeMigration
()
)
return
;
sal_Bool
bResult
=
sal_F
alse
;
bool
bResult
=
f
alse
;
try
{
bResult
=
aImpl
.
doMigration
();
...
...
@@ -236,12 +236,12 @@ MigrationImpl::~MigrationImpl()
}
// The main entry point for migrating settings
sal_B
ool
MigrationImpl
::
doMigration
()
b
ool
MigrationImpl
::
doMigration
()
{
// compile file list for migration
m_vrFileList
=
compileFileList
();
sal_Bool
result
=
sal_F
alse
;
bool
result
=
f
alse
;
try
{
NewVersionUIInfo
aNewVersionUIInfo
;
...
...
@@ -313,7 +313,7 @@ sal_Bool MigrationImpl::doMigration()
runServices
();
refresh
();
result
=
sal_T
rue
;
result
=
t
rue
;
}
catch
(
css
::
uno
::
Exception
&
e
)
{
...
...
@@ -352,7 +352,7 @@ void MigrationImpl::setMigrationCompleted()
bool
MigrationImpl
::
checkMigrationCompleted
()
{
sal_Bool
bMigrationCompleted
=
sal_F
alse
;
bool
bMigrationCompleted
=
f
alse
;
try
{
uno
::
Reference
<
XPropertySet
>
aPropertySet
(
getConfigAccess
(
"org.openoffice.Setup/Office"
),
uno
::
UNO_QUERY_THROW
);
...
...
@@ -362,7 +362,7 @@ bool MigrationImpl::checkMigrationCompleted()
{
// migration prevented - fake it's success
setMigrationCompleted
();
bMigrationCompleted
=
sal_T
rue
;
bMigrationCompleted
=
t
rue
;
}
}
catch
(
const
Exception
&
)
...
...
@@ -859,7 +859,7 @@ void MigrationImpl::copyConfig() {
}
}
uno
::
Reference
<
XNameAccess
>
MigrationImpl
::
getConfigAccess
(
const
sal_Char
*
pPath
,
sal_B
ool
bUpdate
)
uno
::
Reference
<
XNameAccess
>
MigrationImpl
::
getConfigAccess
(
const
sal_Char
*
pPath
,
b
ool
bUpdate
)
{
uno
::
Reference
<
XNameAccess
>
xNameAccess
;
try
{
...
...
@@ -1030,7 +1030,7 @@ void MigrationImpl::runServices()
if
(
xNameAccess
->
getElementNames
().
getLength
()
>
0
)
{
aModuleInfo
.
sModuleShortName
=
sModuleShortName
;
aModuleInfo
.
bHasMenubar
=
sal_T
rue
;
aModuleInfo
.
bHasMenubar
=
t
rue
;
}
}
...
...
desktop/source/migration/migration_impl.hxx
Dosyayı görüntüle @
79853113
...
...
@@ -114,7 +114,7 @@ struct MigrationItem
return
*
this
;
}
sal_B
ool
operator
==
(
const
MigrationItem
&
aMigrationItem
)
b
ool
operator
==
(
const
MigrationItem
&
aMigrationItem
)
{
return
(
aMigrationItem
.
m_sParentNodeName
==
m_sParentNodeName
&&
aMigrationItem
.
m_sPrevSibling
==
m_sPrevSibling
&&
...
...
@@ -150,10 +150,10 @@ struct MigrationItemInfo
struct
MigrationModuleInfo
{
OUString
sModuleShortName
;
sal_Bool
bHasMenubar
;
bool
bHasMenubar
;
::
std
::
vector
<
OUString
>
m_vToolbars
;
MigrationModuleInfo
()
:
bHasMenubar
(
sal_False
)
{};
MigrationModuleInfo
()
:
bHasMenubar
(
false
)
{};
};
...
...
@@ -205,7 +205,7 @@ private:
// helpers
strings_vr
getAllFiles
(
const
OUString
&
baseURL
)
const
;
strings_vr
applyPatterns
(
const
strings_v
&
vSet
,
const
strings_v
&
vPatterns
)
const
;
css
::
uno
::
Reference
<
css
::
container
::
XNameAccess
>
getConfigAccess
(
const
sal_Char
*
path
,
sal_Bool
rw
=
sal_F
alse
);
css
::
uno
::
Reference
<
css
::
container
::
XNameAccess
>
getConfigAccess
(
const
sal_Char
*
path
,
bool
rw
=
f
alse
);
::
std
::
vector
<
MigrationModuleInfo
>
dectectUIChangesForAllModules
()
const
;
void
compareOldAndNewConfig
(
const
OUString
&
sParentNodeName
,
...
...
@@ -230,7 +230,7 @@ public:
MigrationImpl
();
~
MigrationImpl
();
bool
initializeMigration
();
sal_B
ool
doMigration
();
b
ool
doMigration
();
OUString
getOldVersionName
();
};
}
...
...
desktop/source/migration/services/jvmfwk.cxx
Dosyayı görüntüle @
79853113
...
...
@@ -257,8 +257,8 @@ void SAL_CALL JavaMigration::initialize( const css::uno::Sequence< css::uno::Any
*
pIter
>>=
aValue
;
if
(
aValue
.
Name
==
"OldConfiguration"
)
{
sal_B
ool
bSuccess
=
aValue
.
Value
>>=
aOldConfigValues
;
OSL_ENSURE
(
bSuccess
==
sal_True
,
"[Service implementation "
IMPL_NAME
b
ool
bSuccess
=
aValue
.
Value
>>=
aOldConfigValues
;
OSL_ENSURE
(
bSuccess
,
"[Service implementation "
IMPL_NAME
"] XInitialization::initialize: Argument OldConfiguration has wrong type."
);
if
(
bSuccess
)
{
...
...
@@ -307,10 +307,10 @@ void JavaMigration::migrateJavarc()
OUString
sValue
;
rtl
::
Bootstrap
javaini
(
m_sUserDir
+
"/user/config/"
+
SAL_CONFIGFILE
(
"java"
));
sal_B
ool
bSuccess
=
javaini
.
getFrom
(
"Home"
,
sValue
);
b
ool
bSuccess
=
javaini
.
getFrom
(
"Home"
,
sValue
);
OSL_ENSURE
(
bSuccess
,
"[Service implementation "
IMPL_NAME
"] XJob::execute: Could not get Home entry from java.ini/javarc."
);
if
(
bSuccess
==
sal_True
&&
!
sValue
.
isEmpty
())
if
(
bSuccess
&&
!
sValue
.
isEmpty
())
{
//get the directory
CJavaInfo
aInfo
;
...
...
@@ -416,7 +416,7 @@ void SAL_CALL JavaMigration::setPropertyValue(
{
case
ENABLE_JAVA
:
{
sal_Bool
val
=
sal_Bool
()
;
bool
val
;
if
(
!
(
aValue
>>=
val
))
throw
MalformedDataException
(
OUString
(
"[Service implementation "
)
+
IMPL_NAME
+
...
...
desktop/source/splash/splash.cxx
Dosyayı görüntüle @
79853113
...
...
@@ -75,17 +75,17 @@ private:
sal_Int32
_iMax
;
sal_Int32
_iProgress
;
BitmapMode
_eBitmapMode
;
sal_Bool
_bPaintBitmap
;
sal_Bool
_bPaintProgress
;
sal_Bool
_bVisible
;
sal_Bool
_bShowLogo
;
sal_Bool
_bFullScreenSplash
;
sal_Bool
_bProgressEnd
;
long
_height
,
_width
,
_tlx
,
_tly
,
_barwidth
;
long
_barheight
,
_barspace
,
_textBaseline
;
double
_fXPos
,
_fYPos
;
double
_fWidth
,
_fHeight
;
const
long
_xoffset
,
_yoffset
;
bool
_bPaintBitmap
;
bool
_bPaintProgress
;
bool
_bVisible
;
bool
_bShowLogo
;
bool
_bFullScreenSplash
;
bool
_bProgressEnd
;
long
_height
,
_width
,
_tlx
,
_tly
,
_barwidth
;
long
_barheight
,
_barspace
,
_textBaseline
;
double
_fXPos
,
_fYPos
;
double
_fWidth
,
_fHeight
;
const
long
_xoffset
,
_yoffset
;
public
:
SplashScreen
();
...
...
@@ -128,12 +128,12 @@ SplashScreen::SplashScreen()
,
_iMax
(
100
)
,
_iProgress
(
0
)
,
_eBitmapMode
(
BM_DEFAULTMODE
)
,
_bPaintBitmap
(
sal_T
rue
)
,
_bPaintProgress
(
sal_F
alse
)
,
_bPaintBitmap
(
t
rue
)
,
_bPaintProgress
(
f
alse
)
,
_bVisible
(
true
)
,
_bShowLogo
(
sal_T
rue
)
,
_bFullScreenSplash
(
sal_F
alse
)
,
_bProgressEnd
(
sal_F
alse
)
,
_bShowLogo
(
t
rue
)
,
_bFullScreenSplash
(
f
alse
)
,
_bProgressEnd
(
f
alse
)
,
_height
(
0
)
,
_width
(
0
)
,
_tlx
(
NOT_LOADED
)
...
...
@@ -166,7 +166,7 @@ void SAL_CALL SplashScreen::start(const OUString&, sal_Int32 nRange)
{
_iMax
=
nRange
;
if
(
_bVisible
)
{
_bProgressEnd
=
sal_F
alse
;
_bProgressEnd
=
f
alse
;
SolarMutexGuard
aSolarGuard
;
if
(
_eBitmapMode
==
BM_FULLSCREEN
)
ShowFullScreenMode
(
true
);
...
...
@@ -186,7 +186,7 @@ void SAL_CALL SplashScreen::end()
EndFullScreenMode
();
Hide
();
}
_bProgressEnd
=
sal_T
rue
;
_bProgressEnd
=
t
rue
;
}
void
SAL_CALL
SplashScreen
::
reset
()
...
...
@@ -325,7 +325,7 @@ SplashScreen::initialize( const ::com::sun::star::uno::Sequence< ::com::sun::sta
void
SplashScreen
::
updateStatus
()
{
if
(
!
_bVisible
||
_bProgressEnd
)
return
;
if
(
!
_bPaintProgress
)
_bPaintProgress
=
sal_T
rue
;
if
(
!
_bPaintProgress
)
_bPaintProgress
=
t
rue
;
Paint
(
Rectangle
());
Flush
();
}
...
...
@@ -584,7 +584,7 @@ void SplashScreen::Paint( const Rectangle&)
if
(
!
_bVisible
)
return
;
//native drawing
sal_Bool
bNativeOK
=
sal_F
alse
;
bool
bNativeOK
=
f
alse
;
// in case of native controls we need to draw directly to the window
if
(
_bNativeProgress
&&
IsNativeControlSupported
(
CTRL_INTROPROGRESS
,
PART_ENTIRE_CONTROL
)
)
...
...
@@ -605,7 +605,7 @@ void SplashScreen::Paint( const Rectangle&)
}
if
(
(
bNativeOK
=
DrawNativeControl
(
CTRL_INTROPROGRESS
,
PART_ENTIRE_CONTROL
,
aDrawRect
,
CTRL_STATE_ENABLED
,
aValue
,
_sProgressText
))
!=
sal_False
)
CTRL_STATE_ENABLED
,
aValue
,
_sProgressText
))
)
{
return
;
}
...
...
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