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
fbfeb0cb
Kaydet (Commit)
fbfeb0cb
authored
Ara 13, 2011
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
callcatcher: remove some unused code
üst
59bf1b58
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
0 additions
and
78 deletions
+0
-78
accessiblestatesethelper.hxx
unotools/inc/unotools/accessiblestatesethelper.hxx
+0
-14
atom.hxx
unotools/inc/unotools/atom.hxx
+0
-6
accessiblestatesethelper.cxx
unotools/source/accessibility/accessiblestatesethelper.cxx
+0
-40
atom.cxx
unotools/source/misc/atom.cxx
+0
-16
unusedcode.easy
unusedcode.easy
+0
-2
No files found.
unotools/inc/unotools/accessiblestatesethelper.hxx
Dosyayı görüntüle @
fbfeb0cb
...
...
@@ -139,20 +139,6 @@ public:
void
RemoveState
(
sal_Int16
aState
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
/** Compares the set with the set given by rComparativeValue and puts the results
into rOldStates and rNewStates.
rOldStates contains after call all states which are in the own set and
not in the comparative set.
rNewStates contains after call all states which are in the comparative
set and not in the own set.
*/
sal_Bool
Compare
(
const
AccessibleStateSetHelper
&
rComparativeValue
,
AccessibleStateSetHelper
&
rOldStates
,
AccessibleStateSetHelper
&
rNewStates
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
//===== XTypeProvider ===================================================
/** Returns a sequence of all supported interfaces.
...
...
unotools/inc/unotools/atom.hxx
Dosyayı görüntüle @
fbfeb0cb
...
...
@@ -58,8 +58,6 @@ namespace utl {
int
getAtom
(
const
::
rtl
::
OUString
&
,
sal_Bool
bCreate
=
sal_False
);
const
::
rtl
::
OUString
&
getString
(
int
)
const
;
void
overrideAtom
(
int
atom
,
const
::
rtl
::
OUString
&
description
);
};
...
...
@@ -73,10 +71,6 @@ namespace utl {
int
getAtom
(
int
atomClass
,
const
::
rtl
::
OUString
&
rString
,
sal_Bool
bCreate
=
sal_False
);
const
::
rtl
::
OUString
&
getString
(
int
atomClass
,
int
atom
)
const
;
void
overrideAtom
(
int
atomClass
,
int
atom
,
const
::
rtl
::
OUString
&
description
);
void
overrideAtom
(
int
atomClass
,
const
::
com
::
sun
::
star
::
util
::
AtomDescription
&
newDescription
)
{
overrideAtom
(
atomClass
,
newDescription
.
atom
,
newDescription
.
description
);
}
};
}
...
...
unotools/source/accessibility/accessiblestatesethelper.cxx
Dosyayı görüntüle @
fbfeb0cb
...
...
@@ -58,10 +58,6 @@ public:
throw
(
uno
::
RuntimeException
);
void
RemoveState
(
sal_Int16
aState
)
throw
(
uno
::
RuntimeException
);
sal_Bool
Compare
(
const
AccessibleStateSetHelperImpl
*
pComparativeValue
,
AccessibleStateSetHelperImpl
*
pOldStates
,
AccessibleStateSetHelperImpl
*
pNewStates
)
const
throw
(
uno
::
RuntimeException
);
inline
void
AddStates
(
const
sal_Int64
_nStates
)
SAL_THROW
(
(
)
);
...
...
@@ -139,31 +135,6 @@ inline void AccessibleStateSetHelperImpl::RemoveState(sal_Int16 aState)
maStates
&=
aTempBitSet
;
}
inline
sal_Bool
AccessibleStateSetHelperImpl
::
Compare
(
const
AccessibleStateSetHelperImpl
*
pComparativeValue
,
AccessibleStateSetHelperImpl
*
pOldStates
,
AccessibleStateSetHelperImpl
*
pNewStates
)
const
throw
(
uno
::
RuntimeException
)
{
sal_Bool
bResult
(
sal_False
);
if
(
pComparativeValue
&&
pOldStates
&&
pNewStates
)
{
if
(
maStates
==
pComparativeValue
->
maStates
)
bResult
=
sal_True
;
else
{
sal_uInt64
aTempBitSet
(
maStates
);
aTempBitSet
^=
pComparativeValue
->
maStates
;
pOldStates
->
maStates
=
aTempBitSet
;
pOldStates
->
maStates
&=
maStates
;
pNewStates
->
maStates
=
aTempBitSet
;
pNewStates
->
maStates
&=
pComparativeValue
->
maStates
;
}
}
return
bResult
;
}
//===== internal ============================================================
AccessibleStateSetHelper
::
AccessibleStateSetHelper
()
...
...
@@ -280,17 +251,6 @@ void AccessibleStateSetHelper::RemoveState(sal_Int16 aState)
mpHelperImpl
->
RemoveState
(
aState
);
}
sal_Bool
AccessibleStateSetHelper
::
Compare
(
const
AccessibleStateSetHelper
&
rComparativeValue
,
AccessibleStateSetHelper
&
rOldStates
,
AccessibleStateSetHelper
&
rNewStates
)
throw
(
uno
::
RuntimeException
)
{
osl
::
MutexGuard
aGuard
(
maMutex
);
return
mpHelperImpl
->
Compare
(
rComparativeValue
.
mpHelperImpl
,
rOldStates
.
mpHelperImpl
,
rNewStates
.
mpHelperImpl
);
}
//===== XTypeProvider =======================================================
uno
::
Sequence
<
::
com
::
sun
::
star
::
uno
::
Type
>
...
...
unotools/source/misc/atom.cxx
Dosyayı görüntüle @
fbfeb0cb
...
...
@@ -64,14 +64,6 @@ const ::rtl::OUString& AtomProvider::getString( int nAtom ) const
return
it
==
m_aStringMap
.
end
()
?
aEmpty
:
it
->
second
;
}
void
AtomProvider
::
overrideAtom
(
int
atom
,
const
::
rtl
::
OUString
&
description
)
{
m_aAtomMap
[
description
]
=
atom
;
m_aStringMap
[
atom
]
=
description
;
if
(
m_nAtoms
<=
atom
)
m_nAtoms
=
atom
+
1
;
}
// -----------------------------------------------------------------------
MultiAtomProvider
::
MultiAtomProvider
()
...
...
@@ -111,12 +103,4 @@ const ::rtl::OUString& MultiAtomProvider::getString( int atomClass, int atom ) c
return
aEmpty
;
}
void
MultiAtomProvider
::
overrideAtom
(
int
atomClass
,
int
atom
,
const
::
rtl
::
OUString
&
description
)
{
::
boost
::
unordered_map
<
int
,
AtomProvider
*
,
::
boost
::
hash
<
int
>
>::
const_iterator
it
=
m_aAtomLists
.
find
(
atomClass
);
if
(
it
==
m_aAtomLists
.
end
()
)
m_aAtomLists
[
atomClass
]
=
new
AtomProvider
();
m_aAtomLists
[
atomClass
]
->
overrideAtom
(
atom
,
description
);
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
unusedcode.easy
Dosyayı görüntüle @
fbfeb0cb
...
...
@@ -2197,8 +2197,6 @@ unicode::isPunctuation(unsigned short)
unicode::isTitle(unsigned short)
unicode::isUnicodeScriptType(unsigned short, short)
unographic::GraphicDescriptor::isValid() const
utl::AccessibleStateSetHelper::Compare(utl::AccessibleStateSetHelper const&, utl::AccessibleStateSetHelper&, utl::AccessibleStateSetHelper&)
utl::MultiAtomProvider::overrideAtom(int, int, rtl::OUString const&)
utl::NodeValueAccessor::bind(com::sun::star::uno::Any*)
utl::OConfigurationNode::appendNode(rtl::OUString const&, utl::OConfigurationNode const&) const
utl::OConfigurationValueContainer::getServiceFactory() const
...
...
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