summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-07-02 15:55:46 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-07-06 09:06:47 +0000
commitc760932fae3c2763a8b573511a5ad1e0f2b75ca7 (patch)
tree22ece7a6620a563475799c900fd3a01b8ba76692
parent592ee0308a36518137ab8ed965f28de4600909da (diff)
loplugin:unusedmethods basebmp
Change-Id: I9e89fea4e94a91edbbe355780c2a12d6e6cb6e4a Reviewed-on: https://gerrit.libreoffice.org/16728 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
-rw-r--r--basebmp/source/bitmapdevice.cxx7
-rw-r--r--include/basebmp/bitmapdevice.hxx1
-rw-r--r--include/tools/inetmime.hxx14
-rw-r--r--include/tools/inetmsg.hxx10
-rw-r--r--unoxml/source/dom/saxbuilder.hxx2
5 files changed, 0 insertions, 34 deletions
diff --git a/basebmp/source/bitmapdevice.cxx b/basebmp/source/bitmapdevice.cxx
index c31cd579c089..41a32feed7e4 100644
--- a/basebmp/source/bitmapdevice.cxx
+++ b/basebmp/source/bitmapdevice.cxx
@@ -412,13 +412,6 @@ namespace
return boost::dynamic_pointer_cast<alphamask_bitmap_type>( bmp );
}
- virtual bool isCompatibleAlphaMask( const BitmapDeviceSharedPtr& bmp ) const SAL_OVERRIDE
- {
- // TODO(P1): dynamic_cast usually called twice for
- // compatible formats
- return getCompatibleAlphaMask( bmp ).get() != NULL;
- }
-
virtual void clear_i( Color fillColor,
const basegfx::B2IBox& rBounds ) SAL_OVERRIDE
{
diff --git a/include/basebmp/bitmapdevice.hxx b/include/basebmp/bitmapdevice.hxx
index 595374183697..7668f9cab19c 100644
--- a/include/basebmp/bitmapdevice.hxx
+++ b/include/basebmp/bitmapdevice.hxx
@@ -567,7 +567,6 @@ protected:
private:
BASEBMP_DLLPRIVATE virtual bool isCompatibleBitmap( const BitmapDeviceSharedPtr& bmp ) const = 0;
BASEBMP_DLLPRIVATE virtual bool isCompatibleClipMask( const BitmapDeviceSharedPtr& bmp ) const = 0;
- BASEBMP_DLLPRIVATE virtual bool isCompatibleAlphaMask( const BitmapDeviceSharedPtr& bmp ) const = 0;
BASEBMP_DLLPRIVATE virtual void clear_i( Color fillColor,
const basegfx::B2IBox& rBounds ) = 0;
diff --git a/include/tools/inetmime.hxx b/include/tools/inetmime.hxx
index b791060586ee..57666605b2f0 100644
--- a/include/tools/inetmime.hxx
+++ b/include/tools/inetmime.hxx
@@ -717,14 +717,6 @@ public:
/** Write a sequence of octets.
- @param pBegin Points to the start of the sequence, must not be null.
-
- @param pEnd Points past the end of the sequence, must be >= pBegin.
- */
- inline void write(const sal_Char * pBegin, const sal_Char * pEnd);
-
- /** Write a sequence of octets.
-
@descr The supplied sequence of Unicode characters is interpreted as
a sequence of octets. It is an error if any of the elements of the
sequence has a numerical value greater than 255.
@@ -789,12 +781,6 @@ public:
static inline INetMIMEOutputSink & endl(INetMIMEOutputSink & rSink);
};
-inline void INetMIMEOutputSink::write(const sal_Char * pBegin,
- const sal_Char * pEnd)
-{
- writeSequence(pBegin, pEnd);
- m_nColumn += pEnd - pBegin;
-}
inline void INetMIMEOutputSink::write(const sal_Unicode * pBegin,
const sal_Unicode * pEnd)
diff --git a/include/tools/inetmsg.hxx b/include/tools/inetmsg.hxx
index 3bca8fa723ee..c064a0dc80eb 100644
--- a/include/tools/inetmsg.hxx
+++ b/include/tools/inetmsg.hxx
@@ -159,16 +159,6 @@ class TOOLS_DLLPUBLIC INetMIMEMessage
void CopyImp (const INetMIMEMessage& rMsg);
void SetHeaderParsed() { bHeaderParsed = true; }
- OUString GetHeaderName_Impl (
- sal_uIntPtr nIndex, rtl_TextEncoding eEncoding) const
- {
- if ( nIndex < m_aHeaderList.size() ) {
- return OStringToOUString(m_aHeaderList[ nIndex ]->GetName(), eEncoding);
- } else {
- return OUString();
- }
- }
-
OUString GetHeaderValue_Impl (
sal_uIntPtr nIndex, INetMIME::HeaderFieldType eType) const
{
diff --git a/unoxml/source/dom/saxbuilder.hxx b/unoxml/source/dom/saxbuilder.hxx
index ce8ce1368fdf..f15295c970e6 100644
--- a/unoxml/source/dom/saxbuilder.hxx
+++ b/unoxml/source/dom/saxbuilder.hxx
@@ -61,8 +61,6 @@ namespace DOM
NodeStack m_aNodeStack;
NSStack m_aNSStack;
- OUString resolvePrefix(const OUString& aPrefix);
-
css::uno::Reference< css::xml::dom::XDocument > m_aDocument;
css::uno::Reference< css::xml::dom::XDocumentFragment > m_aFragment;
css::uno::Reference< css::xml::sax::XLocator > m_aLocator;