summaryrefslogtreecommitdiffstats
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-07-17 22:27:38 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-07-18 12:21:26 +0100
commit03ea8631d3b468965ff514d0293d7e2c72442413 (patch)
tree592fdb6ec170fc1be45690bfbb340a4d37090dca /vcl
parentadd a SvStream::remainingSize (diff)
downloadcore-03ea8631d3b468965ff514d0293d7e2c72442413.tar.gz
core-03ea8631d3b468965ff514d0293d7e2c72442413.zip
callcatcher: remove unused getTunnelIdentifier
Diffstat (limited to 'vcl')
-rw-r--r--vcl/inc/vcl/canvastools.hxx5
-rw-r--r--vcl/source/helper/canvastools.cxx17
2 files changed, 0 insertions, 22 deletions
diff --git a/vcl/inc/vcl/canvastools.hxx b/vcl/inc/vcl/canvastools.hxx
index e82d397a92f0..ce6c7bcafe68 100644
--- a/vcl/inc/vcl/canvastools.hxx
+++ b/vcl/inc/vcl/canvastools.hxx
@@ -144,11 +144,6 @@ namespace vcl
::BitmapEx VCL_DLLPUBLIC bitmapExFromXBitmap( const ::com::sun::star::uno::Reference<
::com::sun::star::rendering::XIntegerReadOnlyBitmap >& xInputBitmap );
- /** get a unique identifier for identification in XUnoTunnel interface
- */
- enum TunnelIdentifierType { Id_BitmapEx = 0 };
- const com::sun::star::uno::Sequence< sal_Int8 > VCL_DLLPUBLIC getTunnelIdentifier( TunnelIdentifierType eType );
-
// Color conversions (vcl/tools Color <-> canvas standard color space)
// ===================================================================
diff --git a/vcl/source/helper/canvastools.cxx b/vcl/source/helper/canvastools.cxx
index ac8e658f7bd8..7b152938744b 100644
--- a/vcl/source/helper/canvastools.cxx
+++ b/vcl/source/helper/canvastools.cxx
@@ -185,23 +185,6 @@ namespace vcl
//---------------------------------------------------------------------------------------
- const uno::Sequence< sal_Int8 > getTunnelIdentifier( TunnelIdentifierType eType )
- {
- static boost::unordered_map< int, uno::Sequence< sal_Int8 > > aIds;
- boost::unordered_map< int, uno::Sequence< sal_Int8 > >::iterator it =
- aIds.find( eType );
- if( it == aIds.end() )
- {
- uno::Sequence< sal_Int8 > aNewId( 16 );
- rtl_createUuid( (sal_uInt8*)aNewId.getArray(), NULL, sal_True );
- aIds[ eType ] = aNewId;
- it = aIds.find( eType );
- }
- return it->second;
- }
-
- //---------------------------------------------------------------------------------------
-
namespace
{
inline bool operator==( const rendering::IntegerBitmapLayout& rLHS,