summaryrefslogtreecommitdiff
path: root/unotools/source/config
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-10-04 11:51:36 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-10-04 12:49:27 +0100
commitb243afd8755c2a470c6aa0607f5773bedd026937 (patch)
treedd84b6b5da4b8aa7fa8c4e5513112454a7ba6acd /unotools/source/config
parent77407d7ad0cece76eed9e7767765b12229e6449d (diff)
callcatcher: update unused code list
and remove code freshly unused post widget layout introduction Change-Id: Ifa244391f7f2b565dec10314ca3fd2958dfd87a9
Diffstat (limited to 'unotools/source/config')
-rw-r--r--unotools/source/config/lingucfg.cxx58
1 files changed, 0 insertions, 58 deletions
diff --git a/unotools/source/config/lingucfg.cxx b/unotools/source/config/lingucfg.cxx
index e8956c464d18..a291a95e3e70 100644
--- a/unotools/source/config/lingucfg.cxx
+++ b/unotools/source/config/lingucfg.cxx
@@ -1211,22 +1211,6 @@ rtl::OUString SvtLinguConfig::GetSpellAndGrammarContextDictionaryImage(
return aRes;
}
-
-::rtl::OUString SvtLinguConfig::GetThesaurusDialogImage(
- const ::rtl::OUString &rServiceImplName
-) const
-{
- rtl::OUString aRes;
- if (!rServiceImplName.isEmpty())
- {
- rtl::OUString aImageName( A2OU( "ThesaurusDialogImage" ));
- rtl::OUString aPath( GetVendorImageUrl_Impl( rServiceImplName, aImageName ) );
- aRes = aPath;
- }
- return aRes;
-}
-
-
::rtl::OUString SvtLinguConfig::GetSynonymsContextImage(
const ::rtl::OUString &rServiceImplName
) const
@@ -1241,48 +1225,6 @@ rtl::OUString SvtLinguConfig::GetSpellAndGrammarContextDictionaryImage(
return aRes;
}
-
-bool SvtLinguConfig::HasVendorImages( const char *pImageName ) const
-{
- bool bRes = false;
- if (pImageName)
- {
- try
- {
- uno::Reference< container::XNameAccess > xNA( GetMainUpdateAccess(), uno::UNO_QUERY_THROW );
- xNA.set( xNA->getByName( rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("Images")) ), uno::UNO_QUERY_THROW );
- xNA.set( xNA->getByName( rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("VendorImages")) ), uno::UNO_QUERY_THROW );
-
- uno::Sequence< rtl::OUString > aElementNames( xNA->getElementNames() );
- sal_Int32 nVendors = aElementNames.getLength();
- const rtl::OUString *pVendor = aElementNames.getConstArray();
- for (sal_Int32 i = 0; i < nVendors; ++i)
- {
- uno::Reference< container::XNameAccess > xNA2( xNA->getByName( pVendor[i] ), uno::UNO_QUERY_THROW );
- uno::Sequence< rtl::OUString > aPropNames( xNA2->getElementNames() );
- sal_Int32 nProps = aPropNames.getLength();
- const rtl::OUString *pPropNames = aPropNames.getConstArray();
- for (sal_Int32 k = 0; k < nProps; ++k)
- {
- // for a quicker check we ignore the HC image names here
- const OUString &rName = pPropNames[k];
- if (rName.equalsAscii( pImageName ))
- {
- bRes = true;
- break;
- }
- }
- }
- }
- catch (uno::Exception &)
- {
- DBG_ASSERT( 0, "exception caught. HasVendorImages failed" );
- }
- }
- return bRes;
-}
-
-
bool SvtLinguConfig::HasGrammarChecker() const
{
bool bRes = false;