summaryrefslogtreecommitdiff
path: root/include/svl
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-05-16 10:11:04 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-05-18 10:03:44 +0000
commit2c8fe2e737b84ecd3dbac36a4fe6bd061bbd3bae (patch)
tree66ba7ff0b95cf5ceeda5e53294a71c6786460eb3 /include/svl
parent4e59eecc077d27dd9762e7c890b2aaf92a212959 (diff)
update unusedmethods plugin to deal with constructors
and fix the operator< implementations in some of the other plugins too. Change-Id: Ie5631e0cdc8d2a994ad2af2533cdb558a6cfc035 Reviewed-on: https://gerrit.libreoffice.org/25057 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'include/svl')
-rw-r--r--include/svl/ctypeitm.hxx1
-rw-r--r--include/svl/nranges.hxx2
-rw-r--r--include/svl/ondemand.hxx39
-rw-r--r--include/svl/ownlist.hxx1
-rw-r--r--include/svl/poolitem.hxx1
-rw-r--r--include/svl/rngitem.hxx2
-rw-r--r--include/svl/svdde.hxx11
-rw-r--r--include/svl/szitem.hxx1
8 files changed, 0 insertions, 58 deletions
diff --git a/include/svl/ctypeitm.hxx b/include/svl/ctypeitm.hxx
index 746da66655fe..3f2a712ff79a 100644
--- a/include/svl/ctypeitm.hxx
+++ b/include/svl/ctypeitm.hxx
@@ -31,7 +31,6 @@ private:
public:
- CntContentTypeItem();
CntContentTypeItem( sal_uInt16 nWhich, const OUString& rType );
CntContentTypeItem( const CntContentTypeItem& rOrig );
diff --git a/include/svl/nranges.hxx b/include/svl/nranges.hxx
index d80c3377681d..373086b33708 100644
--- a/include/svl/nranges.hxx
+++ b/include/svl/nranges.hxx
@@ -31,7 +31,6 @@ class SfxUShortRanges
sal_uInt16* _pRanges; // 0-terminated array of sal_uInt16-pairs
public:
- SfxUShortRanges() : _pRanges( nullptr ) {}
SfxUShortRanges( const SfxUShortRanges &rOrig );
SfxUShortRanges( sal_uInt16 nWhich1, sal_uInt16 nWhich2 );
SfxUShortRanges( const sal_uInt16* nNumTable );
@@ -42,7 +41,6 @@ public:
SfxUShortRanges& operator += ( const SfxUShortRanges & );
- sal_uInt16 Count() const;
bool IsEmpty() const
{ return !_pRanges || 0 == *_pRanges; }
diff --git a/include/svl/ondemand.hxx b/include/svl/ondemand.hxx
index cfc729b9b518..a7d183fc928a 100644
--- a/include/svl/ondemand.hxx
+++ b/include/svl/ondemand.hxx
@@ -74,18 +74,6 @@ public:
pCurrent = pSystem = aSysLocale.GetLocaleDataPtr();
eCurrentLanguage = LANGUAGE_SYSTEM;
}
- OnDemandLocaleDataWrapper(
- const css::uno::Reference< css::uno::XComponentContext >& rxContext,
- const LanguageTag& rLanguageTag
- )
- : pEnglish(nullptr)
- , pAny(nullptr)
- , pCurrent(nullptr)
- , bInitialized(false)
- {
- pSystem = aSysLocale.GetLocaleDataPtr();
- init( rxContext, rLanguageTag );
- }
~OnDemandLocaleDataWrapper()
{
delete pEnglish;
@@ -160,15 +148,6 @@ public:
, bValid(false)
, bInitialized(false)
{}
- OnDemandCalendarWrapper(
- const css::uno::Reference< css::uno::XComponentContext >& rxContext,
- css::lang::Locale& rLocale
- )
- : bValid(false)
- , bInitialized(false)
- {
- init( rxContext, rLocale );
- }
~OnDemandCalendarWrapper()
{
delete pPtr;
@@ -231,16 +210,6 @@ public:
, bValid(false)
, bInitialized(false)
{}
- OnDemandTransliterationWrapper(
- const css::uno::Reference< css::uno::XComponentContext >& rxContext,
- LanguageType eLang,
- css::i18n::TransliterationModules nTypeP
- )
- : bValid(false)
- , bInitialized(false)
- {
- init( rxContext, eLang, nTypeP );
- }
~OnDemandTransliterationWrapper()
{
delete pPtr;
@@ -304,14 +273,6 @@ public:
: pPtr(nullptr)
, bInitialized(false)
{}
- OnDemandNativeNumberWrapper(
- const css::uno::Reference< css::uno::XComponentContext >& rxContext
- )
- : pPtr(nullptr)
- , bInitialized(false)
- {
- init( rxContext );
- }
~OnDemandNativeNumberWrapper()
{
delete pPtr;
diff --git a/include/svl/ownlist.hxx b/include/svl/ownlist.hxx
index 1a47f1a01fe8..6a29f993f62d 100644
--- a/include/svl/ownlist.hxx
+++ b/include/svl/ownlist.hxx
@@ -41,7 +41,6 @@ class SvCommand
OUString aCommand;
OUString aArgument;
public:
- SvCommand() {}
SvCommand( const OUString & rCommand, const OUString & rArg )
{
aCommand = rCommand;
diff --git a/include/svl/poolitem.hxx b/include/svl/poolitem.hxx
index 5d7e4235d6bc..f1f47a3bae30 100644
--- a/include/svl/poolitem.hxx
+++ b/include/svl/poolitem.hxx
@@ -253,7 +253,6 @@ class SVL_DLLPUBLIC SfxVoidItem final: public SfxPoolItem
public:
static SfxPoolItem* CreateDefault();
explicit SfxVoidItem( sal_uInt16 nWhich );
- SfxVoidItem( sal_uInt16 nWhich, SvStream & );
SfxVoidItem( const SfxVoidItem& );
virtual ~SfxVoidItem();
diff --git a/include/svl/rngitem.hxx b/include/svl/rngitem.hxx
index a8855de98a7e..91d9300500f6 100644
--- a/include/svl/rngitem.hxx
+++ b/include/svl/rngitem.hxx
@@ -32,7 +32,6 @@ private:
sal_uInt16 nFrom;
sal_uInt16 nTo;
public:
- SfxRangeItem();
SfxRangeItem( sal_uInt16 nWID, sal_uInt16 nFrom, sal_uInt16 nTo );
SfxRangeItem( const SfxRangeItem& rItem );
virtual bool operator==( const SfxPoolItem& ) const override;
@@ -54,7 +53,6 @@ private:
sal_uInt16* _pRanges;
public:
- SfxUShortRangesItem();
SfxUShortRangesItem( sal_uInt16 nWID, SvStream &rStream );
SfxUShortRangesItem( const SfxUShortRangesItem& rItem );
virtual ~SfxUShortRangesItem();
diff --git a/include/svl/svdde.hxx b/include/svl/svdde.hxx
index 524bd5ece1b0..4c10fa26397a 100644
--- a/include/svl/svdde.hxx
+++ b/include/svl/svdde.hxx
@@ -32,7 +32,6 @@ class DdeConnection;
class DdeTransaction;
class DdeLink;
class DdeRequest;
-class DdeWarmLink;
class DdeHotLink;
class DdePoke;
class DdeExecute;
@@ -141,13 +140,6 @@ public:
};
-class SVL_DLLPUBLIC DdeWarmLink : public DdeLink
-{
-public:
- DdeWarmLink( DdeConnection&, const OUString&, long = 0 );
-};
-
-
class SVL_DLLPUBLIC DdeHotLink : public DdeLink
{
public:
@@ -165,10 +157,7 @@ public:
class SVL_DLLPUBLIC DdePoke : public DdeTransaction
{
public:
- DdePoke( DdeConnection&, const OUString&, const char*, long,
- SotClipboardFormatId = SotClipboardFormatId::STRING, long = 0 );
DdePoke( DdeConnection&, const OUString&, SAL_UNUSED_PARAMETER const DdeData&, long = 0 );
- DdePoke( DdeConnection&, const OUString&, const OUString&, long = 0 );
};
diff --git a/include/svl/szitem.hxx b/include/svl/szitem.hxx
index 621f7c9c44bc..1ce7a676abbb 100644
--- a/include/svl/szitem.hxx
+++ b/include/svl/szitem.hxx
@@ -31,7 +31,6 @@ private:
Size aVal;
public:
- SfxSizeItem();
SfxSizeItem( sal_uInt16 nWhich, const Size& rVal );
SfxSizeItem( const SfxSizeItem& );
virtual ~SfxSizeItem() {}