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
378b578f
Kaydet (Commit)
378b578f
authored
Eki 07, 2012
tarafından
Julien Nabet
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Remove unused mork methods
Change-Id: I2d9c02145bf332ecfc0e2493bc697d61259c9d16
üst
1f79b55b
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
0 additions
and
64 deletions
+0
-64
MColumnAlias.cxx
connectivity/source/drivers/mork/MColumnAlias.cxx
+0
-12
MColumnAlias.hxx
connectivity/source/drivers/mork/MColumnAlias.hxx
+0
-1
MNSProfileDiscover.cxx
connectivity/source/drivers/mork/MNSProfileDiscover.cxx
+0
-42
MNSProfileDiscover.hxx
connectivity/source/drivers/mork/MNSProfileDiscover.hxx
+0
-4
unusedcode.easy
unusedcode.easy
+0
-5
No files found.
connectivity/source/drivers/mork/MColumnAlias.cxx
Dosyayı görüntüle @
378b578f
...
...
@@ -137,16 +137,4 @@ void OColumnAlias::initialize( const ::com::sun::star::uno::Reference< ::com::su
return
pos
->
second
.
programmaticAsciiName
;
}
//------------------------------------------------------------------
bool
OColumnAlias
::
isColumnSearchable
(
const
::
rtl
::
OUString
_alias
)
const
{
::
rtl
::
OString
sProgrammatic
=
getProgrammaticNameOrFallbackToUTF8Alias
(
_alias
);
return
(
!
sProgrammatic
.
equals
(
"HomeCountry"
)
&&
!
sProgrammatic
.
equals
(
"WorkCountry"
)
);
// for those, we know that they're not searchable in the Mozilla/LDAP implementation.
// There might be more ...
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
connectivity/source/drivers/mork/MColumnAlias.hxx
Dosyayı görüntüle @
378b578f
...
...
@@ -67,7 +67,6 @@ namespace connectivity
inline
AliasMap
::
const_iterator
begin
()
const
{
return
m_aAliasMap
.
begin
();
}
inline
AliasMap
::
const_iterator
end
()
const
{
return
m_aAliasMap
.
end
();
}
bool
isColumnSearchable
(
const
::
rtl
::
OUString
_alias
)
const
;
private
:
void
initialize
(
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
lang
::
XMultiServiceFactory
>&
_rxORB
);
...
...
connectivity/source/drivers/mork/MNSProfileDiscover.cxx
Dosyayı görüntüle @
378b578f
...
...
@@ -158,30 +158,6 @@ namespace connectivity
return
m_Product
.
mProfileList
[
profileName
]
->
getProfilePath
();
}
::
sal_Int32
ProfileAccess
::
getProfileCount
(
::
com
::
sun
::
star
::
mozilla
::
MozillaProductType
product
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
)
{
sal_Int32
index
=
product
;
ProductStruct
&
m_Product
=
m_ProductProfileList
[
index
];
return
static_cast
<
::
sal_Int32
>
(
m_Product
.
mProfileList
.
size
());
}
::
sal_Int32
ProfileAccess
::
getProfileList
(
::
com
::
sun
::
star
::
mozilla
::
MozillaProductType
product
,
::
com
::
sun
::
star
::
uno
::
Sequence
<
::
rtl
::
OUString
>&
list
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
)
{
sal_Int32
index
=
product
;
ProductStruct
&
m_Product
=
m_ProductProfileList
[
index
];
list
.
realloc
(
static_cast
<
sal_Int32
>
(
m_Product
.
mProfileList
.
size
()));
sal_Int32
i
=
0
;
for
(
ProfileList
::
iterator
itor
=
m_Product
.
mProfileList
.
begin
();
itor
!=
m_Product
.
mProfileList
.
end
();
++
itor
)
{
ProfileStruct
*
aProfile
=
(
*
itor
).
second
;
list
[
i
]
=
aProfile
->
getProfileName
();
i
++
;
}
return
static_cast
<
::
sal_Int32
>
(
m_Product
.
mProfileList
.
size
());
}
::
rtl
::
OUString
ProfileAccess
::
getDefaultProfile
(
::
com
::
sun
::
star
::
mozilla
::
MozillaProductType
product
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
)
{
sal_Int32
index
=
product
;
...
...
@@ -199,24 +175,6 @@ namespace connectivity
ProfileStruct
*
aProfile
=
(
*
m_Product
.
mProfileList
.
begin
()).
second
;
return
aProfile
->
getProfileName
();
}
::
sal_Bool
ProfileAccess
::
isProfileLocked
(
::
com
::
sun
::
star
::
mozilla
::
MozillaProductType
product
,
const
::
rtl
::
OUString
&
profileName
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
)
{
(
void
)
product
;
/* avoid warning about unused parameter */
(
void
)
profileName
;
/* avoid warning about unused parameter */
return
sal_True
;
}
::
sal_Bool
ProfileAccess
::
getProfileExists
(
::
com
::
sun
::
star
::
mozilla
::
MozillaProductType
product
,
const
::
rtl
::
OUString
&
profileName
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
)
{
sal_Int32
index
=
product
;
ProductStruct
&
m_Product
=
m_ProductProfileList
[
index
];
if
(
!
m_Product
.
mProfileList
.
size
()
||
m_Product
.
mProfileList
.
find
(
profileName
)
==
m_Product
.
mProfileList
.
end
())
{
return
sal_False
;
}
else
return
sal_True
;
}
}
}
...
...
connectivity/source/drivers/mork/MNSProfileDiscover.hxx
Dosyayı görüntüle @
378b578f
...
...
@@ -79,11 +79,7 @@ namespace connectivity
virtual
~
ProfileAccess
();
ProfileAccess
();
::
rtl
::
OUString
getProfilePath
(
::
com
::
sun
::
star
::
mozilla
::
MozillaProductType
product
,
const
::
rtl
::
OUString
&
profileName
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
::
sal_Int32
getProfileCount
(
::
com
::
sun
::
star
::
mozilla
::
MozillaProductType
product
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
::
sal_Int32
getProfileList
(
::
com
::
sun
::
star
::
mozilla
::
MozillaProductType
product
,
::
com
::
sun
::
star
::
uno
::
Sequence
<
::
rtl
::
OUString
>&
list
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
::
rtl
::
OUString
getDefaultProfile
(
::
com
::
sun
::
star
::
mozilla
::
MozillaProductType
product
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
::
sal_Bool
SAL_CALL
isProfileLocked
(
::
com
::
sun
::
star
::
mozilla
::
MozillaProductType
product
,
const
::
rtl
::
OUString
&
profileName
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
::
sal_Bool
SAL_CALL
getProfileExists
(
::
com
::
sun
::
star
::
mozilla
::
MozillaProductType
product
,
const
::
rtl
::
OUString
&
profileName
)
throw
(
::
com
::
sun
::
star
::
uno
::
RuntimeException
);
protected
:
ProductStruct
m_ProductProfileList
[
4
];
sal_Int32
LoadProductsInfo
();
...
...
unusedcode.easy
Dosyayı görüntüle @
378b578f
...
...
@@ -70,11 +70,6 @@ comphelper::detail::ConfigurationWrapper::setLocalizedPropertyValue(boost::share
connectivity::file::OStatement_Base::reset()
connectivity::mork::MQueryHelper::next()
connectivity::mork::MQueryHelperResultEntry::insert(rtl::OString const&, rtl::OUString&)
connectivity::mork::OColumnAlias::isColumnSearchable(rtl::OUString) const
connectivity::mork::ProfileAccess::getProfileCount(com::sun::star::mozilla::MozillaProductType)
connectivity::mork::ProfileAccess::getProfileExists(com::sun::star::mozilla::MozillaProductType, rtl::OUString const&)
connectivity::mork::ProfileAccess::getProfileList(com::sun::star::mozilla::MozillaProductType, com::sun::star::uno::Sequence<rtl::OUString>&)
connectivity::mork::ProfileAccess::isProfileLocked(com::sun::star::mozilla::MozillaProductType, rtl::OUString const&)
connectivity::mozab::MQueryHelper::next()
connectivity::sdbcx::OGroup::OGroup(rtl::OUString const&, unsigned char)
connectivity::sdbcx::OGroup::OGroup(unsigned char)
...
...
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