summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-04-03 16:19:02 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-04-04 06:38:38 +0000
commite63116602b8f49508d0aef1dd1afe746a29cc219 (patch)
tree4dfc2253d096497c7f7f4522b42825ab84e7a64b
parent5676ced82539d9e40bde6196d2aa3b2e4c7b3fdb (diff)
loplugin:unusedmethods
Change-Id: I30f9b6e68a7aa73782c980749e34f8f8d40ae57b Reviewed-on: https://gerrit.libreoffice.org/36047 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
-rw-r--r--include/editeng/charrotateitem.hxx2
-rw-r--r--include/svl/aeitem.hxx1
-rw-r--r--include/vcl/imagerepository.hxx4
-rw-r--r--include/xmloff/fasttokenhandler.hxx3
-rw-r--r--svl/source/items/aeitem.cxx7
-rw-r--r--vcl/source/image/ImageRepository.cxx6
-rw-r--r--writerfilter/source/dmapper/NumberingManager.hxx1
-rw-r--r--xmloff/source/core/fasttokenhandler.cxx7
8 files changed, 0 insertions, 31 deletions
diff --git a/include/editeng/charrotateitem.hxx b/include/editeng/charrotateitem.hxx
index 922cbdff11cb..fec33b5d4944 100644
--- a/include/editeng/charrotateitem.hxx
+++ b/include/editeng/charrotateitem.hxx
@@ -34,8 +34,6 @@
class EDITENG_DLLPUBLIC SvxTextRotateItem : public SfxUInt16Item
{
public:
- static SfxPoolItem* CreateDefault();
-
SvxTextRotateItem(sal_uInt16 nValue, const sal_uInt16 nId);
virtual SfxPoolItem* Clone(SfxItemPool *pPool = nullptr) const override;
diff --git a/include/svl/aeitem.hxx b/include/svl/aeitem.hxx
index f0334fb0ca46..10aaa1f30d26 100644
--- a/include/svl/aeitem.hxx
+++ b/include/svl/aeitem.hxx
@@ -49,7 +49,6 @@ class SVL_DLLPUBLIC SfxAllEnumItem: public SfxAllEnumItem_Base
std::size_t GetPosByValue_( sal_uInt16 nValue ) const;
public:
- SfxAllEnumItem();
explicit SfxAllEnumItem( sal_uInt16 nWhich);
SfxAllEnumItem( sal_uInt16 nWhich, sal_uInt16 nVal );
SfxAllEnumItem( sal_uInt16 nWhich, SvStream &rStream );
diff --git a/include/vcl/imagerepository.hxx b/include/vcl/imagerepository.hxx
index 5983825f4236..d7553802afe1 100644
--- a/include/vcl/imagerepository.hxx
+++ b/include/vcl/imagerepository.hxx
@@ -51,10 +51,6 @@ namespace vcl
BitmapEx& _out_rImage,
bool bSearchLanguageDependent
);
-
- static bool loadDefaultImage(
- BitmapEx& _out_rImage
- );
};
diff --git a/include/xmloff/fasttokenhandler.hxx b/include/xmloff/fasttokenhandler.hxx
index 4a514f568170..ca20d687ad7f 100644
--- a/include/xmloff/fasttokenhandler.hxx
+++ b/include/xmloff/fasttokenhandler.hxx
@@ -26,9 +26,6 @@ public:
explicit TokenMap();
~TokenMap();
- /** Returns the token identifier for the passed OUString (UTF-16) token name. */
- static sal_Int32 getTokenFromUnicode( const OUString& rUnicodeName );
-
/** Returns the UTF-8 name of the passed token identifier as byte sequence. */
css::uno::Sequence< sal_Int8 > getUtf8TokenName( sal_Int32 nToken ) const
{
diff --git a/svl/source/items/aeitem.cxx b/svl/source/items/aeitem.cxx
index d50b77d85761..819a0d61fa77 100644
--- a/svl/source/items/aeitem.cxx
+++ b/svl/source/items/aeitem.cxx
@@ -32,13 +32,6 @@ struct SfxAllEnumValue_Impl
class SfxAllEnumValueArr : public std::vector<SfxAllEnumValue_Impl> {};
-SfxAllEnumItem::SfxAllEnumItem() :
- SfxAllEnumItem_Base(0, 0),
- pValues( nullptr ),
- pDisabledValues( nullptr )
-{
-}
-
SfxAllEnumItem::SfxAllEnumItem(sal_uInt16 which, sal_uInt16 nVal):
SfxAllEnumItem_Base(which, nVal),
pValues( nullptr ),
diff --git a/vcl/source/image/ImageRepository.cxx b/vcl/source/image/ImageRepository.cxx
index 7b9255f32348..5e14a70fdb47 100644
--- a/vcl/source/image/ImageRepository.cxx
+++ b/vcl/source/image/ImageRepository.cxx
@@ -32,12 +32,6 @@ namespace vcl
return ImageTree::get().loadImage( _rName, sIconTheme, _out_rImage, _bSearchLanguageDependent );
}
- bool ImageRepository::loadDefaultImage( BitmapEx& _out_rImage)
- {
- OUString sIconTheme = Application::GetSettings().GetStyleSettings().DetermineIconTheme();
- return ImageTree::get().loadDefaultImage( sIconTheme,_out_rImage);
- }
-
} // namespace vcl
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
diff --git a/writerfilter/source/dmapper/NumberingManager.hxx b/writerfilter/source/dmapper/NumberingManager.hxx
index cd09b3d10f9d..f2cb1d2c637e 100644
--- a/writerfilter/source/dmapper/NumberingManager.hxx
+++ b/writerfilter/source/dmapper/NumberingManager.hxx
@@ -86,7 +86,6 @@ public:
// Getters
const OUString& GetBulletChar( ) { return m_sBulletChar; };
- const css::awt::Size& GetGraphicSize( ) { return m_aGraphicSize; };
const std::shared_ptr< StyleSheetEntry >& GetParaStyle( ) { return m_pParaStyle; };
bool isOutlineNumbering() const { return m_outline; }
diff --git a/xmloff/source/core/fasttokenhandler.cxx b/xmloff/source/core/fasttokenhandler.cxx
index 8c60bd15520f..22a1606b44b1 100644
--- a/xmloff/source/core/fasttokenhandler.cxx
+++ b/xmloff/source/core/fasttokenhandler.cxx
@@ -55,13 +55,6 @@ TokenMap::~TokenMap()
{
}
-sal_Int32 TokenMap::getTokenFromUnicode( const OUString& rUnicodeName )
-{
- OString aUtf8Name = OUStringToOString( rUnicodeName, RTL_TEXTENCODING_UTF8 );
- const struct xmltoken* pToken = Perfect_Hash::in_word_set( aUtf8Name.getStr(), aUtf8Name.getLength() );
- return pToken ? pToken->nToken : XML_TOKEN_INVALID;
-}
-
sal_Int32 TokenMap::getTokenPerfectHash( const char *pStr, sal_Int32 nLength )
{
const struct xmltoken *pToken = Perfect_Hash::in_word_set( pStr, nLength );