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
65c3e11e
Kaydet (Commit)
65c3e11e
authored
Mar 25, 2014
tarafından
Noel Grandin
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
framework: sal_Bool->bool
Change-Id: If3276f184c63e85762fe54ce19655c30e00aeb15
üst
d4aa726f
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
22 changed files
with
85 additions
and
85 deletions
+85
-85
addonmenu.cxx
framework/source/fwe/classes/addonmenu.cxx
+10
-10
addonsoptions.cxx
framework/source/fwe/classes/addonsoptions.cxx
+0
-0
framelistanalyzer.cxx
framework/source/fwe/classes/framelistanalyzer.cxx
+4
-4
interaction.cxx
framework/source/fwe/dispatch/interaction.cxx
+3
-3
actiontriggerhelper.cxx
framework/source/fwe/helper/actiontriggerhelper.cxx
+1
-1
configimporter.cxx
framework/source/fwe/helper/configimporter.cxx
+3
-3
titlehelper.cxx
framework/source/fwe/helper/titlehelper.cxx
+8
-8
undomanagerhelper.cxx
framework/source/fwe/helper/undomanagerhelper.cxx
+5
-5
preventduplicateinteraction.cxx
...rk/source/fwe/interaction/preventduplicateinteraction.cxx
+5
-5
statusbarconfiguration.cxx
framework/source/fwe/xml/statusbarconfiguration.cxx
+10
-10
toolboxconfiguration.cxx
framework/source/fwe/xml/toolboxconfiguration.cxx
+10
-10
imagebuttontoolbarcontroller.cxx
framework/source/uielement/imagebuttontoolbarcontroller.cxx
+1
-1
addonmenu.hxx
include/framework/addonmenu.hxx
+5
-5
addonsoptions.hxx
include/framework/addonsoptions.hxx
+4
-4
configimporter.hxx
include/framework/configimporter.hxx
+1
-1
framelistanalyzer.hxx
include/framework/framelistanalyzer.hxx
+3
-3
interaction.hxx
include/framework/interaction.hxx
+1
-1
preventduplicateinteraction.hxx
include/framework/preventduplicateinteraction.hxx
+3
-3
statusbarconfiguration.hxx
include/framework/statusbarconfiguration.hxx
+2
-2
titlehelper.hxx
include/framework/titlehelper.hxx
+1
-1
toolboxconfiguration.hxx
include/framework/toolboxconfiguration.hxx
+2
-2
undomanagerhelper.hxx
include/framework/undomanagerhelper.hxx
+3
-3
No files found.
framework/source/fwe/classes/addonmenu.cxx
Dosyayı görüntüle @
65c3e11e
...
@@ -69,7 +69,7 @@ AddonMenu::~AddonMenu()
...
@@ -69,7 +69,7 @@ AddonMenu::~AddonMenu()
// Check if command URL string has the unique prefix to identify addon popup menus
// Check if command URL string has the unique prefix to identify addon popup menus
sal_B
ool
AddonPopupMenu
::
IsCommandURLPrefix
(
const
OUString
&
aCmdURL
)
b
ool
AddonPopupMenu
::
IsCommandURLPrefix
(
const
OUString
&
aCmdURL
)
{
{
const
char
aPrefixCharBuf
[]
=
ADDONSPOPUPMENU_URL_PREFIX_STR
;
const
char
aPrefixCharBuf
[]
=
ADDONSPOPUPMENU_URL_PREFIX_STR
;
...
@@ -103,7 +103,7 @@ static Reference< XModel > GetModelFromFrame( const Reference< XFrame >& rFrame
...
@@ -103,7 +103,7 @@ static Reference< XModel > GetModelFromFrame( const Reference< XFrame >& rFrame
sal_B
ool
AddonMenuManager
::
HasAddonMenuElements
()
b
ool
AddonMenuManager
::
HasAddonMenuElements
()
{
{
return
AddonsOptions
().
HasAddonsMenu
();
return
AddonsOptions
().
HasAddonsMenu
();
}
}
...
@@ -279,10 +279,10 @@ void AddonMenuManager::BuildMenu( PopupMenu* pCurrent
...
@@ -279,10 +279,10 @@ void AddonMenuManager::BuildMenu( PopupMenu* pCurrent
const
Reference
<
XModel
>&
rModel
)
const
Reference
<
XModel
>&
rModel
)
{
{
Sequence
<
Sequence
<
PropertyValue
>
>
aAddonSubMenu
;
Sequence
<
Sequence
<
PropertyValue
>
>
aAddonSubMenu
;
sal_Bool
bInsertSeparator
=
sal_F
alse
;
bool
bInsertSeparator
=
f
alse
;
sal_uInt32
i
=
0
;
sal_uInt32
i
=
0
;
sal_uInt32
nElements
=
0
;
sal_uInt32
nElements
=
0
;
sal_uInt32
nCount
=
aAddonMenuDefinition
.
getLength
();
sal_uInt32
nCount
=
aAddonMenuDefinition
.
getLength
();
AddonsOptions
aAddonsOptions
;
AddonsOptions
aAddonsOptions
;
OUString
aTitle
;
OUString
aTitle
;
...
@@ -299,7 +299,7 @@ void AddonMenuManager::BuildMenu( PopupMenu* pCurrent
...
@@ -299,7 +299,7 @@ void AddonMenuManager::BuildMenu( PopupMenu* pCurrent
continue
;
continue
;
if
(
aURL
==
"private:separator"
)
if
(
aURL
==
"private:separator"
)
bInsertSeparator
=
sal_T
rue
;
bInsertSeparator
=
t
rue
;
else
else
{
{
PopupMenu
*
pSubMenu
=
NULL
;
PopupMenu
*
pSubMenu
=
NULL
;
...
@@ -322,7 +322,7 @@ void AddonMenuManager::BuildMenu( PopupMenu* pCurrent
...
@@ -322,7 +322,7 @@ void AddonMenuManager::BuildMenu( PopupMenu* pCurrent
// Insert a separator only when we insert a new element afterwards and we
// Insert a separator only when we insert a new element afterwards and we
// have already one before us
// have already one before us
nElements
=
0
;
nElements
=
0
;
bInsertSeparator
=
sal_F
alse
;
bInsertSeparator
=
f
alse
;
pCurrentMenu
->
InsertSeparator
(
OString
(),
nInsPos
);
pCurrentMenu
->
InsertSeparator
(
OString
(),
nInsPos
);
nInsPos
=
AddonMenuManager
::
GetNextPos
(
nInsPos
);
nInsPos
=
AddonMenuManager
::
GetNextPos
(
nInsPos
);
}
}
...
@@ -375,7 +375,7 @@ void AddonMenuManager::GetMenuEntry( const Sequence< PropertyValue >& rAddonMenu
...
@@ -375,7 +375,7 @@ void AddonMenuManager::GetMenuEntry( const Sequence< PropertyValue >& rAddonMenu
}
}
// Check if the context string matches the provided xModel context
// Check if the context string matches the provided xModel context
sal_B
ool
AddonMenuManager
::
IsCorrectContext
(
const
Reference
<
XModel
>&
rModel
,
const
OUString
&
aContext
)
b
ool
AddonMenuManager
::
IsCorrectContext
(
const
Reference
<
XModel
>&
rModel
,
const
OUString
&
aContext
)
{
{
if
(
rModel
.
is
()
)
if
(
rModel
.
is
()
)
{
{
...
@@ -388,7 +388,7 @@ sal_Bool AddonMenuManager::IsCorrectContext( const Reference< XModel >& rModel,
...
@@ -388,7 +388,7 @@ sal_Bool AddonMenuManager::IsCorrectContext( const Reference< XModel >& rModel,
OUString
aToken
=
aContext
.
getToken
(
0
,
','
,
nIndex
);
OUString
aToken
=
aContext
.
getToken
(
0
,
','
,
nIndex
);
if
(
xServiceInfo
->
supportsService
(
aToken
))
if
(
xServiceInfo
->
supportsService
(
aToken
))
return
sal_T
rue
;
return
t
rue
;
}
}
while
(
nIndex
>=
0
);
while
(
nIndex
>=
0
);
}
}
...
...
framework/source/fwe/classes/addonsoptions.cxx
Dosyayı görüntüle @
65c3e11e
This diff is collapsed.
Click to expand it.
framework/source/fwe/classes/framelistanalyzer.cxx
Dosyayı görüntüle @
65c3e11e
...
@@ -70,9 +70,9 @@ FrameListAnalyzer::~FrameListAnalyzer()
...
@@ -70,9 +70,9 @@ FrameListAnalyzer::~FrameListAnalyzer()
void
FrameListAnalyzer
::
impl_analyze
()
void
FrameListAnalyzer
::
impl_analyze
()
{
{
// reset all members to get a consistent state
// reset all members to get a consistent state
m_bReferenceIsHidden
=
sal_F
alse
;
m_bReferenceIsHidden
=
f
alse
;
m_bReferenceIsHelp
=
sal_F
alse
;
m_bReferenceIsHelp
=
f
alse
;
m_bReferenceIsBacking
=
sal_F
alse
;
m_bReferenceIsBacking
=
f
alse
;
m_xHelp
=
css
::
uno
::
Reference
<
css
::
frame
::
XFrame
>
();
m_xHelp
=
css
::
uno
::
Reference
<
css
::
frame
::
XFrame
>
();
m_xBackingComponent
=
css
::
uno
::
Reference
<
css
::
frame
::
XFrame
>
();
m_xBackingComponent
=
css
::
uno
::
Reference
<
css
::
frame
::
XFrame
>
();
...
@@ -143,7 +143,7 @@ void FrameListAnalyzer::impl_analyze()
...
@@ -143,7 +143,7 @@ void FrameListAnalyzer::impl_analyze()
(
m_xReferenceFrame
->
getName
()
==
SPECIALTARGET_HELPTASK
)
(
m_xReferenceFrame
->
getName
()
==
SPECIALTARGET_HELPTASK
)
)
)
{
{
m_bReferenceIsHelp
=
sal_T
rue
;
m_bReferenceIsHelp
=
t
rue
;
}
}
try
try
...
...
framework/source/fwe/dispatch/interaction.cxx
Dosyayı görüntüle @
65c3e11e
...
@@ -91,7 +91,7 @@ class RequestFilterSelect_Impl : public ::cppu::WeakImplHelper1< ::com::sun::sta
...
@@ -91,7 +91,7 @@ class RequestFilterSelect_Impl : public ::cppu::WeakImplHelper1< ::com::sun::sta
{
{
public
:
public
:
RequestFilterSelect_Impl
(
const
OUString
&
sURL
);
RequestFilterSelect_Impl
(
const
OUString
&
sURL
);
sal_Bool
isAbort
()
const
;
bool
isAbort
()
const
;
OUString
getFilter
()
const
;
OUString
getFilter
()
const
;
public
:
public
:
...
@@ -130,7 +130,7 @@ RequestFilterSelect_Impl::RequestFilterSelect_Impl( const OUString& sURL )
...
@@ -130,7 +130,7 @@ RequestFilterSelect_Impl::RequestFilterSelect_Impl( const OUString& sURL )
// return abort state of interaction
// return abort state of interaction
// If it is true, return value of method "getFilter()" will be unspecified then!
// If it is true, return value of method "getFilter()" will be unspecified then!
sal_B
ool
RequestFilterSelect_Impl
::
isAbort
()
const
b
ool
RequestFilterSelect_Impl
::
isAbort
()
const
{
{
return
m_pAbort
->
wasSelected
();
return
m_pAbort
->
wasSelected
();
}
}
...
@@ -181,7 +181,7 @@ RequestFilterSelect::~RequestFilterSelect()
...
@@ -181,7 +181,7 @@ RequestFilterSelect::~RequestFilterSelect()
// return abort state of interaction
// return abort state of interaction
// If it is true, return value of method "getFilter()" will be unspecified then!
// If it is true, return value of method "getFilter()" will be unspecified then!
sal_B
ool
RequestFilterSelect
::
isAbort
()
const
b
ool
RequestFilterSelect
::
isAbort
()
const
{
{
return
pImp
->
isAbort
();
return
pImp
->
isAbort
();
}
}
...
...
framework/source/fwe/helper/actiontriggerhelper.cxx
Dosyayı görüntüle @
65c3e11e
...
@@ -204,7 +204,7 @@ void InsertSubMenuItems( Menu* pSubMenu, sal_uInt16& nItemId, Reference< XIndexC
...
@@ -204,7 +204,7 @@ void InsertSubMenuItems( Menu* pSubMenu, sal_uInt16& nItemId, Reference< XIndexC
else
else
{
{
// Support add-on images for context menu interceptors
// Support add-on images for context menu interceptors
Image
aImage
=
aAddonOptions
.
GetImageFromURL
(
aCommandURL
,
sal_False
,
sal_T
rue
);
Image
aImage
=
aAddonOptions
.
GetImageFromURL
(
aCommandURL
,
false
,
t
rue
);
if
(
!!
aImage
)
if
(
!!
aImage
)
pSubMenu
->
SetItemImage
(
nNewItemId
,
aImage
);
pSubMenu
->
SetItemImage
(
nNewItemId
,
aImage
);
}
}
...
...
framework/source/fwe/helper/configimporter.cxx
Dosyayı görüntüle @
65c3e11e
...
@@ -29,7 +29,7 @@ using namespace ::com::sun::star;
...
@@ -29,7 +29,7 @@ using namespace ::com::sun::star;
namespace
framework
namespace
framework
{
{
sal_B
ool
UIConfigurationImporterOOo1x
::
ImportCustomToolbars
(
b
ool
UIConfigurationImporterOOo1x
::
ImportCustomToolbars
(
const
uno
::
Reference
<
ui
::
XUIConfigurationManager2
>&
rContainerFactory
,
const
uno
::
Reference
<
ui
::
XUIConfigurationManager2
>&
rContainerFactory
,
uno
::
Sequence
<
uno
::
Reference
<
container
::
XIndexContainer
>
>&
rSeqContainer
,
uno
::
Sequence
<
uno
::
Reference
<
container
::
XIndexContainer
>
>&
rSeqContainer
,
const
uno
::
Reference
<
uno
::
XComponentContext
>&
rxContext
,
const
uno
::
Reference
<
uno
::
XComponentContext
>&
rxContext
,
...
@@ -37,7 +37,7 @@ sal_Bool UIConfigurationImporterOOo1x::ImportCustomToolbars(
...
@@ -37,7 +37,7 @@ sal_Bool UIConfigurationImporterOOo1x::ImportCustomToolbars(
{
{
const
char
USERDEFTOOLBOX
[]
=
"userdeftoolbox0.xml"
;
const
char
USERDEFTOOLBOX
[]
=
"userdeftoolbox0.xml"
;
sal_Bool
bResult
(
sal_F
alse
);
bool
bResult
(
f
alse
);
if
(
rToolbarStorage
.
is
()
&&
rContainerFactory
.
is
()
)
if
(
rToolbarStorage
.
is
()
&&
rContainerFactory
.
is
()
)
{
{
try
try
...
@@ -61,7 +61,7 @@ sal_Bool UIConfigurationImporterOOo1x::ImportCustomToolbars(
...
@@ -61,7 +61,7 @@ sal_Bool UIConfigurationImporterOOo1x::ImportCustomToolbars(
sal_uInt32
nIndex
=
rSeqContainer
.
getLength
();
sal_uInt32
nIndex
=
rSeqContainer
.
getLength
();
rSeqContainer
.
realloc
(
nIndex
+
1
);
rSeqContainer
.
realloc
(
nIndex
+
1
);
rSeqContainer
[
nIndex
]
=
xContainer
;
rSeqContainer
[
nIndex
]
=
xContainer
;
bResult
=
sal_T
rue
;
bResult
=
t
rue
;
}
}
}
}
}
}
...
...
framework/source/fwe/helper/titlehelper.cxx
Dosyayı görüntüle @
65c3e11e
...
@@ -45,7 +45,7 @@ TitleHelper::TitleHelper(const css::uno::Reference< css::uno::XComponentContext
...
@@ -45,7 +45,7 @@ TitleHelper::TitleHelper(const css::uno::Reference< css::uno::XComponentContext
,
m_xOwner
()
,
m_xOwner
()
,
m_xUntitledNumbers
()
,
m_xUntitledNumbers
()
,
m_xSubTitle
()
,
m_xSubTitle
()
,
m_bExternalTitle
(
sal_F
alse
)
,
m_bExternalTitle
(
f
alse
)
,
m_sTitle
()
,
m_sTitle
()
,
m_nLeasedNumber
(
css
::
frame
::
UntitledNumbersConst
::
INVALID_NUMBER
)
,
m_nLeasedNumber
(
css
::
frame
::
UntitledNumbersConst
::
INVALID_NUMBER
)
,
m_aListener
(
m_aMutex
)
,
m_aListener
(
m_aMutex
)
...
@@ -133,7 +133,7 @@ void SAL_CALL TitleHelper::setTitle(const OUString& sTitle)
...
@@ -133,7 +133,7 @@ void SAL_CALL TitleHelper::setTitle(const OUString& sTitle)
// SYNCHRONIZED ->
// SYNCHRONIZED ->
::
osl
::
ResettableMutexGuard
aLock
(
m_aMutex
);
::
osl
::
ResettableMutexGuard
aLock
(
m_aMutex
);
m_bExternalTitle
=
sal_T
rue
;
m_bExternalTitle
=
t
rue
;
m_sTitle
=
sTitle
;
m_sTitle
=
sTitle
;
aLock
.
clear
();
aLock
.
clear
();
...
@@ -383,7 +383,7 @@ void TitleHelper::impl_updateTitleForModel (const css::uno::Reference< css::fram
...
@@ -383,7 +383,7 @@ void TitleHelper::impl_updateTitleForModel (const css::uno::Reference< css::fram
// WORKAROUND: the notification is currently sent always,
// WORKAROUND: the notification is currently sent always,
// can be changed after shared mode is supported per UNO API
// can be changed after shared mode is supported per UNO API
sal_Bool
bChanged
=
!
init
;
// && m_sTitle != sTitle
bool
bChanged
=
!
init
;
// && m_sTitle != sTitle
m_sTitle
=
sTitle
;
m_sTitle
=
sTitle
;
m_nLeasedNumber
=
nLeasedNumber
;
m_nLeasedNumber
=
nLeasedNumber
;
...
@@ -450,9 +450,9 @@ void TitleHelper::impl_updateTitleForController (const css::uno::Reference< css:
...
@@ -450,9 +450,9 @@ void TitleHelper::impl_updateTitleForController (const css::uno::Reference< css:
aLock
.
reset
();
aLock
.
reset
();
OUString
sNewTitle
=
sTitle
.
makeStringAndClear
();
OUString
sNewTitle
=
sTitle
.
makeStringAndClear
();
sal_Bool
bChanged
=
!
init
&&
m_sTitle
!=
sNewTitle
;
bool
bChanged
=
!
init
&&
m_sTitle
!=
sNewTitle
;
m_sTitle
=
sNewTitle
;
m_sTitle
=
sNewTitle
;
m_nLeasedNumber
=
nLeasedNumber
;
m_nLeasedNumber
=
nLeasedNumber
;
aLock
.
clear
();
aLock
.
clear
();
// <- SYNCHRONIZED
// <- SYNCHRONIZED
...
@@ -497,8 +497,8 @@ void TitleHelper::impl_updateTitleForFrame (const css::uno::Reference< css::fram
...
@@ -497,8 +497,8 @@ void TitleHelper::impl_updateTitleForFrame (const css::uno::Reference< css::fram
aLock
.
reset
();
aLock
.
reset
();
OUString
sNewTitle
=
sTitle
.
makeStringAndClear
();
OUString
sNewTitle
=
sTitle
.
makeStringAndClear
();
sal_Bool
bChanged
=
!
init
&&
m_sTitle
!=
sNewTitle
;
bool
bChanged
=
!
init
&&
m_sTitle
!=
sNewTitle
;
m_sTitle
=
sNewTitle
;
m_sTitle
=
sNewTitle
;
aLock
.
clear
();
aLock
.
clear
();
// <- SYNCHRONIZED
// <- SYNCHRONIZED
...
...
framework/source/fwe/helper/undomanagerhelper.cxx
Dosyayı görüntüle @
65c3e11e
...
@@ -1006,25 +1006,25 @@ namespace framework
...
@@ -1006,25 +1006,25 @@ namespace framework
}
}
::
sal_B
ool
UndoManagerHelper
::
isUndoPossible
()
const
b
ool
UndoManagerHelper
::
isUndoPossible
()
const
{
{
// SYNCHRONIZED --->
// SYNCHRONIZED --->
::
osl
::
MutexGuard
aGuard
(
m_pImpl
->
getMutex
()
);
::
osl
::
MutexGuard
aGuard
(
m_pImpl
->
getMutex
()
);
IUndoManager
&
rUndoManager
=
m_pImpl
->
getUndoManager
();
IUndoManager
&
rUndoManager
=
m_pImpl
->
getUndoManager
();
if
(
rUndoManager
.
IsInListAction
()
)
if
(
rUndoManager
.
IsInListAction
()
)
return
sal_F
alse
;
return
f
alse
;
return
rUndoManager
.
GetUndoActionCount
(
IUndoManager
::
TopLevel
)
>
0
;
return
rUndoManager
.
GetUndoActionCount
(
IUndoManager
::
TopLevel
)
>
0
;
// <--- SYNCHRONIZED
// <--- SYNCHRONIZED
}
}
::
sal_B
ool
UndoManagerHelper
::
isRedoPossible
()
const
b
ool
UndoManagerHelper
::
isRedoPossible
()
const
{
{
// SYNCHRONIZED --->
// SYNCHRONIZED --->
::
osl
::
MutexGuard
aGuard
(
m_pImpl
->
getMutex
()
);
::
osl
::
MutexGuard
aGuard
(
m_pImpl
->
getMutex
()
);
const
IUndoManager
&
rUndoManager
=
m_pImpl
->
getUndoManager
();
const
IUndoManager
&
rUndoManager
=
m_pImpl
->
getUndoManager
();
if
(
rUndoManager
.
IsInListAction
()
)
if
(
rUndoManager
.
IsInListAction
()
)
return
sal_F
alse
;
return
f
alse
;
return
rUndoManager
.
GetRedoActionCount
(
IUndoManager
::
TopLevel
)
>
0
;
return
rUndoManager
.
GetRedoActionCount
(
IUndoManager
::
TopLevel
)
>
0
;
// <--- SYNCHRONIZED
// <--- SYNCHRONIZED
}
}
...
@@ -1132,7 +1132,7 @@ namespace framework
...
@@ -1132,7 +1132,7 @@ namespace framework
}
}
::
sal_B
ool
UndoManagerHelper
::
isLocked
()
b
ool
UndoManagerHelper
::
isLocked
()
{
{
// SYNCHRONIZED --->
// SYNCHRONIZED --->
::
osl
::
MutexGuard
aGuard
(
m_pImpl
->
getMutex
()
);
::
osl
::
MutexGuard
aGuard
(
m_pImpl
->
getMutex
()
);
...
...
framework/source/fwe/interaction/preventduplicateinteraction.cxx
Dosyayı görüntüle @
65c3e11e
...
@@ -86,7 +86,7 @@ void SAL_CALL PreventDuplicateInteraction::handle(const css::uno::Reference< css
...
@@ -86,7 +86,7 @@ void SAL_CALL PreventDuplicateInteraction::handle(const css::uno::Reference< css
throw
(
css
::
uno
::
RuntimeException
,
std
::
exception
)
throw
(
css
::
uno
::
RuntimeException
,
std
::
exception
)
{
{
css
::
uno
::
Any
aRequest
=
xRequest
->
getRequest
();
css
::
uno
::
Any
aRequest
=
xRequest
->
getRequest
();
sal_Bool
bHandleIt
=
sal_T
rue
;
bool
bHandleIt
=
t
rue
;
// SAFE ->
// SAFE ->
::
osl
::
ResettableMutexGuard
aLock
(
m_aLock
);
::
osl
::
ResettableMutexGuard
aLock
(
m_aLock
);
...
@@ -224,8 +224,8 @@ void PreventDuplicateInteraction::addInteractionRule(const PreventDuplicateInter
...
@@ -224,8 +224,8 @@ void PreventDuplicateInteraction::addInteractionRule(const PreventDuplicateInter
sal_B
ool
PreventDuplicateInteraction
::
getInteractionInfo
(
const
css
::
uno
::
Type
&
aInteraction
,
b
ool
PreventDuplicateInteraction
::
getInteractionInfo
(
const
css
::
uno
::
Type
&
aInteraction
,
PreventDuplicateInteraction
::
InteractionInfo
*
pReturn
)
const
PreventDuplicateInteraction
::
InteractionInfo
*
pReturn
)
const
{
{
// SAFE ->
// SAFE ->
::
osl
::
ResettableMutexGuard
aLock
(
m_aLock
);
::
osl
::
ResettableMutexGuard
aLock
(
m_aLock
);
...
@@ -239,14 +239,14 @@ sal_Bool PreventDuplicateInteraction::getInteractionInfo(const css::uno::Type&
...
@@ -239,14 +239,14 @@ sal_Bool PreventDuplicateInteraction::getInteractionInfo(const css::uno::Type&
if
(
rInfo
.
m_aInteraction
==
aInteraction
)
if
(
rInfo
.
m_aInteraction
==
aInteraction
)
{
{
*
pReturn
=
rInfo
;
*
pReturn
=
rInfo
;
return
sal_T
rue
;
return
t
rue
;
}
}
}
}
aLock
.
clear
();
aLock
.
clear
();
// <- SAFE
// <- SAFE
return
sal_F
alse
;
return
f
alse
;
}
}
}
// namespace framework
}
// namespace framework
...
...
framework/source/fwe/xml/statusbarconfiguration.cxx
Dosyayı görüntüle @
65c3e11e
...
@@ -42,7 +42,7 @@ using namespace ::com::sun::star::container;
...
@@ -42,7 +42,7 @@ using namespace ::com::sun::star::container;
namespace
framework
namespace
framework
{
{
sal_B
ool
StatusBarConfiguration
::
LoadStatusBar
(
b
ool
StatusBarConfiguration
::
LoadStatusBar
(
const
Reference
<
XComponentContext
>&
rxContext
,
const
Reference
<
XComponentContext
>&
rxContext
,
const
Reference
<
XInputStream
>&
xInputStream
,
const
Reference
<
XInputStream
>&
xInputStream
,
const
Reference
<
XIndexContainer
>&
rStatusbarConfiguration
)
const
Reference
<
XIndexContainer
>&
rStatusbarConfiguration
)
...
@@ -63,23 +63,23 @@ sal_Bool StatusBarConfiguration::LoadStatusBar(
...
@@ -63,23 +63,23 @@ sal_Bool StatusBarConfiguration::LoadStatusBar(
try
try
{
{
xParser
->
parseStream
(
aInputSource
);
xParser
->
parseStream
(
aInputSource
);
return
sal_T
rue
;
return
t
rue
;
}
}
catch
(
const
RuntimeException
&
)
catch
(
const
RuntimeException
&
)
{
{
return
sal_F
alse
;
return
f
alse
;
}
}
catch
(
const
SAXException
&
)
catch
(
const
SAXException
&
)
{
{
return
sal_F
alse
;
return
f
alse
;
}
}
catch
(
const
::
com
::
sun
::
star
::
io
::
IOException
&
)
catch
(
const
::
com
::
sun
::
star
::
io
::
IOException
&
)
{
{
return
sal_F
alse
;
return
f
alse
;
}
}
}
}
sal_B
ool
StatusBarConfiguration
::
StoreStatusBar
(
b
ool
StatusBarConfiguration
::
StoreStatusBar
(
const
Reference
<
XComponentContext
>&
rxContext
,
const
Reference
<
XComponentContext
>&
rxContext
,
const
Reference
<
XOutputStream
>&
xOutputStream
,
const
Reference
<
XOutputStream
>&
xOutputStream
,
const
Reference
<
XIndexAccess
>&
rStatusbarConfiguration
)
const
Reference
<
XIndexAccess
>&
rStatusbarConfiguration
)
...
@@ -91,19 +91,19 @@ sal_Bool StatusBarConfiguration::StoreStatusBar(
...
@@ -91,19 +91,19 @@ sal_Bool StatusBarConfiguration::StoreStatusBar(
{
{
OWriteStatusBarDocumentHandler
aWriteStatusBarDocumentHandler
(
rStatusbarConfiguration
,
xWriter
);
OWriteStatusBarDocumentHandler
aWriteStatusBarDocumentHandler
(
rStatusbarConfiguration
,
xWriter
);
aWriteStatusBarDocumentHandler
.
WriteStatusBarDocument
();
aWriteStatusBarDocumentHandler
.
WriteStatusBarDocument
();
return
sal_T
rue
;
return
t
rue
;
}
}
catch
(
const
RuntimeException
&
)
catch
(
const
RuntimeException
&
)
{
{
return
sal_F
alse
;
return
f
alse
;
}
}
catch
(
const
SAXException
&
)
catch
(
const
SAXException
&
)
{
{
return
sal_F
alse
;
return
f
alse
;
}
}
catch
(
const
::
com
::
sun
::
star
::
io
::
IOException
&
)
catch
(
const
::
com
::
sun
::
star
::
io
::
IOException
&
)
{
{
return
sal_F
alse
;
return
f
alse
;
}
}
}
}
}
}
...
...
framework/source/fwe/xml/toolboxconfiguration.cxx
Dosyayı görüntüle @
65c3e11e
...
@@ -42,7 +42,7 @@ using namespace ::com::sun::star::container;
...
@@ -42,7 +42,7 @@ using namespace ::com::sun::star::container;
namespace
framework
namespace
framework
{
{
sal_B
ool
ToolBoxConfiguration
::
LoadToolBox
(
b
ool
ToolBoxConfiguration
::
LoadToolBox
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
uno
::
XComponentContext
>&
rxContext
,
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
uno
::
XComponentContext
>&
rxContext
,
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
io
::
XInputStream
>&
rInputStream
,
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
io
::
XInputStream
>&
rInputStream
,
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
container
::
XIndexContainer
>&
rToolbarConfiguration
)
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
container
::
XIndexContainer
>&
rToolbarConfiguration
)
...
@@ -64,24 +64,24 @@ sal_Bool ToolBoxConfiguration::LoadToolBox(
...
@@ -64,24 +64,24 @@ sal_Bool ToolBoxConfiguration::LoadToolBox(
try
try
{
{
xParser
->
parseStream
(
aInputSource
);
xParser
->
parseStream
(
aInputSource
);
return
sal_T
rue
;
return
t
rue
;
}
}
catch
(
const
RuntimeException
&
)
catch
(
const
RuntimeException
&
)
{
{
return
sal_F
alse
;
return
f
alse
;
}
}
catch
(
const
SAXException
&
)
catch
(
const
SAXException
&
)
{
{
return
sal_F
alse
;
return
f
alse
;
}
}
catch
(
const
::
com
::
sun
::
star
::
io
::
IOException
&
)
catch
(
const
::
com
::
sun
::
star
::
io
::
IOException
&
)
{
{
return
sal_F
alse
;
return
f
alse
;
}
}
}
}
sal_B
ool
ToolBoxConfiguration
::
StoreToolBox
(
b
ool
ToolBoxConfiguration
::
StoreToolBox
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
uno
::
XComponentContext
>&
rxContext
,
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
uno
::
XComponentContext
>&
rxContext
,
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
io
::
XOutputStream
>&
rOutputStream
,
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
io
::
XOutputStream
>&
rOutputStream
,
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
container
::
XIndexAccess
>&
rToolbarConfiguration
)
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
container
::
XIndexAccess
>&
rToolbarConfiguration
)
...
@@ -94,19 +94,19 @@ sal_Bool ToolBoxConfiguration::StoreToolBox(
...
@@ -94,19 +94,19 @@ sal_Bool ToolBoxConfiguration::StoreToolBox(
Reference
<
XDocumentHandler
>
xHandler
(
xWriter
,
UNO_QUERY_THROW
);
Reference
<
XDocumentHandler
>
xHandler
(
xWriter
,
UNO_QUERY_THROW
);
OWriteToolBoxDocumentHandler
aWriteToolBoxDocumentHandler
(
rToolbarConfiguration
,
xHandler
);
OWriteToolBoxDocumentHandler
aWriteToolBoxDocumentHandler
(
rToolbarConfiguration
,
xHandler
);
aWriteToolBoxDocumentHandler
.
WriteToolBoxDocument
();
aWriteToolBoxDocumentHandler
.
WriteToolBoxDocument
();
return
sal_T
rue
;
return
t
rue
;
}
}
catch
(
const
RuntimeException
&
)
catch
(
const
RuntimeException
&
)
{
{
return
sal_F
alse
;
return
f
alse
;
}
}
catch
(
const
SAXException
&
)
catch
(
const
SAXException
&
)
{
{
return
sal_F
alse
;
return
f
alse
;
}
}
catch
(
const
::
com
::
sun
::
star
::
io
::
IOException
&
)
catch
(
const
::
com
::
sun
::
star
::
io
::
IOException
&
)
{
{
return
sal_F
alse
;
return
f
alse
;
}
}
}
}
...
...
framework/source/uielement/imagebuttontoolbarcontroller.cxx
Dosyayı görüntüle @
65c3e11e
...
@@ -108,7 +108,7 @@ ImageButtonToolbarController::ImageButtonToolbarController(
...
@@ -108,7 +108,7 @@ ImageButtonToolbarController::ImageButtonToolbarController(
{
{
sal_Bool
bBigImages
(
SvtMiscOptions
().
AreCurrentSymbolsLarge
()
);
sal_Bool
bBigImages
(
SvtMiscOptions
().
AreCurrentSymbolsLarge
()
);
Image
aImage
=
AddonsOptions
().
GetImageFromURL
(
aCommand
,
bBigImages
,
sal_T
rue
);
Image
aImage
=
AddonsOptions
().
GetImageFromURL
(
aCommand
,
bBigImages
,
t
rue
);
// Height will be controlled by scaling according to button height
// Height will be controlled by scaling according to button height
m_pToolbar
->
SetItemImage
(
m_nID
,
aImage
);
m_pToolbar
->
SetItemImage
(
m_nID
,
aImage
);
...
...
include/framework/addonmenu.hxx
Dosyayı görüntüle @
65c3e11e
...
@@ -50,9 +50,9 @@ class FWE_DLLPUBLIC AddonPopupMenu : public AddonMenu
...
@@ -50,9 +50,9 @@ class FWE_DLLPUBLIC AddonPopupMenu : public AddonMenu
~
AddonPopupMenu
();
~
AddonPopupMenu
();
// Check if command URL string has the unique prefix to identify addon popup menus
// Check if command URL string has the unique prefix to identify addon popup menus
static
sal_Bool
IsCommandURLPrefix
(
const
OUString
&
aCmdURL
);
static
bool
IsCommandURLPrefix
(
const
OUString
&
aCmdURL
);
void
SetCommandURL
(
const
OUString
&
aCmdURL
)
{
m_aCommandURL
=
aCmdURL
;
}
void
SetCommandURL
(
const
OUString
&
aCmdURL
)
{
m_aCommandURL
=
aCmdURL
;
}
const
OUString
&
GetCommandURL
()
const
{
return
m_aCommandURL
;
}
const
OUString
&
GetCommandURL
()
const
{
return
m_aCommandURL
;
}
protected
:
protected
:
...
@@ -75,12 +75,12 @@ class FWE_DLLPUBLIC AddonMenuManager
...
@@ -75,12 +75,12 @@ class FWE_DLLPUBLIC AddonMenuManager
ADDON_POPUPMENU
ADDON_POPUPMENU
};
};
static
sal_Bool
HasAddonMenuElements
();
static
bool
HasAddonMenuElements
();
static
sal_Bool
IsAddonMenuId
(
sal_uInt16
nId
)
{
return
((
nId
>=
ADDONMENU_ITEMID_START
)
&&
(
nId
<
ADDONMENU_ITEMID_END
));
}
static
bool
IsAddonMenuId
(
sal_uInt16
nId
)
{
return
((
nId
>=
ADDONMENU_ITEMID_START
)
&&
(
nId
<
ADDONMENU_ITEMID_END
));
}
// Check if the context string matches the provided xModel context
// Check if the context string matches the provided xModel context
static
sal_Bool
IsCorrectContext
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
frame
::
XModel
>&
rModel
,
const
OUString
&
aContext
);
static
bool
IsCorrectContext
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
frame
::
XModel
>&
rModel
,
const
OUString
&
aContext
);
// Factory method to create different Add-On menu types
// Factory method to create different Add-On menu types
static
PopupMenu
*
CreatePopupMenuType
(
MenuType
eMenuType
,
const
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
frame
::
XFrame
>&
rFrame
);
static
PopupMenu
*
CreatePopupMenuType
(
MenuType
eMenuType
,
const
com
::
sun
::
star
::
uno
::
Reference
<
com
::
sun
::
star
::
frame
::
XFrame
>&
rFrame
);
...
...
include/framework/addonsoptions.hxx
Dosyayı görüntüle @
65c3e11e
...
@@ -190,10 +190,10 @@ class FWE_DLLPUBLIC AddonsOptions
...
@@ -190,10 +190,10 @@ class FWE_DLLPUBLIC AddonsOptions
@descr Call to retrieve if a addons menu is available
@descr Call to retrieve if a addons menu is available
@return
sal_True if there is a menu otherwise sal_F
alse
@return
true if there is a menu otherwise f
alse
*//*-*****************************************************************************************************/
*//*-*****************************************************************************************************/
sal_B
ool
HasAddonsMenu
()
const
;
b
ool
HasAddonsMenu
()
const
;
/*-****************************************************************************************************
/*-****************************************************************************************************
@short returns number of addons toolbars
@short returns number of addons toolbars
...
@@ -308,8 +308,8 @@ class FWE_DLLPUBLIC AddonsOptions
...
@@ -308,8 +308,8 @@ class FWE_DLLPUBLIC AddonsOptions
@onerror An empty image
@onerror An empty image
*//*-*****************************************************************************************************/
*//*-*****************************************************************************************************/
Image
GetImageFromURL
(
const
OUString
&
aURL
,
sal_Bool
bBig
,
sal_B
ool
bNoScale
)
const
;
Image
GetImageFromURL
(
const
OUString
&
aURL
,
bool
bBig
,
b
ool
bNoScale
)
const
;
Image
GetImageFromURL
(
const
OUString
&
aURL
,
sal_B
ool
bBig
)
const
;
Image
GetImageFromURL
(
const
OUString
&
aURL
,
b
ool
bBig
)
const
;
// private methods
// private methods
...
...
include/framework/configimporter.hxx
Dosyayı görüntüle @
65c3e11e
...
@@ -33,7 +33,7 @@ namespace framework
...
@@ -33,7 +33,7 @@ namespace framework
class
FWE_DLLPUBLIC
UIConfigurationImporterOOo1x
class
FWE_DLLPUBLIC
UIConfigurationImporterOOo1x
{
{
public
:
public
:
static
sal_B
ool
ImportCustomToolbars
(
static
b
ool
ImportCustomToolbars
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
ui
::
XUIConfigurationManager2
>&
rContainerFactory
,
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
ui
::
XUIConfigurationManager2
>&
rContainerFactory
,
::
com
::
sun
::
star
::
uno
::
Sequence
<
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
container
::
XIndexContainer
>
>&
rSeqContainer
,
::
com
::
sun
::
star
::
uno
::
Sequence
<
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
container
::
XIndexContainer
>
>&
rSeqContainer
,
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
uno
::
XComponentContext
>&
rxContext
,
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
uno
::
XComponentContext
>&
rxContext
,
...
...
include/framework/framelistanalyzer.hxx
Dosyayı görüntüle @
65c3e11e
...
@@ -140,17 +140,17 @@ class FWE_DLLPUBLIC FrameListAnalyzer
...
@@ -140,17 +140,17 @@ class FWE_DLLPUBLIC FrameListAnalyzer
/** is set to true only, if the reference frame is a hidden one.
/** is set to true only, if the reference frame is a hidden one.
This value is undefined if m_eDetectMode doesn't have set the flag E_HIDDEN! */
This value is undefined if m_eDetectMode doesn't have set the flag E_HIDDEN! */
sal_B
ool
m_bReferenceIsHidden
;
b
ool
m_bReferenceIsHidden
;
/** is set to true only, if the reference frame contains the help component.
/** is set to true only, if the reference frame contains the help component.
In this case the member m_xHelp is set to NULL every time.
In this case the member m_xHelp is set to NULL every time.
This value is undefined if m_eDetectMode doesn't have set the flag E_HELP! */
This value is undefined if m_eDetectMode doesn't have set the flag E_HELP! */
sal_B
ool
m_bReferenceIsHelp
;
b
ool
m_bReferenceIsHelp
;
/** is set to true only, if the reference frame contains the backing component.
/** is set to true only, if the reference frame contains the backing component.
In this case the member m_xBackingComponent is set to NULL every time.
In this case the member m_xBackingComponent is set to NULL every time.
This value is undefined if m_eDetectMode doesn't have set the flag E_BACKINGCOMPONENT! */
This value is undefined if m_eDetectMode doesn't have set the flag E_BACKINGCOMPONENT! */
sal_B
ool
m_bReferenceIsBacking
;
b
ool
m_bReferenceIsBacking
;
// interface
// interface
...
...
include/framework/interaction.hxx
Dosyayı görüntüle @
65c3e11e
...
@@ -69,7 +69,7 @@ class FWE_DLLPUBLIC RequestFilterSelect
...
@@ -69,7 +69,7 @@ class FWE_DLLPUBLIC RequestFilterSelect
public
:
public
:
RequestFilterSelect
(
const
OUString
&
sURL
);
RequestFilterSelect
(
const
OUString
&
sURL
);
~
RequestFilterSelect
();
~
RequestFilterSelect
();
sal_Bool
isAbort
()
const
;
bool
isAbort
()
const
;
OUString
getFilter
()
const
;
OUString
getFilter
()
const
;
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
task
::
XInteractionRequest
>
GetRequest
();
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
task
::
XInteractionRequest
>
GetRequest
();
};
};
...
...
include/framework/preventduplicateinteraction.hxx
Dosyayı görüntüle @
65c3e11e
...
@@ -224,12 +224,12 @@ class FWE_DLLPUBLIC PreventDuplicateInteraction : private ThreadHelpBase2
...
@@ -224,12 +224,12 @@ class FWE_DLLPUBLIC PreventDuplicateInteraction : private ThreadHelpBase2
- the interaction itself, so it can be analyzed further
- the interaction itself, so it can be analyzed further
@return [boolean]
@return [boolean]
sal_T
rue if the queried interaction could be found.
t
rue if the queried interaction could be found.
sal_F
alse otherwise.
f
alse otherwise.
@threadsafe yes
@threadsafe yes
*/
*/
virtual
sal_B
ool
getInteractionInfo
(
const
css
::
uno
::
Type
&
aInteraction
,
virtual
b
ool
getInteractionInfo
(
const
css
::
uno
::
Type
&
aInteraction
,
PreventDuplicateInteraction
::
InteractionInfo
*
pReturn
)
const
;
PreventDuplicateInteraction
::
InteractionInfo
*
pReturn
)
const
;
};
};
...
...
include/framework/statusbarconfiguration.hxx
Dosyayı görüntüle @
65c3e11e
...
@@ -35,12 +35,12 @@ namespace framework
...
@@ -35,12 +35,12 @@ namespace framework
class
FWE_DLLPUBLIC
StatusBarConfiguration
class
FWE_DLLPUBLIC
StatusBarConfiguration
{
{
public
:
public
:
static
sal_B
ool
LoadStatusBar
(
static
b
ool
LoadStatusBar
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
uno
::
XComponentContext
>&
xContext
,
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
uno
::
XComponentContext
>&
xContext
,
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
io
::
XInputStream
>&
xInputStream
,
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
io
::
XInputStream
>&
xInputStream
,
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
container
::
XIndexContainer
>&
rStatusbarConfiguration
);
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
container
::
XIndexContainer
>&
rStatusbarConfiguration
);
static
sal_B
ool
StoreStatusBar
(
static
b
ool
StoreStatusBar
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
uno
::
XComponentContext
>&
xContext
,
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
uno
::
XComponentContext
>&
xContext
,
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
io
::
XOutputStream
>&
xOutputStream
,
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
io
::
XOutputStream
>&
xOutputStream
,
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
container
::
XIndexAccess
>&
rStatusbarConfiguration
);
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
container
::
XIndexAccess
>&
rStatusbarConfiguration
);
...
...
include/framework/titlehelper.hxx
Dosyayı görüntüle @
65c3e11e
...
@@ -187,7 +187,7 @@ class FWE_DLLPUBLIC TitleHelper : private ::cppu::BaseMutex
...
@@ -187,7 +187,7 @@ class FWE_DLLPUBLIC TitleHelper : private ::cppu::BaseMutex
It was set from outside and so outside code has to make sure it will be
It was set from outside and so outside code has to make sure it will be
updated.
updated.
*/
*/
::
sal_B
ool
m_bExternalTitle
;
b
ool
m_bExternalTitle
;
/** the actual title value */
/** the actual title value */
OUString
m_sTitle
;
OUString
m_sTitle
;
...
...
include/framework/toolboxconfiguration.hxx
Dosyayı görüntüle @
65c3e11e
...
@@ -34,12 +34,12 @@ namespace framework
...
@@ -34,12 +34,12 @@ namespace framework
class
FWE_DLLPUBLIC
ToolBoxConfiguration
class
FWE_DLLPUBLIC
ToolBoxConfiguration
{
{
public
:
public
:
static
sal_B
ool
LoadToolBox
(
static
b
ool
LoadToolBox
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
uno
::
XComponentContext
>&
rxContext
,
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
uno
::
XComponentContext
>&
rxContext
,
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
io
::
XInputStream
>&
rInputStream
,
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
io
::
XInputStream
>&
rInputStream
,
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
container
::
XIndexContainer
>&
rToolbarConfiguration
);
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
container
::
XIndexContainer
>&
rToolbarConfiguration
);
static
sal_B
ool
StoreToolBox
(
static
b
ool
StoreToolBox
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
uno
::
XComponentContext
>&
rxContext
,
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
uno
::
XComponentContext
>&
rxContext
,
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
io
::
XOutputStream
>&
rOutputStream
,
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
io
::
XOutputStream
>&
rOutputStream
,
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
container
::
XIndexAccess
>&
rToolbarConfiguration
);
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
container
::
XIndexAccess
>&
rToolbarConfiguration
);
...
...
include/framework/undomanagerhelper.hxx
Dosyayı görüntüle @
65c3e11e
...
@@ -126,8 +126,8 @@ namespace framework
...
@@ -126,8 +126,8 @@ namespace framework
void
addUndoAction
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
document
::
XUndoAction
>&
i_action
,
IMutexGuard
&
i_instanceLock
);
void
addUndoAction
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
document
::
XUndoAction
>&
i_action
,
IMutexGuard
&
i_instanceLock
);
void
undo
(
IMutexGuard
&
i_instanceLock
);
void
undo
(
IMutexGuard
&
i_instanceLock
);
void
redo
(
IMutexGuard
&
i_instanceLock
);
void
redo
(
IMutexGuard
&
i_instanceLock
);
::
sal_Bool
isUndoPossible
()
const
;
bool
isUndoPossible
()
const
;
::
sal_Bool
isRedoPossible
()
const
;
bool
isRedoPossible
()
const
;
OUString
getCurrentUndoActionTitle
()
const
;
OUString
getCurrentUndoActionTitle
()
const
;
OUString
getCurrentRedoActionTitle
()
const
;
OUString
getCurrentRedoActionTitle
()
const
;
::
com
::
sun
::
star
::
uno
::
Sequence
<
OUString
>
::
com
::
sun
::
star
::
uno
::
Sequence
<
OUString
>
...
@@ -143,7 +143,7 @@ namespace framework
...
@@ -143,7 +143,7 @@ namespace framework
// XLockable, base of XUndoManager, equivalents
// XLockable, base of XUndoManager, equivalents
void
lock
();
void
lock
();
void
unlock
();
void
unlock
();
::
sal_Bool
isLocked
();
bool
isLocked
();
// XModifyBroadcaster equivalents
// XModifyBroadcaster equivalents
void
addModifyListener
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
util
::
XModifyListener
>&
i_listener
);
void
addModifyListener
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
util
::
XModifyListener
>&
i_listener
);
...
...
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