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
b466b6f2
Kaydet (Commit)
b466b6f2
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: I0240d8d093478c62fd7d63cac228092e641bf0dc
üst
fb77ab1d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
15 deletions
+15
-15
sfxbasecontroller.hxx
include/sfx2/sfxbasecontroller.hxx
+3
-3
sfxbasecontroller.cxx
sfx2/source/view/sfxbasecontroller.cxx
+11
-11
viewsh.cxx
sfx2/source/view/viewsh.cxx
+1
-1
No files found.
include/sfx2/sfxbasecontroller.hxx
Dosyayı görüntüle @
b466b6f2
...
...
@@ -351,9 +351,9 @@ public:
// FIXME: TL needs this in sw/source/ui/uno/unotxdoc.cxx now;
// either the _Impl name should vanish or there should be an "official" API
SfxViewShell
*
GetViewShell_Impl
()
const
;
SAL_DLLPRIVATE
sal_B
ool
HandleEvent_Impl
(
NotifyEvent
&
rEvent
);
SAL_DLLPRIVATE
sal_B
ool
HasKeyListeners_Impl
();
SAL_DLLPRIVATE
sal_B
ool
HasMouseClickListeners_Impl
();
SAL_DLLPRIVATE
b
ool
HandleEvent_Impl
(
NotifyEvent
&
rEvent
);
SAL_DLLPRIVATE
b
ool
HasKeyListeners_Impl
();
SAL_DLLPRIVATE
b
ool
HasMouseClickListeners_Impl
();
SAL_DLLPRIVATE
void
SetCreationArguments_Impl
(
const
css
::
uno
::
Sequence
<
css
::
beans
::
PropertyValue
>&
i_rCreationArgs
);
SAL_DLLPRIVATE
css
::
uno
::
Reference
<
css
::
frame
::
XTitle
>
impl_getTitleHelper
();
private
:
...
...
sfx2/source/view/sfxbasecontroller.cxx
Dosyayı görüntüle @
b466b6f2
...
...
@@ -398,7 +398,7 @@ struct IMPL_SfxBaseController_DataContainer
SfxViewShell
*
m_pViewShell
;
SfxBaseController
*
m_pController
;
bool
m_bDisposing
;
sal_Bool
m_bSuspendState
;
bool
m_bSuspendState
;
Reference
<
XTitle
>
m_xTitleHelper
;
Sequence
<
PropertyValue
>
m_aCreationArgs
;
...
...
@@ -413,7 +413,7 @@ struct IMPL_SfxBaseController_DataContainer
,
m_pViewShell
(
pViewShell
)
,
m_pController
(
pController
)
,
m_bDisposing
(
false
)
,
m_bSuspendState
(
sal_F
alse
)
,
m_bSuspendState
(
f
alse
)
{
}
...
...
@@ -606,14 +606,14 @@ sal_Bool SAL_CALL SfxBaseController::suspend( sal_Bool bSuspend ) throw( Runtime
SolarMutexGuard
aGuard
;
// ignore dublicate calls, which doesn't change anything real
if
(
bSuspend
==
m_pData
->
m_bSuspendState
)
if
(
bSuspend
==
(
m_pData
->
m_bSuspendState
?
1
:
0
)
)
return
sal_True
;
if
(
bSuspend
==
sal_True
)
{
if
(
!
m_pData
->
m_pViewShell
)
{
m_pData
->
m_bSuspendState
=
sal_T
rue
;
m_pData
->
m_bSuspendState
=
t
rue
;
return
sal_True
;
}
...
...
@@ -635,7 +635,7 @@ sal_Bool SAL_CALL SfxBaseController::suspend( sal_Bool bSuspend ) throw( Runtime
if
(
bRet
)
{
ConnectSfxFrame_Impl
(
E_DISCONNECT
);
m_pData
->
m_bSuspendState
=
sal_T
rue
;
m_pData
->
m_bSuspendState
=
t
rue
;
}
return
bRet
;
...
...
@@ -650,7 +650,7 @@ sal_Bool SAL_CALL SfxBaseController::suspend( sal_Bool bSuspend ) throw( Runtime
ConnectSfxFrame_Impl
(
E_RECONNECT
);
}
m_pData
->
m_bSuspendState
=
sal_F
alse
;
m_pData
->
m_bSuspendState
=
f
alse
;
return
sal_True
;
}
}
...
...
@@ -743,7 +743,7 @@ Reference< frame::XDispatch > SAL_CALL SfxBaseController::queryDispatch( const
if
(
aURL
.
Protocol
==
".uno:"
)
{
OUString
aMasterCommand
=
SfxOfficeDispatch
::
GetMasterUnoCommand
(
aURL
);
sal_Bool
bMasterCommand
(
!
aMasterCommand
.
isEmpty
()
);
bool
bMasterCommand
(
!
aMasterCommand
.
isEmpty
()
);
pAct
=
m_pData
->
m_pViewShell
->
GetViewFrame
()
;
SfxSlotPool
&
rSlotPool
=
SfxSlotPool
::
GetSlotPool
(
pAct
);
...
...
@@ -1210,17 +1210,17 @@ throw (RuntimeException, std::exception)
return
aSeq
;
}
sal_B
ool
SfxBaseController
::
HandleEvent_Impl
(
NotifyEvent
&
rEvent
)
b
ool
SfxBaseController
::
HandleEvent_Impl
(
NotifyEvent
&
rEvent
)
{
return
m_pData
->
m_aUserInputInterception
.
handleNotifyEvent
(
rEvent
);
}
sal_B
ool
SfxBaseController
::
HasKeyListeners_Impl
()
b
ool
SfxBaseController
::
HasKeyListeners_Impl
()
{
return
m_pData
->
m_aUserInputInterception
.
hasKeyHandlers
();
}
sal_B
ool
SfxBaseController
::
HasMouseClickListeners_Impl
()
b
ool
SfxBaseController
::
HasMouseClickListeners_Impl
()
{
return
m_pData
->
m_aUserInputInterception
.
hasMouseClickListeners
();
}
...
...
@@ -1431,7 +1431,7 @@ void SfxBaseController::ShowInfoBars( )
// Loop over the CMIS Properties to find cmis:isVersionSeriesCheckedOut
// and find if it is a Google Drive file.
bool
bIsGoogleFile
=
false
;
sal_Bool
bCheckedOut
=
sal_F
alse
;
bool
bCheckedOut
=
f
alse
;
for
(
sal_Int32
i
=
0
;
i
<
aCmisProperties
.
getLength
();
++
i
)
{
if
(
aCmisProperties
[
i
].
Id
==
"cmis:isVersionSeriesCheckedOut"
)
{
...
...
sfx2/source/view/viewsh.cxx
Dosyayı görüntüle @
b466b6f2
...
...
@@ -2025,7 +2025,7 @@ void SfxViewShell::TakeFrameOwnership_Impl()
long
SfxViewShell
::
HandleNotifyEvent_Impl
(
NotifyEvent
&
rEvent
)
{
if
(
pImp
->
m_pController
.
is
())
return
pImp
->
m_pController
->
HandleEvent_Impl
(
rEvent
);
return
pImp
->
m_pController
->
HandleEvent_Impl
(
rEvent
)
?
1
:
0
;
return
0
;
}
...
...
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