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
fb77ab1d
Kaydet (Commit)
fb77ab1d
authored
Mar 17, 2014
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sfx2: sal_Bool->bool
Change-Id: Ib2a02c7e05e48657b9745bcccc8f8f626daaef2d
üst
ac01de88
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
109 additions
and
109 deletions
+109
-109
printer.hxx
include/sfx2/printer.hxx
+3
-3
prnmon.hxx
include/sfx2/prnmon.hxx
+1
-1
progress.hxx
include/sfx2/progress.hxx
+8
-8
request.hxx
include/sfx2/request.hxx
+10
-10
progress.cxx
sfx2/source/bastyp/progress.cxx
+22
-22
dispatch.cxx
sfx2/source/control/dispatch.cxx
+3
-3
request.cxx
sfx2/source/control/request.cxx
+41
-41
printer.cxx
sfx2/source/view/printer.cxx
+12
-12
viewfrm.cxx
sfx2/source/view/viewfrm.cxx
+3
-3
viewsh.cxx
sfx2/source/view/viewsh.cxx
+4
-4
mainwn.cxx
sw/source/core/uibase/app/mainwn.cxx
+2
-2
No files found.
include/sfx2/printer.hxx
Dosyayı görüntüle @
fb77ab1d
...
...
@@ -37,7 +37,7 @@ private:
JobSetup
aOrigJobSetup
;
SfxItemSet
*
pOptions
;
SfxPrinter_Impl
*
pImpl
;
sal_B
ool
bKnown
;
b
ool
bKnown
;
SAL_DLLPRIVATE
void
operator
=
(
SfxPrinter
&
);
// not defined
...
...
@@ -66,8 +66,8 @@ public:
const
SfxItemSet
&
GetOptions
()
const
{
return
*
pOptions
;
}
void
SetOptions
(
const
SfxItemSet
&
rNewOptions
);
sal_B
ool
IsKnown
()
const
{
return
bKnown
;
}
sal_B
ool
IsOriginal
()
const
{
return
bKnown
;
}
b
ool
IsKnown
()
const
{
return
bKnown
;
}
b
ool
IsOriginal
()
const
{
return
bKnown
;
}
};
#endif
...
...
include/sfx2/prnmon.hxx
Dosyayı görüntüle @
fb77ab1d
...
...
@@ -46,7 +46,7 @@ public:
const
SfxItemSet
*
rOptions
);
virtual
~
SfxPrintOptionsDialog
();
sal_B
ool
Construct
();
b
ool
Construct
();
virtual
short
Execute
();
virtual
bool
Notify
(
NotifyEvent
&
rNEvt
);
...
...
include/sfx2/progress.hxx
Dosyayı görüntüle @
fb77ab1d
...
...
@@ -36,24 +36,24 @@ struct SvProgressArg;
class
SFX2_DLLPUBLIC
SfxProgress
{
SfxProgress_Impl
*
pImp
;
sal_uIntPtr
nVal
;
sal_B
ool
bSuspended
;
sal_uIntPtr
nVal
;
b
ool
bSuspended
;
public
:
SfxProgress
(
SfxObjectShell
*
pObjSh
,
const
rtl
::
OUString
&
rText
,
sal_uIntPtr
nRange
,
sal_Bool
bAllDocs
=
sal_F
alse
,
sal_Bool
bWait
=
sal_T
rue
);
sal_uIntPtr
nRange
,
bool
bAllDocs
=
f
alse
,
bool
bWait
=
t
rue
);
virtual
~
SfxProgress
();
virtual
void
SetText
(
const
OUString
&
rText
);
sal_B
ool
SetStateText
(
sal_uIntPtr
nVal
,
const
rtl
::
OUString
&
rVal
,
sal_uIntPtr
nNewRange
=
0
);
virtual
sal_B
ool
SetState
(
sal_uIntPtr
nVal
,
sal_uIntPtr
nNewRange
=
0
);
sal_uIntPtr
GetState
()
const
{
return
nVal
;
}
b
ool
SetStateText
(
sal_uIntPtr
nVal
,
const
rtl
::
OUString
&
rVal
,
sal_uIntPtr
nNewRange
=
0
);
virtual
b
ool
SetState
(
sal_uIntPtr
nVal
,
sal_uIntPtr
nNewRange
=
0
);
sal_uIntPtr
GetState
()
const
{
return
nVal
;
}
void
Resume
();
void
Suspend
();
sal_B
ool
IsSuspended
()
const
{
return
bSuspended
;
}
b
ool
IsSuspended
()
const
{
return
bSuspended
;
}
void
UnLock
();
void
Reschedule
();
...
...
include/sfx2/request.hxx
Dosyayı görüntüle @
fb77ab1d
...
...
@@ -88,20 +88,20 @@ public:
const
SfxPoolItem
*
GetReturnValue
()
const
;
static
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
frame
::
XDispatchRecorder
>
GetMacroRecorder
(
SfxViewFrame
*
pFrame
=
NULL
);
static
sal_B
ool
HasMacroRecorder
(
SfxViewFrame
*
pFrame
=
NULL
);
sal_uInt16
GetCallMode
()
const
;
void
AllowRecording
(
sal_B
ool
);
sal_B
ool
AllowsRecording
()
const
;
sal_B
ool
IsAPI
()
const
;
sal_B
ool
IsSynchronCall
()
const
;
void
SetSynchronCall
(
sal_B
ool
bSynchron
);
static
b
ool
HasMacroRecorder
(
SfxViewFrame
*
pFrame
=
NULL
);
sal_uInt16
GetCallMode
()
const
;
void
AllowRecording
(
b
ool
);
b
ool
AllowsRecording
()
const
;
b
ool
IsAPI
()
const
;
b
ool
IsSynchronCall
()
const
;
void
SetSynchronCall
(
b
ool
bSynchron
);
sal_B
ool
IsDone
()
const
;
void
Done
(
sal_Bool
bRemove
=
sal_F
alse
);
b
ool
IsDone
()
const
;
void
Done
(
bool
bRemove
=
f
alse
);
void
Ignore
();
void
Cancel
();
sal_B
ool
IsCancelled
()
const
;
b
ool
IsCancelled
()
const
;
void
Done
(
const
SfxItemSet
&
,
bool
bKeep
=
true
);
void
ForgetAllArgs
();
...
...
sfx2/source/bastyp/progress.cxx
Dosyayı görüntüle @
fb77ab1d
...
...
@@ -55,10 +55,10 @@ struct SfxProgress_Impl
sal_uIntPtr
nMax
;
clock_t
nCreate
;
clock_t
nNextReschedule
;
sal_Bool
bLocked
,
bAllDocs
;
sal_Bool
bWaitMode
;
sal_Bool
bAllowRescheduling
;
sal_Bool
bRunning
;
bool
bLocked
,
bAllDocs
;
bool
bWaitMode
;
bool
bAllowRescheduling
;
bool
bRunning
;
SfxProgress
*
pActiveProgress
;
SfxObjectShellRef
xObjSh
;
...
...
@@ -66,7 +66,7 @@ struct SfxProgress_Impl
SfxViewFrame
*
pView
;
SfxProgress_Impl
(
const
OUString
&
);
void
Enable_Impl
(
sal_B
ool
);
void
Enable_Impl
(
b
ool
);
};
...
...
@@ -79,7 +79,7 @@ extern sal_uInt32 Get10ThSec();
void
SfxProgress_Impl
::
Enable_Impl
(
sal_B
ool
bEnable
)
void
SfxProgress_Impl
::
Enable_Impl
(
b
ool
bEnable
)
{
SfxObjectShell
*
pDoc
=
bAllDocs
?
NULL
:
(
SfxObjectShell
*
)
xObjSh
;
SfxViewFrame
*
pFrame
=
SfxViewFrame
::
GetFirst
(
pDoc
);
...
...
@@ -131,8 +131,8 @@ SfxProgress::SfxProgress
sal_uIntPtr
nRange
,
/* Max value for range */
sal_Bool
bAll
,
/* Disable all documents or only the document of the ViewFram */
sal_Bool
bWait
/* Activate the wait-Pointer initially (TRUE) */
bool
bAll
,
/* Disable all documents or only the document of the ViewFram */
bool
bWait
/* Activate the wait-Pointer initially (TRUE) */
)
/* [Description]
...
...
@@ -146,15 +146,15 @@ SfxProgress::SfxProgress
:
pImp
(
new
SfxProgress_Impl
(
rText
)
),
nVal
(
0
),
bSuspended
(
sal_T
rue
)
bSuspended
(
t
rue
)
{
pImp
->
bRunning
=
sal_T
rue
;
pImp
->
bRunning
=
t
rue
;
pImp
->
bAllowRescheduling
=
Application
::
IsInExecute
();
pImp
->
xObjSh
=
pObjSh
;
pImp
->
aText
=
rText
;
pImp
->
nMax
=
nRange
;
pImp
->
bLocked
=
sal_F
alse
;
pImp
->
bLocked
=
f
alse
;
pImp
->
bWaitMode
=
bWait
;
pImp
->
nCreate
=
Get10ThSec
();
pImp
->
nNextReschedule
=
pImp
->
nCreate
;
...
...
@@ -208,7 +208,7 @@ void SfxProgress::Stop()
if
(
!
pImp
->
bRunning
)
return
;
pImp
->
bRunning
=
sal_F
alse
;
pImp
->
bRunning
=
f
alse
;
DBG
(
DbgOutf
(
"SfxProgress: destroyed at %luds"
,
Get10ThSec
()
)
);
Suspend
();
...
...
@@ -217,7 +217,7 @@ void SfxProgress::Stop()
else
SFX_APP
()
->
SetProgress_Impl
(
0
);
if
(
pImp
->
bLocked
)
pImp
->
Enable_Impl
(
sal_T
rue
);
pImp
->
Enable_Impl
(
t
rue
);
}
...
...
@@ -257,7 +257,7 @@ long TimeOut_Impl( void*, void* pArgV )
sal_B
ool
SfxProgress
::
SetStateText
b
ool
SfxProgress
::
SetStateText
(
sal_uLong
nNewVal
,
/* New value for the progress-bar */
const
OUString
&
rNewVal
,
/* Status as Text */
...
...
@@ -271,7 +271,7 @@ sal_Bool SfxProgress::SetStateText
sal_B
ool
SfxProgress
::
SetState
b
ool
SfxProgress
::
SetState
(
sal_uLong
nNewVal
,
/* new value for the progress bar */
...
...
@@ -283,7 +283,7 @@ sal_Bool SfxProgress::SetState
[Return value]
sal_B
ool TRUE
b
ool TRUE
Proceed with the action
FALSE
...
...
@@ -291,7 +291,7 @@ sal_Bool SfxProgress::SetState
*/
{
if
(
pImp
->
pActiveProgress
)
return
sal_T
rue
;
if
(
pImp
->
pActiveProgress
)
return
t
rue
;
nVal
=
nNewVal
;
...
...
@@ -351,7 +351,7 @@ sal_Bool SfxProgress::SetState
pImp
->
xStatusInd
->
setValue
(
nNewVal
);
}
return
sal_T
rue
;
return
t
rue
;
}
...
...
@@ -396,7 +396,7 @@ void SfxProgress::Resume()
pFrame
->
GetBindings
().
ENTERREGISTRATIONS
();
}
bSuspended
=
sal_F
alse
;
bSuspended
=
f
alse
;
}
}
...
...
@@ -418,7 +418,7 @@ void SfxProgress::Suspend()
if
(
!
bSuspended
)
{
DBG
(
DbgOutf
(
"SfxProgress: suspended"
)
);
bSuspended
=
sal_T
rue
;
bSuspended
=
t
rue
;
if
(
pImp
->
xStatusInd
.
is
()
)
{
...
...
@@ -451,8 +451,8 @@ void SfxProgress::UnLock()
return
;
DBG
(
DbgOutf
(
"SfxProgress: unlocked"
)
);
pImp
->
bLocked
=
sal_F
alse
;
pImp
->
Enable_Impl
(
sal_T
rue
);
pImp
->
bLocked
=
f
alse
;
pImp
->
Enable_Impl
(
t
rue
);
}
...
...
sfx2/source/control/dispatch.cxx
Dosyayı görüntüle @
fb77ab1d
...
...
@@ -307,7 +307,7 @@ int SfxDispatcher::Call_Impl( SfxShell& rShell, const SfxSlot &rSlot, SfxRequest
}
// do nothing after this object is dead
return
rReq
.
IsDone
();
return
rReq
.
IsDone
()
?
1
:
0
;
}
}
...
...
@@ -960,7 +960,7 @@ void SfxDispatcher::_Execute
if
(
&
rShell
==
*
(
pDispat
->
pImp
->
aStack
.
rbegin
()
+
n
)
)
{
if
(
eCallMode
&
SFX_CALLMODE_RECORD
)
rReq
.
AllowRecording
(
sal_T
rue
);
rReq
.
AllowRecording
(
t
rue
);
pDispat
->
pImp
->
xPoster
->
Post
(
new
SfxRequest
(
rReq
));
return
;
}
...
...
@@ -1267,7 +1267,7 @@ IMPL_LINK( SfxDispatcher, PostMsgHandler, SfxRequest*, pReq )
// When the pSlot is a "Pseudoslot" for macros or Verbs, it can
// be destroyed in the Call_Impl, thus do not use it anymore!
pReq
->
SetSynchronCall
(
sal_F
alse
);
pReq
->
SetSynchronCall
(
f
alse
);
Call_Impl
(
*
pSh
,
*
pSlot
,
*
pReq
,
pReq
->
AllowsRecording
()
);
//! why bRecord?
DBG
(
pSfxApp
->
LeaveAsynchronCall_Impl
()
);
}
...
...
sfx2/source/control/request.cxx
Dosyayı görüntüle @
fb77ab1d
...
...
@@ -59,15 +59,15 @@ struct SfxRequest_Impl: public SfxListener
SfxPoolItem
*
pRetVal
;
// Return value belongs to itself
SfxShell
*
pShell
;
// run from this shell
const
SfxSlot
*
pSlot
;
// executed Slot
sal_uInt16
nModifier
;
// which Modifier was pressed?
sal_B
ool
bDone
;
// at all executed
sal_B
ool
bIgnored
;
// Cancelled by the User
sal_B
ool
bCancelled
;
// no longer notify
sal_B
ool
bUseTarget
;
// aTarget was set by Application
sal_uInt16
nCallMode
;
// Synch/Asynch/API/Record
sal_Bool
bAllowRecording
;
SfxAllItemSet
*
pInternalArgs
;
SfxViewFrame
*
pViewFrame
;
sal_uInt16
nModifier
;
// which Modifier was pressed?
b
ool
bDone
;
// at all executed
b
ool
bIgnored
;
// Cancelled by the User
b
ool
bCancelled
;
// no longer notify
b
ool
bUseTarget
;
// aTarget was set by Application
sal_uInt16
nCallMode
;
// Synch/Asynch/API/Record
bool
bAllowRecording
;
SfxAllItemSet
*
pInternalArgs
;
SfxViewFrame
*
pViewFrame
;
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
frame
::
XDispatchRecorder
>
xRecorder
;
...
...
@@ -78,9 +78,9 @@ struct SfxRequest_Impl: public SfxListener
,
pShell
(
0
)
,
pSlot
(
0
)
,
nModifier
(
0
)
,
bCancelled
(
sal_F
alse
)
,
bCancelled
(
f
alse
)
,
nCallMode
(
SFX_CALLMODE_SYNCHRON
)
,
bAllowRecording
(
sal_F
alse
)
,
bAllowRecording
(
f
alse
)
,
pInternalArgs
(
0
)
,
pViewFrame
(
0
)
{}
...
...
@@ -144,8 +144,8 @@ SfxRequest::SfxRequest
pImp
(
new
SfxRequest_Impl
(
this
)
)
{
pImp
->
bAllowRecording
=
rOrig
.
pImp
->
bAllowRecording
;
pImp
->
bDone
=
sal_F
alse
;
pImp
->
bIgnored
=
sal_F
alse
;
pImp
->
bDone
=
f
alse
;
pImp
->
bIgnored
=
f
alse
;
pImp
->
pRetVal
=
0
;
pImp
->
pShell
=
0
;
pImp
->
pSlot
=
0
;
...
...
@@ -185,14 +185,14 @@ SfxRequest::SfxRequest
pArgs
(
0
),
pImp
(
new
SfxRequest_Impl
(
this
)
)
{
pImp
->
bDone
=
sal_F
alse
;
pImp
->
bIgnored
=
sal_F
alse
;
pImp
->
bDone
=
f
alse
;
pImp
->
bIgnored
=
f
alse
;
pImp
->
SetPool
(
&
pViewFrame
->
GetPool
()
);
pImp
->
pRetVal
=
0
;
pImp
->
pShell
=
0
;
pImp
->
pSlot
=
0
;
pImp
->
nCallMode
=
SFX_CALLMODE_SYNCHRON
;
pImp
->
bUseTarget
=
sal_F
alse
;
pImp
->
bUseTarget
=
f
alse
;
pImp
->
pViewFrame
=
pViewFrame
;
if
(
pImp
->
pViewFrame
->
GetDispatcher
()
->
GetShellAndSlot_Impl
(
nSlotId
,
&
pImp
->
pShell
,
&
pImp
->
pSlot
,
true
,
true
)
)
{
...
...
@@ -226,14 +226,14 @@ SfxRequest::SfxRequest
pArgs
(
0
),
pImp
(
new
SfxRequest_Impl
(
this
)
)
{
pImp
->
bDone
=
sal_F
alse
;
pImp
->
bIgnored
=
sal_F
alse
;
pImp
->
bDone
=
f
alse
;
pImp
->
bIgnored
=
f
alse
;
pImp
->
SetPool
(
&
rPool
);
pImp
->
pRetVal
=
0
;
pImp
->
pShell
=
0
;
pImp
->
pSlot
=
0
;
pImp
->
nCallMode
=
nMode
;
pImp
->
bUseTarget
=
sal_F
alse
;
pImp
->
bUseTarget
=
f
alse
;
}
SfxRequest
::
SfxRequest
...
...
@@ -247,14 +247,14 @@ SfxRequest::SfxRequest
pArgs
(
new
SfxAllItemSet
(
rPool
)),
pImp
(
new
SfxRequest_Impl
(
this
)
)
{
pImp
->
bDone
=
sal_F
alse
;
pImp
->
bIgnored
=
sal_F
alse
;
pImp
->
bDone
=
f
alse
;
pImp
->
bIgnored
=
f
alse
;
pImp
->
SetPool
(
&
rPool
);
pImp
->
pRetVal
=
0
;
pImp
->
pShell
=
0
;
pImp
->
pSlot
=
0
;
pImp
->
nCallMode
=
nMode
;
pImp
->
bUseTarget
=
sal_F
alse
;
pImp
->
bUseTarget
=
f
alse
;
TransformParameters
(
nSlot
,
rArgs
,
*
pArgs
,
pSlot
);
}
...
...
@@ -273,14 +273,14 @@ SfxRequest::SfxRequest
pArgs
(
new
SfxAllItemSet
(
rSfxArgs
)),
pImp
(
new
SfxRequest_Impl
(
this
)
)
{
pImp
->
bDone
=
sal_F
alse
;
pImp
->
bIgnored
=
sal_F
alse
;
pImp
->
bDone
=
f
alse
;
pImp
->
bIgnored
=
f
alse
;
pImp
->
SetPool
(
rSfxArgs
.
GetPool
()
);
pImp
->
pRetVal
=
0
;
pImp
->
pShell
=
0
;
pImp
->
pSlot
=
0
;
pImp
->
nCallMode
=
nMode
;
pImp
->
bUseTarget
=
sal_F
alse
;
pImp
->
bUseTarget
=
f
alse
;
}
...
...
@@ -291,14 +291,14 @@ sal_uInt16 SfxRequest::GetCallMode() const
sal_B
ool
SfxRequest
::
IsSynchronCall
()
const
b
ool
SfxRequest
::
IsSynchronCall
()
const
{
return
SFX_CALLMODE_SYNCHRON
==
(
SFX_CALLMODE_SYNCHRON
&
pImp
->
nCallMode
);
}
void
SfxRequest
::
SetSynchronCall
(
sal_B
ool
bSynchron
)
void
SfxRequest
::
SetSynchronCall
(
b
ool
bSynchron
)
{
if
(
bSynchron
)
pImp
->
nCallMode
|=
SFX_CALLMODE_SYNCHRON
;
...
...
@@ -590,7 +590,7 @@ void SfxRequest::Done
void
SfxRequest
::
Done
(
sal_B
ool
bRelease
)
void
SfxRequest
::
Done
(
b
ool
bRelease
)
// [<SfxRequest::Done(SfxItemSet&)>]
{
Done_Impl
(
pArgs
);
...
...
@@ -608,7 +608,7 @@ void SfxRequest::ForgetAllArgs()
sal_B
ool
SfxRequest
::
IsCancelled
()
const
b
ool
SfxRequest
::
IsCancelled
()
const
{
return
pImp
->
bCancelled
;
}
...
...
@@ -624,7 +624,7 @@ void SfxRequest::Cancel()
*/
{
pImp
->
bCancelled
=
sal_T
rue
;
pImp
->
bCancelled
=
t
rue
;
pImp
->
SetPool
(
0
);
DELETEZ
(
pArgs
);
}
...
...
@@ -648,7 +648,7 @@ void SfxRequest::Ignore()
{
// Mark as actually executed
pImp
->
bIgnored
=
sal_T
rue
;
pImp
->
bIgnored
=
t
rue
;
}
...
...
@@ -670,7 +670,7 @@ void SfxRequest::Done_Impl
{
// Mark as actually executed
pImp
->
bDone
=
sal_T
rue
;
pImp
->
bDone
=
t
rue
;
// not Recording
if
(
!
pImp
->
xRecorder
.
is
()
)
...
...
@@ -768,7 +768,7 @@ void SfxRequest::Done_Impl
sal_B
ool
SfxRequest
::
IsDone
()
const
b
ool
SfxRequest
::
IsDone
()
const
/* [Description]
...
...
@@ -777,7 +777,7 @@ sal_Bool SfxRequest::IsDone() const
because it was canceled by the user or the context for this request was
wrong, this was not implemented on a separate <SfxShell>.
SfxRequest instances that return
sal_F
alse will not be recorded.
SfxRequest instances that return
f
alse will not be recorded.
[Cross-reference]
...
...
@@ -821,7 +821,7 @@ com::sun::star::uno::Reference< com::sun::star::frame::XDispatchRecorder > SfxRe
return
xRecorder
;
}
sal_B
ool
SfxRequest
::
HasMacroRecorder
(
SfxViewFrame
*
pView
)
b
ool
SfxRequest
::
HasMacroRecorder
(
SfxViewFrame
*
pView
)
{
return
GetMacroRecorder
(
pView
).
is
();
}
...
...
@@ -829,12 +829,12 @@ sal_Bool SfxRequest::HasMacroRecorder( SfxViewFrame* pView )
sal_B
ool
SfxRequest
::
IsAPI
()
const
b
ool
SfxRequest
::
IsAPI
()
const
/* [Description]
Returns
sal_T
rue if this SfxRequest was generated by an API (for example BASIC),
otherwise
sal_F
alse.
Returns
t
rue if this SfxRequest was generated by an API (for example BASIC),
otherwise
f
alse.
*/
{
...
...
@@ -855,14 +855,14 @@ sal_uInt16 SfxRequest::GetModifier() const
void
SfxRequest
::
AllowRecording
(
sal_B
ool
bSet
)
void
SfxRequest
::
AllowRecording
(
b
ool
bSet
)
{
pImp
->
bAllowRecording
=
bSet
;
}
sal_B
ool
SfxRequest
::
AllowsRecording
()
const
b
ool
SfxRequest
::
AllowsRecording
()
const
{
sal_B
ool
bAllow
=
pImp
->
bAllowRecording
;
b
ool
bAllow
=
pImp
->
bAllowRecording
;
if
(
!
bAllow
)
bAllow
=
(
SFX_CALLMODE_API
!=
(
SFX_CALLMODE_API
&
pImp
->
nCallMode
)
)
&&
(
SFX_CALLMODE_RECORD
==
(
SFX_CALLMODE_RECORD
&
pImp
->
nCallMode
)
);
...
...
sfx2/source/view/printer.cxx
Dosyayı görüntüle @
fb77ab1d
...
...
@@ -37,25 +37,25 @@
struct
SfxPrinter_Impl
{
sal_B
ool
mbAll
;
sal_B
ool
mbSelection
;
sal_B
ool
mbFromTo
;
sal_B
ool
mbRange
;
b
ool
mbAll
;
b
ool
mbSelection
;
b
ool
mbFromTo
;
b
ool
mbRange
;
SfxPrinter_Impl
()
:
mbAll
(
sal_T
rue
),
mbSelection
(
sal_T
rue
),
mbFromTo
(
sal_T
rue
),
mbRange
(
sal_T
rue
)
{}
mbAll
(
t
rue
),
mbSelection
(
t
rue
),
mbFromTo
(
t
rue
),
mbRange
(
t
rue
)
{}
~
SfxPrinter_Impl
()
{}
};
struct
SfxPrintOptDlg_Impl
{
sal_B
ool
mbHelpDisabled
;
b
ool
mbHelpDisabled
;
SfxPrintOptDlg_Impl
()
:
mbHelpDisabled
(
sal_F
alse
)
{}
mbHelpDisabled
(
f
alse
)
{}
};
// class SfxPrinter ------------------------------------------------------
...
...
@@ -106,7 +106,7 @@ SfxPrinter::SfxPrinter( SfxItemSet* pTheOptions ) :
*/
pOptions
(
pTheOptions
),
bKnown
(
sal_T
rue
)
bKnown
(
t
rue
)
{
pImpl
=
new
SfxPrinter_Impl
;
...
...
@@ -262,7 +262,7 @@ bool SfxPrintOptionsDialog::Notify( NotifyEvent& rNEvt )
void
SfxPrintOptionsDialog
::
DisableHelp
()
{
pDlgImpl
->
mbHelpDisabled
=
sal_T
rue
;
pDlgImpl
->
mbHelpDisabled
=
t
rue
;
get
<
HelpButton
>
(
"help"
)
->
Disable
();
}
...
...
sfx2/source/view/viewfrm.cxx
Dosyayı görüntüle @
fb77ab1d
...
...
@@ -504,7 +504,7 @@ void SfxViewFrame::ExecReload_Impl( SfxRequest& rReq )
}
// Readonly document can not be switched to edit mode?
rReq
.
Done
(
sal_F
alse
);
rReq
.
Done
(
f
alse
);
if
(
nOpenMode
==
SFX_STREAM_READWRITE
&&
!
rReq
.
IsAPI
()
)
{
...
...
@@ -548,7 +548,7 @@ void SfxViewFrame::ExecReload_Impl( SfxRequest& rReq )
pSh
->
DoSaveCompleted
(
pMed
);
pSh
->
Broadcast
(
SfxSimpleHint
(
SFX_HINT_MODECHANGED
)
);
rReq
.
SetReturnValue
(
SfxBoolItem
(
rReq
.
GetSlot
(),
true
)
);
rReq
.
Done
(
sal_T
rue
);
rReq
.
Done
(
t
rue
);
return
;
}
}
...
...
@@ -840,7 +840,7 @@ void SfxViewFrame::ExecReload_Impl( SfxRequest& rReq )
}
// Record as done
rReq
.
Done
(
sal_T
rue
);
rReq
.
Done
(
t
rue
);
rReq
.
SetReturnValue
(
SfxBoolItem
(
rReq
.
GetSlot
(),
true
));
return
;
}
...
...
sfx2/source/view/viewsh.cxx
Dosyayı görüntüle @
fb77ab1d
...
...
@@ -657,7 +657,7 @@ void SfxViewShell::ExecMisc_Impl( SfxRequest &rReq )
// No type and no location => error
if
(
aFilterName
.
isEmpty
()
||
aTypeName
.
isEmpty
())
{
rReq
.
Done
(
sal_F
alse
);
rReq
.
Done
(
f
alse
);
return
;
}
...
...
@@ -698,7 +698,7 @@ void SfxViewShell::ExecMisc_Impl( SfxRequest &rReq )
}
catch
(
const
io
::
IOException
&
)
{
rReq
.
Done
(
sal_F
alse
);
rReq
.
Done
(
f
alse
);
return
;
}
...
...
@@ -707,7 +707,7 @@ void SfxViewShell::ExecMisc_Impl( SfxRequest &rReq )
}
else
{
rReq
.
Done
(
sal_F
alse
);
rReq
.
Done
(
f
alse
);
return
;
}
}
...
...
@@ -725,7 +725,7 @@ void SfxViewShell::ExecMisc_Impl( SfxRequest &rReq )
// Jetzt schon DONE aufrufen, da die Argumente evtl. einen Pool
// benutzen, der demn"achst weg ist
rReq
.
Done
(
sal_T
rue
);
rReq
.
Done
(
t
rue
);
// ausfuehren
if
(
!
pShowItem
||
(
bActive
!=
pImp
->
m_bPlugInsActive
))
...
...
sw/source/core/uibase/app/mainwn.cxx
Dosyayı görüntüle @
fb77ab1d
...
...
@@ -68,8 +68,8 @@ void StartProgress( sal_uInt16 nMessResId, long nStartValue, long nEndValue,
pProgress
->
pProgress
=
new
SfxProgress
(
pDocShell
,
SW_RESSTR
(
nMessResId
),
nEndValue
-
nStartValue
,
sal_F
alse
,
sal_T
rue
);
f
alse
,
t
rue
);
pProgress
->
nStartCount
=
1
;
pProgress
->
pDocShell
=
pDocShell
;
pProgressContainer
->
insert
(
pProgressContainer
->
begin
(),
pProgress
);
...
...
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