summaryrefslogtreecommitdiff
path: root/svx/source/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-01-13 15:06:54 +0200
committerNoel Grandin <noel@peralex.com>2016-01-14 08:50:44 +0200
commitd6318214908b088f8820033f62c47fbc4821c3a1 (patch)
tree156ee4efb624aff31ca64f58f06da1346aad8ca1 /svx/source/inc
parent5adcc4f6da434af9b6baeba06699321ceaa15478 (diff)
loplugin:unusedmethods unused return value in svx
Change-Id: I15a87da20487ce031c6aab2f3df0b18fd3e4c249
Diffstat (limited to 'svx/source/inc')
-rw-r--r--svx/source/inc/fmshimp.hxx2
-rw-r--r--svx/source/inc/fmtextcontrolshell.hxx4
-rw-r--r--svx/source/inc/formcontrolfactory.hxx2
-rw-r--r--svx/source/inc/formcontrolling.hxx2
-rw-r--r--svx/source/inc/sdbdatacolumn.hxx3
5 files changed, 4 insertions, 9 deletions
diff --git a/svx/source/inc/fmshimp.hxx b/svx/source/inc/fmshimp.hxx
index d5138b3f0196..81057e8aa294 100644
--- a/svx/source/inc/fmshimp.hxx
+++ b/svx/source/inc/fmshimp.hxx
@@ -431,7 +431,7 @@ public:
/** executes a control conversion slot for the current selection
@precond canConvertCurrentSelectionToControl( <arg>_nSlotId</arg> ) must return <TRUE/>
*/
- SAL_DLLPRIVATE bool executeControlConversionSlot( sal_uInt16 _nSlotId );
+ SAL_DLLPRIVATE void executeControlConversionSlot( sal_uInt16 _nSlotId );
/// checks whether the given slot id denotes a control conversion slot
SAL_DLLPRIVATE static bool isControlConversionSlot( sal_uInt16 _nSlotId );
diff --git a/svx/source/inc/fmtextcontrolshell.hxx b/svx/source/inc/fmtextcontrolshell.hxx
index 0d3b9b2344d4..148c88b500f4 100644
--- a/svx/source/inc/fmtextcontrolshell.hxx
+++ b/svx/source/inc/fmtextcontrolshell.hxx
@@ -150,8 +150,8 @@ namespace svx
protected:
enum AttributeSet { eCharAttribs, eParaAttribs };
void executeAttributeDialog( AttributeSet _eSet, SfxRequest& _rReq );
- bool executeSelectAll( );
- bool executeClipboardSlot( SfxSlotId _nSlot );
+ void executeSelectAll( );
+ void executeClipboardSlot( SfxSlotId _nSlot );
private:
inline bool isControllerListening() const { return !m_aControlObservers.empty(); }
diff --git a/svx/source/inc/formcontrolfactory.hxx b/svx/source/inc/formcontrolfactory.hxx
index aceb739699a6..020a457a50c2 100644
--- a/svx/source/inc/formcontrolfactory.hxx
+++ b/svx/source/inc/formcontrolfactory.hxx
@@ -70,7 +70,7 @@ namespace svxform
);
sal_Int16 initializeControlModel( const DocumentType _eDocType, const SdrUnoObj& _rObject );
- sal_Int16 initializeControlModel( const DocumentType _eDocType, const css::uno::Reference< css::beans::XPropertySet >& _rxControlModel );
+ void initializeControlModel( const DocumentType _eDocType, const css::uno::Reference< css::beans::XPropertySet >& _rxControlModel );
void initializeTextFieldLineEnds(
const css::uno::Reference< css::beans::XPropertySet >& _rxModel
diff --git a/svx/source/inc/formcontrolling.hxx b/svx/source/inc/formcontrolling.hxx
index ffbed7f7c01c..74cc598f7331 100644
--- a/svx/source/inc/formcontrolling.hxx
+++ b/svx/source/inc/formcontrolling.hxx
@@ -118,8 +118,6 @@ namespace svx
// access to the instance which implements the functionality. Not to be used when not assigned
inline const FormControllerHelper* operator->() const { return m_pImpl; }
inline FormControllerHelper* operator->() { return m_pImpl; }
- inline const FormControllerHelper& operator*() const { return *m_pImpl; }
- inline FormControllerHelper& operator*() { return *m_pImpl; }
};
diff --git a/svx/source/inc/sdbdatacolumn.hxx b/svx/source/inc/sdbdatacolumn.hxx
index 3ab1663ed2d9..db7c8a51beb0 100644
--- a/svx/source/inc/sdbdatacolumn.hxx
+++ b/svx/source/inc/sdbdatacolumn.hxx
@@ -48,9 +48,6 @@ namespace svxform
// (which is checked via the supported interfaces) _all_ members will be set to
// void !, even if the object has some of the needed interfaces.
- DataColumn* operator ->() { return this; }
- operator css::uno::Reference< css::uno::XInterface> () const{ return m_xColumn.get(); }
-
// 'conversions'
inline const css::uno::Reference< css::sdb::XColumn>& getColumn() const
{