summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sot/source/sdstor/storage.cxx14
-rw-r--r--svtools/inc/svtools/PlaceEditDialog.hxx2
-rw-r--r--svtools/source/dialogs/PlaceEditDialog.cxx5
-rw-r--r--svtools/source/misc/transfer.cxx7
-rw-r--r--sw/inc/unofield.hxx1
-rw-r--r--tools/source/fsys/tempfile.cxx5
-rwxr-xr-xunusedcode.easy5
-rw-r--r--vcl/inc/unx/salgdi.h7
-rw-r--r--vcl/unx/generic/gdi/salgdi2.cxx61
9 files changed, 0 insertions, 107 deletions
diff --git a/sot/source/sdstor/storage.cxx b/sot/source/sdstor/storage.cxx
index eb3880db60ca..56a367976adb 100644
--- a/sot/source/sdstor/storage.cxx
+++ b/sot/source/sdstor/storage.cxx
@@ -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 );
diff --git a/svtools/inc/svtools/PlaceEditDialog.hxx b/svtools/inc/svtools/PlaceEditDialog.hxx
index 997707ea0ed4..14a1fb04b455 100644
--- a/svtools/inc/svtools/PlaceEditDialog.hxx
+++ b/svtools/inc/svtools/PlaceEditDialog.hxx
@@ -100,8 +100,6 @@ public :
rtl::OUString GetServerName() { return m_aEDServerName.GetText(); }
rtl::OUString GetServerUrl();
- ResId GetResId( sal_uInt16 nId );
-
private:
void InitDetails( );
diff --git a/svtools/source/dialogs/PlaceEditDialog.cxx b/svtools/source/dialogs/PlaceEditDialog.cxx
index 6d3d12bdcd54..9807050d16e5 100644
--- a/svtools/source/dialogs/PlaceEditDialog.cxx
+++ b/svtools/source/dialogs/PlaceEditDialog.cxx
@@ -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 ) );
diff --git a/svtools/source/misc/transfer.cxx b/svtools/source/misc/transfer.cxx
index a85cf1f1968b..0a80eb8ea5e8 100644
--- a/svtools/source/misc/transfer.cxx
+++ b/svtools/source/misc/transfer.cxx
@@ -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;
diff --git a/sw/inc/unofield.hxx b/sw/inc/unofield.hxx
index c5833539f407..ddcc2e87695d 100644
--- a/sw/inc/unofield.hxx
+++ b/sw/inc/unofield.hxx
@@ -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;
diff --git a/tools/source/fsys/tempfile.cxx b/tools/source/fsys/tempfile.cxx
index c4385617c4cf..407af3eeef3a 100644
--- a/tools/source/fsys/tempfile.cxx
+++ b/tools/source/fsys/tempfile.cxx
@@ -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;
diff --git a/unusedcode.easy b/unusedcode.easy
index 2efaa7ea0d6e..7e85a7ca10e8 100755
--- a/unusedcode.easy
+++ b/unusedcode.easy
@@ -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&)
diff --git a/vcl/inc/unx/salgdi.h b/vcl/inc/unx/salgdi.h
index 3ffbd8701718..359d274ba79e 100644
--- a/vcl/inc/unx/salgdi.h
+++ b/vcl/inc/unx/salgdi.h
@@ -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,
diff --git a/vcl/unx/generic/gdi/salgdi2.cxx b/vcl/unx/generic/gdi/salgdi2.cxx
index 033055ab2006..40f35991cd68 100644
--- a/vcl/unx/generic/gdi/salgdi2.cxx
+++ b/vcl/unx/generic/gdi/salgdi2.cxx
@@ -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 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
// -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=