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
af4b38d6
Kaydet (Commit)
af4b38d6
authored
Mar 24, 2014
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Remove dead code
Change-Id: I59fb7843d5c9a6cf2873b6d668d0e9dccff316d2
üst
05c1c60a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
199 deletions
+0
-199
basecontainercontrol.hxx
UnoControls/inc/basecontainercontrol.hxx
+0
-105
basecontainercontrol.cxx
UnoControls/source/base/basecontainercontrol.cxx
+0
-94
No files found.
UnoControls/inc/basecontainercontrol.hxx
Dosyayı görüntüle @
af4b38d6
...
@@ -285,23 +285,6 @@ public:
...
@@ -285,23 +285,6 @@ public:
@onerror -
@onerror -
*/
*/
virtual
void
SAL_CALL
addContainerListener
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
container
::
XContainerListener
>&
xListener
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
/**_______________________________________________________________________________________________________
@short -
@descr -
@seealso -
@param -
@return -
@onerror -
*/
virtual
void
SAL_CALL
removeControl
(
virtual
void
SAL_CALL
removeControl
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
awt
::
XControl
>&
xControl
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
awt
::
XControl
>&
xControl
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
,
std
::
exception
);
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
,
std
::
exception
);
...
@@ -319,23 +302,6 @@ public:
...
@@ -319,23 +302,6 @@ public:
@onerror -
@onerror -
*/
*/
virtual
void
SAL_CALL
removeContainerListener
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
container
::
XContainerListener
>&
xListener
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
/**_______________________________________________________________________________________________________
@short -
@descr -
@seealso -
@param -
@return -
@onerror -
*/
virtual
void
SAL_CALL
setStatusText
(
virtual
void
SAL_CALL
setStatusText
(
const
OUString
&
sStatusText
const
OUString
&
sStatusText
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
,
std
::
exception
);
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
,
std
::
exception
);
...
@@ -374,77 +340,6 @@ public:
...
@@ -374,77 +340,6 @@ public:
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
,
std
::
exception
);
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
,
std
::
exception
);
// XUnoControlContainer
/**_______________________________________________________________________________________________________
@short -
@descr -
@seealso -
@param -
@return -
@onerror -
*/
virtual
void
SAL_CALL
addTabController
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
awt
::
XTabController
>&
xTabController
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
/**_______________________________________________________________________________________________________
@short -
@descr -
@seealso -
@param -
@return -
@onerror -
*/
virtual
void
SAL_CALL
removeTabController
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
awt
::
XTabController
>&
xTabController
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
/**_______________________________________________________________________________________________________
@short -
@descr -
@seealso -
@param -
@return -
@onerror -
*/
virtual
void
SAL_CALL
setTabControllers
(
const
::
com
::
sun
::
star
::
uno
::
Sequence
<
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
awt
::
XTabController
>
>&
xTabControllers
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
/**_______________________________________________________________________________________________________
@short -
@descr -
@seealso -
@param -
@return -
@onerror -
*/
virtual
::
com
::
sun
::
star
::
uno
::
Sequence
<
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
awt
::
XTabController
>
>
SAL_CALL
getTabControllers
()
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
// XWindow
// XWindow
...
...
UnoControls/source/base/basecontainercontrol.cxx
Dosyayı görüntüle @
af4b38d6
...
@@ -298,18 +298,6 @@ void SAL_CALL BaseContainerControl::addControl ( const OUString& rName, const Re
...
@@ -298,18 +298,6 @@ void SAL_CALL BaseContainerControl::addControl ( const OUString& rName, const Re
// XControlContainer
// XControlContainer
void
SAL_CALL
BaseContainerControl
::
addContainerListener
(
const
Reference
<
XContainerListener
>
&
rListener
)
throw
(
RuntimeException
)
{
// Ready for multithreading
MutexGuard
aGuard
(
m_aMutex
)
;
m_aListeners
.
addInterface
(
::
getCppuType
((
const
Reference
<
XContainerListener
>*
)
0
),
rListener
)
;
}
// XControlContainer
void
SAL_CALL
BaseContainerControl
::
removeControl
(
const
Reference
<
XControl
>
&
rControl
)
throw
(
RuntimeException
,
std
::
exception
)
void
SAL_CALL
BaseContainerControl
::
removeControl
(
const
Reference
<
XControl
>
&
rControl
)
throw
(
RuntimeException
,
std
::
exception
)
{
{
if
(
rControl
.
is
()
)
if
(
rControl
.
is
()
)
...
@@ -363,18 +351,6 @@ void SAL_CALL BaseContainerControl::removeControl ( const Reference< XControl >
...
@@ -363,18 +351,6 @@ void SAL_CALL BaseContainerControl::removeControl ( const Reference< XControl >
// XControlContainer
// XControlContainer
void
SAL_CALL
BaseContainerControl
::
removeContainerListener
(
const
Reference
<
XContainerListener
>
&
rListener
)
throw
(
RuntimeException
)
{
// Ready for multithreading
MutexGuard
aGuard
(
m_aMutex
)
;
m_aListeners
.
removeInterface
(
::
getCppuType
((
const
Reference
<
XContainerListener
>*
)
0
),
rListener
)
;
}
// XControlContainer
void
SAL_CALL
BaseContainerControl
::
setStatusText
(
const
OUString
&
rStatusText
)
throw
(
RuntimeException
,
std
::
exception
)
void
SAL_CALL
BaseContainerControl
::
setStatusText
(
const
OUString
&
rStatusText
)
throw
(
RuntimeException
,
std
::
exception
)
{
{
// go down to each parent
// go down to each parent
...
@@ -440,76 +416,6 @@ Sequence< Reference< XControl > > SAL_CALL BaseContainerControl::getControls ()
...
@@ -440,76 +416,6 @@ Sequence< Reference< XControl > > SAL_CALL BaseContainerControl::getControls ()
}
}
// XUnoControlContainer
void
SAL_CALL
BaseContainerControl
::
addTabController
(
const
Reference
<
XTabController
>
&
rTabController
)
throw
(
RuntimeException
)
{
// Ready for multithreading
MutexGuard
aGuard
(
m_aMutex
)
;
sal_uInt32
nOldCount
=
m_xTabControllerList
.
getLength
()
;
Sequence
<
Reference
<
XTabController
>
>
aNewList
(
nOldCount
+
1
)
;
sal_uInt32
nCount
=
0
;
// Copy old elements of sequence to new list.
for
(
nCount
=
0
;
nCount
<
nOldCount
;
++
nCount
)
{
aNewList
.
getArray
()
[
nCount
]
=
m_xTabControllerList
.
getConstArray
()
[
nCount
]
;
}
// Add new controller
aNewList
.
getArray
()
[
nOldCount
]
=
rTabController
;
// change old and new list
m_xTabControllerList
=
aNewList
;
}
// XUnoControlContainer
void
SAL_CALL
BaseContainerControl
::
removeTabController
(
const
Reference
<
XTabController
>
&
rTabController
)
throw
(
RuntimeException
)
{
// Ready for multithreading
MutexGuard
aGuard
(
m_aMutex
)
;
sal_uInt32
nMaxCount
=
m_xTabControllerList
.
getLength
()
;
sal_uInt32
nCount
=
0
;
// Search right tabcontroller ...
for
(
nCount
=
0
;
nCount
<
nMaxCount
;
++
nCount
)
{
if
(
m_xTabControllerList
.
getConstArray
()
[
nCount
]
==
rTabController
)
{
// ... if is it found ... remove it from list.
m_xTabControllerList
.
getArray
()[
nCount
].
clear
();
break
;
}
}
}
// XUnoControlContainer
void
SAL_CALL
BaseContainerControl
::
setTabControllers
(
const
Sequence
<
Reference
<
XTabController
>
>&
rTabControllers
)
throw
(
RuntimeException
)
{
// Ready for multithreading
MutexGuard
aGuard
(
m_aMutex
)
;
m_xTabControllerList
=
rTabControllers
;
}
Sequence
<
Reference
<
XTabController
>
>
SAL_CALL
BaseContainerControl
::
getTabControllers
()
throw
(
RuntimeException
)
{
// Ready for multithreading
MutexGuard
aGuard
(
m_aMutex
)
;
return
m_xTabControllerList
;
}
// XWindow
// XWindow
...
...
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