summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-07-23 09:49:57 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-07-24 10:36:20 +0000
commit38023af6c13602ae1856bea11693c18c0c3efa36 (patch)
treec17ef3941354f732e2fdd7c3cedb7c649f99e965 /extensions
parent2c6ad5343de947f1646536c539b116346adb8fdc (diff)
loplugin:unusedmethods
Change-Id: If5090c330e12d6e537766bf4a9be0a2360381a7a Reviewed-on: https://gerrit.libreoffice.org/17312 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'extensions')
-rw-r--r--extensions/source/abpilot/abspilot.hxx5
-rw-r--r--extensions/source/bibliography/bibcont.hxx3
-rw-r--r--extensions/source/bibliography/datman.hxx2
-rw-r--r--extensions/source/dbpilots/gridwizard.hxx3
-rw-r--r--extensions/source/propctrlr/browserview.hxx1
-rw-r--r--extensions/source/propctrlr/formmetadata.cxx7
-rw-r--r--extensions/source/propctrlr/formmetadata.hxx1
-rw-r--r--extensions/source/propctrlr/propertyeditor.hxx2
-rw-r--r--extensions/source/propctrlr/propertyinfo.hxx3
-rw-r--r--extensions/source/scanner/scanner.hxx5
10 files changed, 1 insertions, 31 deletions
diff --git a/extensions/source/abpilot/abspilot.hxx b/extensions/source/abpilot/abspilot.hxx
index 515c5cf71c3e..28deb987b8de 100644
--- a/extensions/source/abpilot/abspilot.hxx
+++ b/extensions/source/abpilot/abspilot.hxx
@@ -117,11 +117,6 @@ namespace abp
return ( AST_LDAP != _eType ) && ( AST_KAB != _eType );
}
- inline bool needTableSelection() const
- {
- return needTableSelection( m_aSettings.eType );
- }
-
void implCleanup();
void implCommitAll();
diff --git a/extensions/source/bibliography/bibcont.hxx b/extensions/source/bibliography/bibcont.hxx
index cb1d07e6a1ed..580e722854f0 100644
--- a/extensions/source/bibliography/bibcont.hxx
+++ b/extensions/source/bibliography/bibcont.hxx
@@ -89,9 +89,6 @@ class BibBookContainer: public BibSplitWindow
virtual ~BibBookContainer();
virtual void dispose() SAL_OVERRIDE;
- inline BibWindow* GetTopWin() {return pTopWin;}
- inline BibWindow* GetBottomWin() {return pBottomWin;}
-
// !BibShortCutHandler is also always a Window!
void createTopFrame( BibShortCutHandler* pWin );
diff --git a/extensions/source/bibliography/datman.hxx b/extensions/source/bibliography/datman.hxx
index 8d6e1a8a6c85..fb5db53f5a28 100644
--- a/extensions/source/bibliography/datman.hxx
+++ b/extensions/source/bibliography/datman.hxx
@@ -111,8 +111,6 @@ protected:
void SetMeAsUidListener();
void RemoveMeAsUidListener();
- void UpdateAddressbookCursor(const OUString& aSourceName);
-
::com::sun::star::uno::Reference< ::com::sun::star::awt::XControlModel >
updateGridModel(const ::com::sun::star::uno::Reference< ::com::sun::star::form::XForm > & xDbForm);
static ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControlModel >
diff --git a/extensions/source/dbpilots/gridwizard.hxx b/extensions/source/dbpilots/gridwizard.hxx
index 871bca83e7cb..1cbb7ebd23cf 100644
--- a/extensions/source/dbpilots/gridwizard.hxx
+++ b/extensions/source/dbpilots/gridwizard.hxx
@@ -100,9 +100,6 @@ namespace dbp
DECL_LINK(OnEntryDoubleClicked, ListBox*);
void implCheckButtons();
- void implApplySettings();
-
- ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess > implGetColumns(bool _bShowError = true);
};
diff --git a/extensions/source/propctrlr/browserview.hxx b/extensions/source/propctrlr/browserview.hxx
index 60f0667bf4e6..0209b32d6b33 100644
--- a/extensions/source/propctrlr/browserview.hxx
+++ b/extensions/source/propctrlr/browserview.hxx
@@ -56,7 +56,6 @@ namespace pcr
void activatePage(sal_uInt16 _nPage);
void setPageActivationHandler(const Link<>& _rHdl) { m_aPageActivationHandler = _rHdl; }
- Link<> getPageActivationHandler() const { return m_aPageActivationHandler; }
::com::sun::star::awt::Size getMinimumSize();
diff --git a/extensions/source/propctrlr/formmetadata.cxx b/extensions/source/propctrlr/formmetadata.cxx
index ea2d2aa53d00..b3b959cf886c 100644
--- a/extensions/source/propctrlr/formmetadata.cxx
+++ b/extensions/source/propctrlr/formmetadata.cxx
@@ -366,13 +366,6 @@ namespace pcr
}
- OUString OPropertyInfoService::getPropertyName( sal_Int32 _nPropId )
- {
- const OPropertyInfoImpl* pInfo = getPropertyInfo(_nPropId);
- return pInfo ? pInfo->sName : OUString();
- }
-
-
OUString OPropertyInfoService::getPropertyTranslation(sal_Int32 _nId) const
{
const OPropertyInfoImpl* pInfo = getPropertyInfo(_nId);
diff --git a/extensions/source/propctrlr/formmetadata.hxx b/extensions/source/propctrlr/formmetadata.hxx
index 7dad5c5517e9..20c4fbdee61a 100644
--- a/extensions/source/propctrlr/formmetadata.hxx
+++ b/extensions/source/propctrlr/formmetadata.hxx
@@ -51,7 +51,6 @@ namespace pcr
virtual sal_Int16 getPropertyPos(sal_Int32 _nId) const SAL_OVERRIDE;
virtual sal_uInt32 getPropertyUIFlags(sal_Int32 _nId) const SAL_OVERRIDE;
virtual ::std::vector< OUString > getPropertyEnumRepresentations(sal_Int32 _nId) const SAL_OVERRIDE;
- virtual OUString getPropertyName( sal_Int32 _nPropId ) SAL_OVERRIDE;
bool isComposeable( const OUString& _rPropertyName ) const;
diff --git a/extensions/source/propctrlr/propertyeditor.hxx b/extensions/source/propctrlr/propertyeditor.hxx
index 6fe279ba32b4..e202095b47a9 100644
--- a/extensions/source/propctrlr/propertyeditor.hxx
+++ b/extensions/source/propctrlr/propertyeditor.hxx
@@ -94,7 +94,6 @@ namespace pcr
void ClearAll();
void SetPropertyValue(const OUString& _rEntryName, const ::com::sun::star::uno::Any& _rValue, bool _bUnknownValue );
- ::com::sun::star::uno::Any GetPropertyValue(const OUString& rEntryName ) const;
sal_uInt16 GetPropertyPos(const OUString& rEntryName ) const;
::com::sun::star::uno::Reference< ::com::sun::star::inspection::XPropertyControl >
GetPropertyControl( const OUString& rEntryName );
@@ -108,7 +107,6 @@ namespace pcr
void ChangeEntry( const OLineDescriptor& );
void setPageActivationHandler(const Link<>& _rHdl) { m_aPageActivationHandler = _rHdl; }
- Link<> getPageActivationHandler() const { return m_aPageActivationHandler; }
// #95343# -------------------------------
sal_Int32 getMinimumWidth();
diff --git a/extensions/source/propctrlr/propertyinfo.hxx b/extensions/source/propctrlr/propertyinfo.hxx
index b677daf4e56e..dc5dba484fe9 100644
--- a/extensions/source/propctrlr/propertyinfo.hxx
+++ b/extensions/source/propctrlr/propertyinfo.hxx
@@ -43,9 +43,6 @@ namespace pcr
virtual sal_uInt32 getPropertyUIFlags(sal_Int32 _nId) const = 0;
virtual ::std::vector< OUString > getPropertyEnumRepresentations(sal_Int32 _nId) const = 0;
- // this is only temporary, until the UNOization of the property browser is completed
- virtual OUString getPropertyName( sal_Int32 _nPropId ) = 0;
-
virtual ~IPropertyInfoService() { }
};
diff --git a/extensions/source/scanner/scanner.hxx b/extensions/source/scanner/scanner.hxx
index 2a77accfe70c..e7384e8ec476 100644
--- a/extensions/source/scanner/scanner.hxx
+++ b/extensions/source/scanner/scanner.hxx
@@ -81,12 +81,9 @@ public:
static OUString getImplementationName_Static() throw();
static Sequence< OUString > getSupportedServiceNames_Static() throw();
- void Lock() { maProtector.acquire(); }
- void Unlock() { maProtector.release(); }
-
void* GetData() const { return mpData; }
void SetData( void* pData ) { ReleaseData(); mpData = pData; }
-};
+ };
Reference< XInterface > SAL_CALL ScannerManager_CreateInstance( const Reference< com::sun::star::lang::XMultiServiceFactory >& rxFactory ) throw( Exception );