unusedcode.easy: remove unused code

Change-Id: I87e7264ffd3086796aaa8e136c2f9b77fde7b74f
This commit is contained in:
Thomas Arnhold 2012-08-13 16:55:38 +02:00
parent 72e21d7a56
commit 582e06f71c
9 changed files with 0 additions and 107 deletions

View file

@ -1148,20 +1148,6 @@ sal_Bool SotStorage::GetProperty( const String& rName, ::com::sun::star::uno::An
}
}
sal_Bool SotStorage::GetProperty( const String& rEleName, const String& rName, ::com::sun::star::uno::Any& rValue )
{
UCBStorage* pStg = PTR_CAST( UCBStorage, m_pOwnStg );
if ( pStg )
{
return pStg->GetProperty( rEleName, rName, rValue );
}
else
{
DBG_WARNING("W1:Not implemented!");
return sal_False;
}
}
sal_Bool SotStorage::IsOLEStorage() const
{
UCBStorage* pStg = PTR_CAST( UCBStorage, m_pOwnStg );

View file

@ -100,8 +100,6 @@ public :
rtl::OUString GetServerName() { return m_aEDServerName.GetText(); }
rtl::OUString GetServerUrl();
ResId GetResId( sal_uInt16 nId );
private:
void InitDetails( );

View file

@ -159,11 +159,6 @@ rtl::OUString PlaceEditDialog::GetServerUrl()
return sUrl;
}
ResId PlaceEditDialog::GetResId(sal_uInt16 nId)
{
return SvtResId( nId );
}
boost::shared_ptr<Place> PlaceEditDialog::GetPlace()
{
boost::shared_ptr<Place> newPlace( new Place( m_aEDServerName.GetText(), GetServerUrl(), true ) );

View file

@ -2197,13 +2197,6 @@ sal_Bool TransferableDataHelper::GetInputStream( const DataFlavor& rFlavor, Refe
// -----------------------------------------------------------------------------
sal_Bool TransferableDataHelper::GetInterface( const DataFlavor& rFlavor, Reference< XInterface >& rIf )
{
const Any aAny( GetAny( rFlavor ) );
return( aAny.hasValue() && ( aAny >>= rIf ) );
}
// -----------------------------------------------------------------------------
void TransferableDataHelper::Rebind( const Reference< XTransferable >& _rxNewContent )
{
mxTransfer = _rxNewContent;

View file

@ -108,7 +108,6 @@ public:
SwDoc* GetDoc() {return m_pDoc;}
sal_Bool IsDescriptor()const {return m_bIsDescriptor;}
sal_uInt16 GetResId() const {return nResTypeId;}
};
struct SwFieldProperties_Impl;

View file

@ -244,11 +244,6 @@ TempFile::~TempFile()
delete pImp;
}
sal_Bool TempFile::IsValid() const
{
return pImp->aName.Len() != 0;
}
String TempFile::GetName() const
{
rtl::OUString aTmp;

View file

@ -1,5 +1,4 @@
FontSelectPattern::FontSelectPattern(PhysicalFontFace const&, Size const&, float, int, bool)
PlaceEditDialog::GetResId(unsigned short)
PopupMenu::SetSelectedEntry(unsigned short)
SanExtensionImpl::setCertExtn(com::sun::star::uno::Sequence<signed char>, com::sun::star::uno::Sequence<signed char>, unsigned char)
SanExtensionImpl::setCertExtn(unsigned char*, unsigned int, unsigned char*, unsigned int, unsigned char)
@ -8,11 +7,9 @@ ScVbaFormat<ooo::vba::excel::XStyle>::getAddIndent()
ScVbaFormat<ooo::vba::excel::XStyle>::setAddIndent(com::sun::star::uno::Any const&)
ScVbaFormat<ooo::vba::excel::XStyle>::setNumberFormat(com::sun::star::lang::Locale, rtl::OUString const&)
SecurityEnvironment_NssImpl::getImplementation(com::sun::star::uno::Reference<com::sun::star::uno::XInterface>)
SotStorage::GetProperty(String const&, String const&, com::sun::star::uno::Any&)
StgCache::Pos2Page(int)
SvtSlideSorterBarOptions::AddListenerLink(Link const&)
SvtSlideSorterBarOptions::RemoveListenerLink(Link const&)
TempFile::IsValid() const
TextEngine::GetLeftMargin() const
ThumbnailView::GetItemCount() const
ThumbnailView::InsertItem(unsigned short, BitmapEx const&, rtl::OUString const&, unsigned long)
@ -21,12 +18,10 @@ ThumbnailView::SetColCount(unsigned short)
ThumbnailView::SetLineCount(unsigned short)
ThumbnailViewItemAcc::FireAccessibleEvent(short, com::sun::star::uno::Any const&, com::sun::star::uno::Any const&)
ThumbnailViewItemAcc::getImplementation(com::sun::star::uno::Reference<com::sun::star::uno::XInterface> const&)
TransferableDataHelper::GetInterface(com::sun::star::datatransfer::DataFlavor const&, com::sun::star::uno::Reference<com::sun::star::uno::XInterface>&)
VCLXPrinterServer::getImplementationId()
VCLXPrinterServer::getTypes()
VirtualDevice::SetOutputSizePixelScaleOffsetAndBuffer(Size const&, Fraction const&, Point const&, boost::shared_array<unsigned char> const&)
Window::PostUserEvent(unsigned long&, unsigned long, void*)
X11SalGraphics::SetMask(int&, int&, unsigned int&, unsigned int&, int&, int&, unsigned long)
X509Certificate_NssImpl::getImplementation(com::sun::star::uno::Reference<com::sun::star::uno::XInterface>)
XclExpColorScale::XclExpColorScale(XclExpRoot const&, ScColorScaleFormat const&)
XclExpPivotCache::GetFieldAcc(rtl::OUString const&)

View file

@ -186,13 +186,6 @@ protected:
unsigned int &nDY,
int &nSrcX,
int &nSrcY ) const;
GC SetMask ( int &nX,
int &nY,
unsigned int &nDX,
unsigned int &nDY,
int &nSrcX,
int &nSrcY,
Pixmap hClipMask );
using SalGraphics::DrawBitmap;
void DrawBitmap( const SalTwoRect *pPosAry,
SalGraphics *pThis,

View file

@ -322,67 +322,6 @@ int X11SalGraphics::Clip( int &nX,
: RectanglePart;
}
// -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
GC X11SalGraphics::SetMask( int &nX,
int &nY,
unsigned int &nDX,
unsigned int &nDY,
int &nSrcX,
int &nSrcY,
Pixmap hClipMask )
{
int n = Clip( nX, nY, nDX, nDY, nSrcX, nSrcY );
if( RectangleOut == n )
return NULL;
Display *pDisplay = GetXDisplay();
if( !pMaskGC_ )
pMaskGC_ = CreateGC( GetDrawable() );
if( RectangleIn == n )
{
XSetClipMask( pDisplay, pMaskGC_, hClipMask );
XSetClipOrigin( pDisplay, pMaskGC_, nX - nSrcX, nY - nSrcY );
return pMaskGC_;
}
// - - - - create alternate clip pixmap for region clipping - - - -
Pixmap hPixmap = limitXCreatePixmap( pDisplay, hClipMask, nDX, nDY, 1 );
if( !hPixmap )
{
#if (OSL_DEBUG_LEVEL > 1) || defined DBG_UTIL
fprintf( stderr, "X11SalGraphics::SetMask !hPixmap\n" );
#endif
return NULL;
}
// - - - - reset pixmap; all 0 - - - - - - - - - - - - - - - - - - -
XFillRectangle( pDisplay,
hPixmap,
GetDisplay()->GetMonoGC( m_nXScreen ),
0, 0,
nDX, nDY );
// - - - - copy pixmap only within region - - - - - - - - - - - - -
GC pMonoGC = GetMonoGC( hPixmap );
XSetClipOrigin( pDisplay, pMonoGC, -nX, -nY );
XCopyArea( pDisplay,
hClipMask, // Source
hPixmap, // Destination
pMonoGC,
nSrcX, nSrcY, // Source
nDX, nDY, // Width & Height
0, 0 ); // Destination
XSetClipMask( pDisplay, pMaskGC_, hPixmap );
XSetClipOrigin( pDisplay, pMaskGC_, nX, nY );
XFreePixmap( pDisplay, hPixmap );
return pMaskGC_;
}
// -=-= SalGraphics =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
// -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=