summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-02-27 22:38:11 +0000
committerCaolán McNamara <caolanm@redhat.com>2012-02-28 10:56:59 +0000
commit34d71c5a08639f6255704be0d4a7df2b6cf6c13f (patch)
tree3b9af6eb714861bf4393333dc11d5c86dcbd758a
parent0ad02521c11369777931ce92eea799a409979cba (diff)
callcatcher: remove newly unused methods and update list
-rw-r--r--filter/inc/filter/msfilter/msdffimp.hxx1
-rw-r--r--filter/source/msfilter/msdffimp.cxx9
-rw-r--r--package/inc/ZipPackageStream.hxx1
-rw-r--r--package/source/zippackage/ZipPackageStream.cxx6
-rw-r--r--svtools/source/control/scriptedtext.cxx7
-rw-r--r--tools/inc/tools/pstm.hxx4
-rw-r--r--tools/source/ref/pstm.cxx17
-rwxr-xr-xunusedcode.easy7
-rw-r--r--vcl/inc/vcl/button.hxx1
-rw-r--r--vcl/source/control/button.cxx6
10 files changed, 0 insertions, 59 deletions
diff --git a/filter/inc/filter/msfilter/msdffimp.hxx b/filter/inc/filter/msfilter/msdffimp.hxx
index 34183c59e45c..c8edec044f6f 100644
--- a/filter/inc/filter/msfilter/msdffimp.hxx
+++ b/filter/inc/filter/msfilter/msdffimp.hxx
@@ -641,7 +641,6 @@ public:
void Scale(sal_Int32& rVal) const;
void Scale(Point& rPos) const;
void Scale(Size& rSiz) const;
- void Scale(Polygon& rPoly) const;
void ScaleEmu(sal_Int32& rVal) const;
sal_uInt32 ScalePt( sal_uInt32 nPt ) const;
sal_Int32 ScalePoint( sal_Int32 nVal ) const;
diff --git a/filter/source/msfilter/msdffimp.cxx b/filter/source/msfilter/msdffimp.cxx
index 713a99d86c9e..af17c92c0588 100644
--- a/filter/source/msfilter/msdffimp.cxx
+++ b/filter/source/msfilter/msdffimp.cxx
@@ -3265,15 +3265,6 @@ void SvxMSDffManager::Scale( Size& rSiz ) const
}
}
-void SvxMSDffManager::Scale( Polygon& rPoly ) const
-{
- if ( !bNeedMap )
- return;
- sal_uInt16 nPointAnz = rPoly.GetSize();
- for ( sal_uInt16 nPointNum = 0; nPointNum < nPointAnz; nPointNum++ )
- Scale( rPoly[ nPointNum ] );
-}
-
void SvxMSDffManager::ScaleEmu( sal_Int32& rVal ) const
{
rVal = BigMulDiv( rVal, nEmuMul, nEmuDiv );
diff --git a/package/inc/ZipPackageStream.hxx b/package/inc/ZipPackageStream.hxx
index cb165af9ee97..a3dc3c0a98d0 100644
--- a/package/inc/ZipPackageStream.hxx
+++ b/package/inc/ZipPackageStream.hxx
@@ -94,7 +94,6 @@ public:
void SetFromManifest( sal_Bool bValue ) { m_bFromManifest = bValue; }
::rtl::Reference< EncryptionData > GetEncryptionData( bool bWinEncoding = false );
- void SetBaseEncryptionData( const ::rtl::Reference< BaseEncryptionData >& xData );
::com::sun::star::uno::Sequence< sal_Int8 > GetEncryptionKey( bool bWinEncoding = false );
diff --git a/package/source/zippackage/ZipPackageStream.cxx b/package/source/zippackage/ZipPackageStream.cxx
index b5c0731ffb35..483759e7e16d 100644
--- a/package/source/zippackage/ZipPackageStream.cxx
+++ b/package/source/zippackage/ZipPackageStream.cxx
@@ -228,12 +228,6 @@ sal_Int32 ZipPackageStream::GetBlockSize() const
}
//--------------------------------------------------------------------------
-void ZipPackageStream::SetBaseEncryptionData( const ::rtl::Reference< BaseEncryptionData >& xData )
-{
- m_xBaseEncryptionData = xData;
-}
-
-//--------------------------------------------------------------------------
uno::Sequence< sal_Int8 > ZipPackageStream::GetEncryptionKey( bool bUseWinEncoding )
{
uno::Sequence< sal_Int8 > aResult;
diff --git a/svtools/source/control/scriptedtext.cxx b/svtools/source/control/scriptedtext.cxx
index 9338c116eaf5..b3da1484939a 100644
--- a/svtools/source/control/scriptedtext.cxx
+++ b/svtools/source/control/scriptedtext.cxx
@@ -93,8 +93,6 @@ public:
const OUString& _rText,
const uno::Reference< i18n::XBreakIterator >& _xBreakIter );
- /** Returns the previously set text. */
- const OUString& GetText() const;
/** Returns a size struct containing the width and height of the text in the current output device. */
const Size& GetTextSize() const;
@@ -279,11 +277,6 @@ void SvtScriptedTextHelper_Impl::SetText( const OUString& _rText, const uno::Ref
CalculateBreaks( _xBreakIter );
}
-const OUString& SvtScriptedTextHelper_Impl::GetText() const
-{
- return maText;
-}
-
const Size& SvtScriptedTextHelper_Impl::GetTextSize() const
{
return maTextSize;
diff --git a/tools/inc/tools/pstm.hxx b/tools/inc/tools/pstm.hxx
index 125875cac8c4..6f1e8e9e98d9 100644
--- a/tools/inc/tools/pstm.hxx
+++ b/tools/inc/tools/pstm.hxx
@@ -202,10 +202,6 @@ class TOOLS_DLLPUBLIC SvPersistStream : public SvStream
virtual sal_uIntPtr SeekPos( sal_uIntPtr nPos );
virtual void FlushData();
protected:
- sal_uIntPtr GetCurMaxIndex( const SvPersistUIdx & ) const;
- sal_uIntPtr GetCurMaxIndex() const
- { return GetCurMaxIndex( aPUIdx ); }
-
void WriteObj( sal_uInt8 nHdr, SvPersistBase * pObj );
sal_uInt32 ReadObj( SvPersistBase * & rpObj,
sal_Bool bRegister );
diff --git a/tools/source/ref/pstm.cxx b/tools/source/ref/pstm.cxx
index 4956a6aa46f5..4c95a6fa6445 100644
--- a/tools/source/ref/pstm.cxx
+++ b/tools/source/ref/pstm.cxx
@@ -311,23 +311,6 @@ void SvPersistStream::FlushData()
}
/*************************************************************************
-|* SvPersistStream::GetCurMaxIndex()
-*************************************************************************/
-sal_uIntPtr SvPersistStream::GetCurMaxIndex( const SvPersistUIdx & rIdx ) const
-{
- // const bekomme ich nicht den hoechsten Index
- SvPersistUIdx * p = (SvPersistUIdx *)&rIdx;
- // alten merken
- sal_uIntPtr nCurIdx = p->GetCurIndex();
- p->Last();
- // Bereiche nicht ueberschneiden, deshalb nur groessere Indexe
- sal_uIntPtr nMaxIdx = p->GetCurIndex();
- // wieder herstellen
- p->Seek( nCurIdx );
- return nMaxIdx;
-}
-
-/*************************************************************************
|* SvPersistStream::GetIndex()
*************************************************************************/
sal_uIntPtr SvPersistStream::GetIndex( SvPersistBase * pObj ) const
diff --git a/unusedcode.easy b/unusedcode.easy
index e6668ad34556..b7e4e9232670 100755
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -1,5 +1,4 @@
(anonymous namespace)::writeU8(WPXBinaryData&, int)
-Button::ImplGetSymbolAlign() const
CertificateExtension_XmlSecImpl::setCertExtn(com::sun::star::uno::Sequence<signed char>, com::sun::star::uno::Sequence<signed char>, unsigned char)
CharPosArray::Insert(CharPosArray const*, unsigned short, unsigned short, unsigned short)
CharPosArray::Replace(int const&, unsigned short)
@@ -466,13 +465,7 @@ XMLTextListAutoStylePool_Impl::Remove(XMLTextListAutoStylePoolEntry_Impl*)
XMLVisAreaContext::XMLVisAreaContext(SvXMLImport&, unsigned short, rtl::OUString const&, com::sun::star::uno::Reference<com::sun::star::xml::sax::XAttributeList> const&, Rectangle&, short)
XWindowItem::XWindowItem(unsigned short, Window*)
XWindowItem::XWindowItem(unsigned short, com::sun::star::uno::Reference<com::sun::star::awt::XWindow>&)
-XclExpFontBuffer::Insert(ScPatternAttr const&, short, XclExpColorType, bool)
XclExpPivotCache::GetFieldAcc(rtl::OUString const&)
-XclExpString::SetFormats(std::__debug::vector<XclFormatRun, std::allocator<XclFormatRun> > const&)
-XclTokenArray::XclTokenArray(std::__debug::vector<unsigned char, std::allocator<unsigned char> >&, bool)
-XclTokenArrayIterator::Init()
-XclXFBase::HasUsedFlags() const
-ZipPackageStream::SetBaseEncryptionData(rtl::Reference<BaseEncryptionData> const&)
_CpyTabFrms::Insert(_CpyTabFrm const&, unsigned short&)
_CpyTabFrms::Insert(_CpyTabFrm const*, unsigned short)
_CpyTabFrms::Insert(_CpyTabFrms const*, unsigned short, unsigned short)
diff --git a/vcl/inc/vcl/button.hxx b/vcl/inc/vcl/button.hxx
index 2cda341cf34f..89d4d8e3fff0 100644
--- a/vcl/inc/vcl/button.hxx
+++ b/vcl/inc/vcl/button.hxx
@@ -65,7 +65,6 @@ public:
SAL_DLLPRIVATE void ImplSetFocusRect( const Rectangle &rFocusRect );
SAL_DLLPRIVATE const Rectangle& ImplGetFocusRect() const;
SAL_DLLPRIVATE void ImplSetSymbolAlign( SymbolAlign eAlign );
- SAL_DLLPRIVATE SymbolAlign ImplGetSymbolAlign() const;
SAL_DLLPRIVATE void ImplSetSmallSymbol( sal_Bool bSmall = sal_True );
SAL_DLLPRIVATE const Rectangle& ImplGetSymbolRect() const;
SAL_DLLPRIVATE void ImplSetSymbolRect(const Rectangle&);
diff --git a/vcl/source/control/button.cxx b/vcl/source/control/button.cxx
index 2b2f3832d93e..fd8d002bdccc 100644
--- a/vcl/source/control/button.cxx
+++ b/vcl/source/control/button.cxx
@@ -589,12 +589,6 @@ void Button::ImplSetSymbolAlign( SymbolAlign eAlign )
}
// -----------------------------------------------------------------------
-SymbolAlign Button::ImplGetSymbolAlign() const
-{
- return mpButtonData->meSymbolAlign;
-}
-
-// -----------------------------------------------------------------------
void Button::ImplSetSmallSymbol( sal_Bool bSmall )
{
mpButtonData->mbSmallSymbol = bSmall;