summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorThomas Arnhold <thomas@arnhold.org>2011-07-26 23:32:40 +0200
committerThomas Arnhold <thomas@arnhold.org>2011-07-26 23:39:04 +0200
commitbf2373daf50595c02741f63d941fda0462535d62 (patch)
tree8648bb9d6328a43d5c1e52ca2169097ada413251 /vcl
parentbb4b28f3642e6fd86881c0fd4c030b5872cde7fa (diff)
callcatcher: remove unused methods
Diffstat (limited to 'vcl')
-rw-r--r--vcl/inc/glyphcache.hxx1
-rw-r--r--vcl/inc/unx/sm.hxx2
-rw-r--r--vcl/source/glyphs/glyphcache.cxx19
-rw-r--r--vcl/unx/generic/app/sm.cxx14
4 files changed, 0 insertions, 36 deletions
diff --git a/vcl/inc/glyphcache.hxx b/vcl/inc/glyphcache.hxx
index 6cd958d0cb11..3368d3004bb7 100644
--- a/vcl/inc/glyphcache.hxx
+++ b/vcl/inc/glyphcache.hxx
@@ -72,7 +72,6 @@ public:
static GlyphCache& GetInstance();
- void AddFontPath( const String& rFontPath );
void AddFontFile( const rtl::OString& rNormalizedName,
int nFaceNum, sal_IntPtr nFontId, const ImplDevFontAttributes&,
const ExtraKernInfo* = NULL );
diff --git a/vcl/inc/unx/sm.hxx b/vcl/inc/unx/sm.hxx
index de3ac5a04f6c..d940bcf96d98 100644
--- a/vcl/inc/unx/sm.hxx
+++ b/vcl/inc/unx/sm.hxx
@@ -87,8 +87,6 @@ public:
virtual void interactionDone();
virtual void saveDone();
virtual bool cancelShutdown();
-
- static void handleOldX11SaveYourself( SalFrame* pFrame );
};
#endif
diff --git a/vcl/source/glyphs/glyphcache.cxx b/vcl/source/glyphs/glyphcache.cxx
index b857c0824975..8201a3200ff5 100644
--- a/vcl/source/glyphs/glyphcache.cxx
+++ b/vcl/source/glyphs/glyphcache.cxx
@@ -175,25 +175,6 @@ GlyphCache& GlyphCache::GetInstance()
// -----------------------------------------------------------------------
-void GlyphCache::AddFontPath( const String& rFontPath )
-{
- if( !mpFtManager )
- return;
-
- for( xub_StrLen nBreaker1 = 0, nBreaker2 = 0; nBreaker2 != STRING_LEN; nBreaker1 = nBreaker2 + 1 )
- {
- nBreaker2 = rFontPath.Search( ';', nBreaker1 );
- if( nBreaker2 == STRING_NOTFOUND )
- nBreaker2 = STRING_LEN;
-
- ::rtl::OUString aUrlName;
- osl::FileBase::getFileURLFromSystemPath( rFontPath.Copy( nBreaker1, nBreaker2 ), aUrlName );
- mpFtManager->AddFontDir( aUrlName );
- }
-}
-
-// -----------------------------------------------------------------------
-
void GlyphCache::AddFontFile( const rtl::OString& rNormalizedName, int nFaceNum,
sal_IntPtr nFontId, const ImplDevFontAttributes& rDFA, const ExtraKernInfo* pExtraKern )
{
diff --git a/vcl/unx/generic/app/sm.cxx b/vcl/unx/generic/app/sm.cxx
index 0d1b084b74a5..77b2e6f7b060 100644
--- a/vcl/unx/generic/app/sm.cxx
+++ b/vcl/unx/generic/app/sm.cxx
@@ -135,20 +135,6 @@ bool IceSalSession::cancelShutdown()
return false;
}
-void IceSalSession::handleOldX11SaveYourself( SalFrame* pFrame )
-{
- // do this only once
- if( ! pOldStyleSaveFrame )
- {
- pOldStyleSaveFrame = static_cast<X11SalFrame*>(pFrame);
- if( pOneInstance )
- {
- SalSessionSaveRequestEvent aEvent( true, false );
- pOneInstance->CallCallback( &aEvent );
- }
- }
-}
-
extern "C" void SAL_CALL ICEConnectionWorker( void* );
class ICEConnectionObserver