Kaydet (Commit) c760932f authored tarafından Noel Grandin's avatar Noel Grandin Kaydeden (comit) Noel Grandin

loplugin:unusedmethods basebmp

Change-Id: I9e89fea4e94a91edbbe355780c2a12d6e6cb6e4a
Reviewed-on: https://gerrit.libreoffice.org/16728Reviewed-by: 's avatarNoel Grandin <noelgrandin@gmail.com>
Tested-by: 's avatarNoel Grandin <noelgrandin@gmail.com>
üst 592ee030
...@@ -412,13 +412,6 @@ namespace ...@@ -412,13 +412,6 @@ namespace
return boost::dynamic_pointer_cast<alphamask_bitmap_type>( bmp ); 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, virtual void clear_i( Color fillColor,
const basegfx::B2IBox& rBounds ) SAL_OVERRIDE const basegfx::B2IBox& rBounds ) SAL_OVERRIDE
{ {
......
...@@ -567,7 +567,6 @@ protected: ...@@ -567,7 +567,6 @@ protected:
private: private:
BASEBMP_DLLPRIVATE virtual bool isCompatibleBitmap( const BitmapDeviceSharedPtr& bmp ) const = 0; BASEBMP_DLLPRIVATE virtual bool isCompatibleBitmap( const BitmapDeviceSharedPtr& bmp ) const = 0;
BASEBMP_DLLPRIVATE virtual bool isCompatibleClipMask( 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, BASEBMP_DLLPRIVATE virtual void clear_i( Color fillColor,
const basegfx::B2IBox& rBounds ) = 0; const basegfx::B2IBox& rBounds ) = 0;
......
...@@ -715,14 +715,6 @@ public: ...@@ -715,14 +715,6 @@ public:
sal_uInt32 getLineLengthLimit() const { return m_nLineLengthLimit; } sal_uInt32 getLineLengthLimit() const { return m_nLineLengthLimit; }
/** 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. /** Write a sequence of octets.
@descr The supplied sequence of Unicode characters is interpreted as @descr The supplied sequence of Unicode characters is interpreted as
...@@ -789,12 +781,6 @@ public: ...@@ -789,12 +781,6 @@ public:
static inline INetMIMEOutputSink & endl(INetMIMEOutputSink & rSink); 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, inline void INetMIMEOutputSink::write(const sal_Unicode * pBegin,
const sal_Unicode * pEnd) const sal_Unicode * pEnd)
......
...@@ -159,16 +159,6 @@ class TOOLS_DLLPUBLIC INetMIMEMessage ...@@ -159,16 +159,6 @@ class TOOLS_DLLPUBLIC INetMIMEMessage
void CopyImp (const INetMIMEMessage& rMsg); void CopyImp (const INetMIMEMessage& rMsg);
void SetHeaderParsed() { bHeaderParsed = true; } 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 ( OUString GetHeaderValue_Impl (
sal_uIntPtr nIndex, INetMIME::HeaderFieldType eType) const sal_uIntPtr nIndex, INetMIME::HeaderFieldType eType) const
{ {
......
...@@ -61,8 +61,6 @@ namespace DOM ...@@ -61,8 +61,6 @@ namespace DOM
NodeStack m_aNodeStack; NodeStack m_aNodeStack;
NSStack m_aNSStack; NSStack m_aNSStack;
OUString resolvePrefix(const OUString& aPrefix);
css::uno::Reference< css::xml::dom::XDocument > m_aDocument; css::uno::Reference< css::xml::dom::XDocument > m_aDocument;
css::uno::Reference< css::xml::dom::XDocumentFragment > m_aFragment; css::uno::Reference< css::xml::dom::XDocumentFragment > m_aFragment;
css::uno::Reference< css::xml::sax::XLocator > m_aLocator; css::uno::Reference< css::xml::sax::XLocator > m_aLocator;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment