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
64d4e2a4
Kaydet (Commit)
64d4e2a4
authored
Nis 17, 2016
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Avoid reserved identifiers
Change-Id: I5a68cac4f923218a000c79a01c436bf1dc897971
üst
aaa1265f
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
34 additions
and
34 deletions
+34
-34
composeduiupdate.cxx
extensions/source/propctrlr/composeduiupdate.cxx
+7
-7
defaulthelpprovider.cxx
extensions/source/propctrlr/defaulthelpprovider.cxx
+3
-3
inspectormodelbase.cxx
extensions/source/propctrlr/inspectormodelbase.cxx
+2
-2
inspectormodelbase.hxx
extensions/source/propctrlr/inspectormodelbase.hxx
+1
-1
pcrcommon.hxx
extensions/source/propctrlr/pcrcommon.hxx
+4
-4
propcontroller.cxx
extensions/source/propctrlr/propcontroller.cxx
+11
-11
propcontroller.hxx
extensions/source/propctrlr/propcontroller.hxx
+4
-4
propcontrolobserver.hxx
extensions/source/propctrlr/propcontrolobserver.hxx
+2
-2
No files found.
extensions/source/propctrlr/composeduiupdate.cxx
Dosyayı görüntüle @
64d4e2a4
...
@@ -142,7 +142,7 @@ namespace pcr
...
@@ -142,7 +142,7 @@ namespace pcr
virtual
Reference
<
XPropertyControl
>
SAL_CALL
getPropertyControl
(
const
OUString
&
_rPropertyName
)
throw
(
RuntimeException
,
std
::
exception
)
override
;
virtual
Reference
<
XPropertyControl
>
SAL_CALL
getPropertyControl
(
const
OUString
&
_rPropertyName
)
throw
(
RuntimeException
,
std
::
exception
)
override
;
virtual
void
SAL_CALL
registerControlObserver
(
const
Reference
<
XPropertyControlObserver
>&
Observer
)
throw
(
RuntimeException
,
std
::
exception
)
override
;
virtual
void
SAL_CALL
registerControlObserver
(
const
Reference
<
XPropertyControlObserver
>&
Observer
)
throw
(
RuntimeException
,
std
::
exception
)
override
;
virtual
void
SAL_CALL
revokeControlObserver
(
const
Reference
<
XPropertyControlObserver
>&
Observer
)
throw
(
RuntimeException
,
std
::
exception
)
override
;
virtual
void
SAL_CALL
revokeControlObserver
(
const
Reference
<
XPropertyControlObserver
>&
Observer
)
throw
(
RuntimeException
,
std
::
exception
)
override
;
virtual
void
SAL_CALL
setHelpSectionText
(
const
OUString
&
_
HelpText
)
throw
(
NoSupportException
,
RuntimeException
,
std
::
exception
)
override
;
virtual
void
SAL_CALL
setHelpSectionText
(
const
OUString
&
HelpText
)
throw
(
NoSupportException
,
RuntimeException
,
std
::
exception
)
override
;
// UNOCompatibleNonUNOReference overridables
// UNOCompatibleNonUNOReference overridables
virtual
void
SAL_CALL
acquire
()
throw
()
override
;
virtual
void
SAL_CALL
acquire
()
throw
()
override
;
...
@@ -346,27 +346,27 @@ namespace pcr
...
@@ -346,27 +346,27 @@ namespace pcr
}
}
void
SAL_CALL
CachedInspectorUI
::
registerControlObserver
(
const
Reference
<
XPropertyControlObserver
>&
_
Observer
)
throw
(
RuntimeException
,
std
::
exception
)
void
SAL_CALL
CachedInspectorUI
::
registerControlObserver
(
const
Reference
<
XPropertyControlObserver
>&
Observer
)
throw
(
RuntimeException
,
std
::
exception
)
{
{
OSL_FAIL
(
"CachedInspectorUI::registerControlObserver: not expected to be called!"
);
OSL_FAIL
(
"CachedInspectorUI::registerControlObserver: not expected to be called!"
);
// CachedInspectorUI is used as context for the controls, and we don't expect them to
// CachedInspectorUI is used as context for the controls, and we don't expect them to
// register listeners themself
// register listeners themself
m_rMaster
.
getDelegatorUI
()
->
registerControlObserver
(
_
Observer
);
m_rMaster
.
getDelegatorUI
()
->
registerControlObserver
(
Observer
);
}
}
void
SAL_CALL
CachedInspectorUI
::
revokeControlObserver
(
const
Reference
<
XPropertyControlObserver
>&
_
Observer
)
throw
(
RuntimeException
,
std
::
exception
)
void
SAL_CALL
CachedInspectorUI
::
revokeControlObserver
(
const
Reference
<
XPropertyControlObserver
>&
Observer
)
throw
(
RuntimeException
,
std
::
exception
)
{
{
OSL_FAIL
(
"CachedInspectorUI::revokeControlObserver: not expected to be called!"
);
OSL_FAIL
(
"CachedInspectorUI::revokeControlObserver: not expected to be called!"
);
// CachedInspectorUI is used as context for the controls, and we don't expect them to
// CachedInspectorUI is used as context for the controls, and we don't expect them to
// register listeners themself
// register listeners themself
m_rMaster
.
getDelegatorUI
()
->
revokeControlObserver
(
_
Observer
);
m_rMaster
.
getDelegatorUI
()
->
revokeControlObserver
(
Observer
);
}
}
void
SAL_CALL
CachedInspectorUI
::
setHelpSectionText
(
const
OUString
&
_
HelpText
)
throw
(
NoSupportException
,
RuntimeException
,
std
::
exception
)
void
SAL_CALL
CachedInspectorUI
::
setHelpSectionText
(
const
OUString
&
HelpText
)
throw
(
NoSupportException
,
RuntimeException
,
std
::
exception
)
{
{
m_rMaster
.
getDelegatorUI
()
->
setHelpSectionText
(
_
HelpText
);
m_rMaster
.
getDelegatorUI
()
->
setHelpSectionText
(
HelpText
);
}
}
...
...
extensions/source/propctrlr/defaulthelpprovider.cxx
Dosyayı görüntüle @
64d4e2a4
...
@@ -86,14 +86,14 @@ namespace pcr
...
@@ -86,14 +86,14 @@ namespace pcr
}
}
void
SAL_CALL
DefaultHelpProvider
::
focusGained
(
const
Reference
<
XPropertyControl
>&
_
Control
)
throw
(
RuntimeException
,
std
::
exception
)
void
SAL_CALL
DefaultHelpProvider
::
focusGained
(
const
Reference
<
XPropertyControl
>&
Control
)
throw
(
RuntimeException
,
std
::
exception
)
{
{
if
(
!
m_xInspectorUI
.
is
()
)
if
(
!
m_xInspectorUI
.
is
()
)
throw
RuntimeException
(
OUString
(),
*
this
);
throw
RuntimeException
(
OUString
(),
*
this
);
try
try
{
{
m_xInspectorUI
->
setHelpSectionText
(
impl_getHelpText_nothrow
(
_
Control
)
);
m_xInspectorUI
->
setHelpSectionText
(
impl_getHelpText_nothrow
(
Control
)
);
}
}
catch
(
const
Exception
&
)
catch
(
const
Exception
&
)
{
{
...
@@ -102,7 +102,7 @@ namespace pcr
...
@@ -102,7 +102,7 @@ namespace pcr
}
}
void
SAL_CALL
DefaultHelpProvider
::
valueChanged
(
const
Reference
<
XPropertyControl
>&
/*_Control*/
)
throw
(
RuntimeException
,
std
::
exception
)
void
SAL_CALL
DefaultHelpProvider
::
valueChanged
(
const
Reference
<
XPropertyControl
>&
)
throw
(
RuntimeException
,
std
::
exception
)
{
{
// not interested in
// not interested in
}
}
...
...
extensions/source/propctrlr/inspectormodelbase.cxx
Dosyayı görüntüle @
64d4e2a4
...
@@ -227,9 +227,9 @@ namespace pcr
...
@@ -227,9 +227,9 @@ namespace pcr
}
}
void
SAL_CALL
ImplInspectorModel
::
setIsReadOnly
(
sal_Bool
_
IsReadOnly
)
throw
(
css
::
uno
::
RuntimeException
,
std
::
exception
)
void
SAL_CALL
ImplInspectorModel
::
setIsReadOnly
(
sal_Bool
IsReadOnly
)
throw
(
css
::
uno
::
RuntimeException
,
std
::
exception
)
{
{
setFastPropertyValue
(
MODEL_PROPERTY_ID_IS_READ_ONLY
,
makeAny
(
_
IsReadOnly
)
);
setFastPropertyValue
(
MODEL_PROPERTY_ID_IS_READ_ONLY
,
makeAny
(
IsReadOnly
)
);
}
}
sal_Bool
SAL_CALL
ImplInspectorModel
::
supportsService
(
const
OUString
&
ServiceName
)
throw
(
RuntimeException
,
std
::
exception
)
sal_Bool
SAL_CALL
ImplInspectorModel
::
supportsService
(
const
OUString
&
ServiceName
)
throw
(
RuntimeException
,
std
::
exception
)
...
...
extensions/source/propctrlr/inspectormodelbase.hxx
Dosyayı görüntüle @
64d4e2a4
...
@@ -77,7 +77,7 @@ namespace pcr
...
@@ -77,7 +77,7 @@ namespace pcr
virtual
::
sal_Int32
SAL_CALL
getMinHelpTextLines
()
throw
(
css
::
uno
::
RuntimeException
,
std
::
exception
)
override
;
virtual
::
sal_Int32
SAL_CALL
getMinHelpTextLines
()
throw
(
css
::
uno
::
RuntimeException
,
std
::
exception
)
override
;
virtual
::
sal_Int32
SAL_CALL
getMaxHelpTextLines
()
throw
(
css
::
uno
::
RuntimeException
,
std
::
exception
)
override
;
virtual
::
sal_Int32
SAL_CALL
getMaxHelpTextLines
()
throw
(
css
::
uno
::
RuntimeException
,
std
::
exception
)
override
;
virtual
sal_Bool
SAL_CALL
getIsReadOnly
()
throw
(
css
::
uno
::
RuntimeException
,
std
::
exception
)
override
;
virtual
sal_Bool
SAL_CALL
getIsReadOnly
()
throw
(
css
::
uno
::
RuntimeException
,
std
::
exception
)
override
;
virtual
void
SAL_CALL
setIsReadOnly
(
sal_Bool
_
IsReadOnly
)
throw
(
css
::
uno
::
RuntimeException
,
std
::
exception
)
override
;
virtual
void
SAL_CALL
setIsReadOnly
(
sal_Bool
IsReadOnly
)
throw
(
css
::
uno
::
RuntimeException
,
std
::
exception
)
override
;
// css::lang::XServiceInfo
// css::lang::XServiceInfo
virtual
sal_Bool
SAL_CALL
supportsService
(
const
OUString
&
ServiceName
)
throw
(
css
::
uno
::
RuntimeException
,
std
::
exception
)
override
;
virtual
sal_Bool
SAL_CALL
supportsService
(
const
OUString
&
ServiceName
)
throw
(
css
::
uno
::
RuntimeException
,
std
::
exception
)
override
;
...
...
extensions/source/propctrlr/pcrcommon.hxx
Dosyayı görüntüle @
64d4e2a4
...
@@ -112,13 +112,13 @@ namespace pcr
...
@@ -112,13 +112,13 @@ namespace pcr
{ \
{ \
baseclass::WeakComponentImplHelperBase::dispose(); \
baseclass::WeakComponentImplHelperBase::dispose(); \
} \
} \
void SAL_CALL classname::addEventListener( const css::uno::Reference< css::lang::XEventListener >&
_
Listener ) throw (css::uno::RuntimeException, std::exception) \
void SAL_CALL classname::addEventListener( const css::uno::Reference< css::lang::XEventListener >& Listener ) throw (css::uno::RuntimeException, std::exception) \
{ \
{ \
baseclass::WeakComponentImplHelperBase::addEventListener(
_
Listener ); \
baseclass::WeakComponentImplHelperBase::addEventListener( Listener ); \
} \
} \
void SAL_CALL classname::removeEventListener( const css::uno::Reference< css::lang::XEventListener >&
_
Listener ) throw (css::uno::RuntimeException, std::exception) \
void SAL_CALL classname::removeEventListener( const css::uno::Reference< css::lang::XEventListener >& Listener ) throw (css::uno::RuntimeException, std::exception) \
{ \
{ \
baseclass::WeakComponentImplHelperBase::removeEventListener(
_
Listener ); \
baseclass::WeakComponentImplHelperBase::removeEventListener( Listener ); \
} \
} \
...
...
extensions/source/propctrlr/propcontroller.cxx
Dosyayı görüntüle @
64d4e2a4
...
@@ -760,7 +760,7 @@ namespace pcr
...
@@ -760,7 +760,7 @@ namespace pcr
}
}
Reference
<
XPropertyControl
>
SAL_CALL
OPropertyBrowserController
::
createPropertyControl
(
::
sal_Int16
ControlType
,
sal_Bool
_
CreateReadOnly
)
throw
(
IllegalArgumentException
,
RuntimeException
,
std
::
exception
)
Reference
<
XPropertyControl
>
SAL_CALL
OPropertyBrowserController
::
createPropertyControl
(
::
sal_Int16
ControlType
,
sal_Bool
CreateReadOnly
)
throw
(
IllegalArgumentException
,
RuntimeException
,
std
::
exception
)
{
{
::
osl
::
MutexGuard
aGuard
(
m_aMutex
);
::
osl
::
MutexGuard
aGuard
(
m_aMutex
);
...
@@ -770,8 +770,8 @@ namespace pcr
...
@@ -770,8 +770,8 @@ namespace pcr
WinBits
nWinBits
=
WB_BORDER
;
WinBits
nWinBits
=
WB_BORDER
;
// read-only-ness
// read-only-ness
_
CreateReadOnly
|=
impl_isReadOnlyModel_throw
()
?
1
:
0
;
CreateReadOnly
|=
impl_isReadOnlyModel_throw
()
?
1
:
0
;
if
(
_
CreateReadOnly
)
if
(
CreateReadOnly
)
nWinBits
|=
WB_READONLY
;
nWinBits
|=
WB_READONLY
;
switch
(
ControlType
)
switch
(
ControlType
)
...
@@ -1428,15 +1428,15 @@ namespace pcr
...
@@ -1428,15 +1428,15 @@ namespace pcr
}
}
void
OPropertyBrowserController
::
focusGained
(
const
Reference
<
XPropertyControl
>&
_
Control
)
void
OPropertyBrowserController
::
focusGained
(
const
Reference
<
XPropertyControl
>&
Control
)
{
{
m_aControlObservers
.
notifyEach
(
&
XPropertyControlObserver
::
focusGained
,
_
Control
);
m_aControlObservers
.
notifyEach
(
&
XPropertyControlObserver
::
focusGained
,
Control
);
}
}
void
OPropertyBrowserController
::
valueChanged
(
const
Reference
<
XPropertyControl
>&
_
Control
)
void
OPropertyBrowserController
::
valueChanged
(
const
Reference
<
XPropertyControl
>&
Control
)
{
{
m_aControlObservers
.
notifyEach
(
&
XPropertyControlObserver
::
valueChanged
,
_
Control
);
m_aControlObservers
.
notifyEach
(
&
XPropertyControlObserver
::
valueChanged
,
Control
);
}
}
...
@@ -1687,15 +1687,15 @@ namespace pcr
...
@@ -1687,15 +1687,15 @@ namespace pcr
}
}
void
SAL_CALL
OPropertyBrowserController
::
registerControlObserver
(
const
Reference
<
XPropertyControlObserver
>&
_
Observer
)
throw
(
RuntimeException
,
std
::
exception
)
void
SAL_CALL
OPropertyBrowserController
::
registerControlObserver
(
const
Reference
<
XPropertyControlObserver
>&
Observer
)
throw
(
RuntimeException
,
std
::
exception
)
{
{
m_aControlObservers
.
addInterface
(
_
Observer
);
m_aControlObservers
.
addInterface
(
Observer
);
}
}
void
SAL_CALL
OPropertyBrowserController
::
revokeControlObserver
(
const
Reference
<
XPropertyControlObserver
>&
_
Observer
)
throw
(
RuntimeException
,
std
::
exception
)
void
SAL_CALL
OPropertyBrowserController
::
revokeControlObserver
(
const
Reference
<
XPropertyControlObserver
>&
Observer
)
throw
(
RuntimeException
,
std
::
exception
)
{
{
m_aControlObservers
.
removeInterface
(
_
Observer
);
m_aControlObservers
.
removeInterface
(
Observer
);
}
}
...
...
extensions/source/propctrlr/propcontroller.hxx
Dosyayı görüntüle @
64d4e2a4
...
@@ -201,8 +201,8 @@ namespace pcr
...
@@ -201,8 +201,8 @@ namespace pcr
virtual
void
Commit
(
const
OUString
&
_rName
,
const
css
::
uno
::
Any
&
_rVal
)
override
;
virtual
void
Commit
(
const
OUString
&
_rName
,
const
css
::
uno
::
Any
&
_rVal
)
override
;
// IPropertyControlObserver
// IPropertyControlObserver
virtual
void
focusGained
(
const
css
::
uno
::
Reference
<
css
::
inspection
::
XPropertyControl
>&
_
Control
)
override
;
virtual
void
focusGained
(
const
css
::
uno
::
Reference
<
css
::
inspection
::
XPropertyControl
>&
Control
)
override
;
virtual
void
valueChanged
(
const
css
::
uno
::
Reference
<
css
::
inspection
::
XPropertyControl
>&
_
Control
)
override
;
virtual
void
valueChanged
(
const
css
::
uno
::
Reference
<
css
::
inspection
::
XPropertyControl
>&
Control
)
override
;
// IPropertyExistenceCheck
// IPropertyExistenceCheck
virtual
bool
SAL_CALL
hasPropertyByName
(
const
OUString
&
_rName
)
throw
(
css
::
uno
::
RuntimeException
)
override
;
virtual
bool
SAL_CALL
hasPropertyByName
(
const
OUString
&
_rName
)
throw
(
css
::
uno
::
RuntimeException
)
override
;
...
@@ -215,8 +215,8 @@ namespace pcr
...
@@ -215,8 +215,8 @@ namespace pcr
virtual
void
SAL_CALL
hidePropertyUI
(
const
OUString
&
_rPropertyName
)
throw
(
css
::
uno
::
RuntimeException
,
std
::
exception
)
override
;
virtual
void
SAL_CALL
hidePropertyUI
(
const
OUString
&
_rPropertyName
)
throw
(
css
::
uno
::
RuntimeException
,
std
::
exception
)
override
;
virtual
void
SAL_CALL
showCategory
(
const
OUString
&
_rCategory
,
sal_Bool
_bShow
)
throw
(
css
::
uno
::
RuntimeException
,
std
::
exception
)
override
;
virtual
void
SAL_CALL
showCategory
(
const
OUString
&
_rCategory
,
sal_Bool
_bShow
)
throw
(
css
::
uno
::
RuntimeException
,
std
::
exception
)
override
;
virtual
css
::
uno
::
Reference
<
css
::
inspection
::
XPropertyControl
>
SAL_CALL
getPropertyControl
(
const
OUString
&
_rPropertyName
)
throw
(
css
::
uno
::
RuntimeException
,
std
::
exception
)
override
;
virtual
css
::
uno
::
Reference
<
css
::
inspection
::
XPropertyControl
>
SAL_CALL
getPropertyControl
(
const
OUString
&
_rPropertyName
)
throw
(
css
::
uno
::
RuntimeException
,
std
::
exception
)
override
;
virtual
void
SAL_CALL
registerControlObserver
(
const
css
::
uno
::
Reference
<
css
::
inspection
::
XPropertyControlObserver
>&
_
Observer
)
throw
(
css
::
uno
::
RuntimeException
,
std
::
exception
)
override
;
virtual
void
SAL_CALL
registerControlObserver
(
const
css
::
uno
::
Reference
<
css
::
inspection
::
XPropertyControlObserver
>&
Observer
)
throw
(
css
::
uno
::
RuntimeException
,
std
::
exception
)
override
;
virtual
void
SAL_CALL
revokeControlObserver
(
const
css
::
uno
::
Reference
<
css
::
inspection
::
XPropertyControlObserver
>&
_
Observer
)
throw
(
css
::
uno
::
RuntimeException
,
std
::
exception
)
override
;
virtual
void
SAL_CALL
revokeControlObserver
(
const
css
::
uno
::
Reference
<
css
::
inspection
::
XPropertyControlObserver
>&
Observer
)
throw
(
css
::
uno
::
RuntimeException
,
std
::
exception
)
override
;
virtual
void
SAL_CALL
setHelpSectionText
(
const
OUString
&
HelpText
)
throw
(
css
::
lang
::
NoSupportException
,
css
::
uno
::
RuntimeException
,
std
::
exception
)
override
;
virtual
void
SAL_CALL
setHelpSectionText
(
const
OUString
&
HelpText
)
throw
(
css
::
lang
::
NoSupportException
,
css
::
uno
::
RuntimeException
,
std
::
exception
)
override
;
// XObjectInspector
// XObjectInspector
...
...
extensions/source/propctrlr/propcontrolobserver.hxx
Dosyayı görüntüle @
64d4e2a4
...
@@ -33,8 +33,8 @@ namespace pcr
...
@@ -33,8 +33,8 @@ namespace pcr
class
IPropertyControlObserver
class
IPropertyControlObserver
{
{
public
:
public
:
virtual
void
focusGained
(
const
css
::
uno
::
Reference
<
css
::
inspection
::
XPropertyControl
>&
_
Control
)
=
0
;
virtual
void
focusGained
(
const
css
::
uno
::
Reference
<
css
::
inspection
::
XPropertyControl
>&
Control
)
=
0
;
virtual
void
valueChanged
(
const
css
::
uno
::
Reference
<
css
::
inspection
::
XPropertyControl
>&
_
Control
)
=
0
;
virtual
void
valueChanged
(
const
css
::
uno
::
Reference
<
css
::
inspection
::
XPropertyControl
>&
Control
)
=
0
;
protected
:
protected
:
~
IPropertyControlObserver
()
{}
~
IPropertyControlObserver
()
{}
...
...
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