summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-08-03 22:25:06 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-08-04 09:36:47 +0100
commit9c0bcbaa53871c1f416828b21695e8ce6eb82e7e (patch)
tree4fbc555aa7d09f8cb7c611809aca5f3338cb03f1 /vcl
parent7ffcbeb77bc40517a86c3e86b07034f5ee42cf6b (diff)
callcatcher: remove unused methods
Diffstat (limited to 'vcl')
-rw-r--r--vcl/inc/unx/i18n_xkb.hxx4
-rw-r--r--vcl/inc/vcl/metric.hxx4
-rw-r--r--vcl/source/gdi/metric.cxx30
-rw-r--r--vcl/source/gdi/textlayout.cxx4
-rw-r--r--vcl/unx/generic/app/i18n_xkb.cxx16
5 files changed, 0 insertions, 58 deletions
diff --git a/vcl/inc/unx/i18n_xkb.hxx b/vcl/inc/unx/i18n_xkb.hxx
index 83f1173d4747..e22d3fb3a5dd 100644
--- a/vcl/inc/unx/i18n_xkb.hxx
+++ b/vcl/inc/unx/i18n_xkb.hxx
@@ -54,10 +54,6 @@ public:
void Dispatch( XEvent *pEvent ); // keep track of group changes
- sal_uInt32 LookupKeysymInGroup( sal_uInt32 nKeyCode,
- sal_uInt32 nShiftState,
- sal_uInt32 nGroup ) const ;
-
inline sal_uInt32 GetGroup() const ; // the current keyboard group
inline sal_uInt32 GetDefaultGroup() const ; // base group, usually group 1
inline int GetEventBase() const ;
diff --git a/vcl/inc/vcl/metric.hxx b/vcl/inc/vcl/metric.hxx
index 677135b99990..a23a95bff6a9 100644
--- a/vcl/inc/vcl/metric.hxx
+++ b/vcl/inc/vcl/metric.hxx
@@ -54,10 +54,6 @@ public:
~FontInfo();
FontType GetType() const;
- sal_Bool IsDeviceFont() const;
- sal_Bool SupportsLatin() const;
- sal_Bool SupportsCJK() const;
- sal_Bool SupportsCTL() const;
FontInfo& operator=( const FontInfo& );
sal_Bool operator==( const FontInfo& ) const;
diff --git a/vcl/source/gdi/metric.cxx b/vcl/source/gdi/metric.cxx
index e8a8a2cb3a63..51933e16d4cd 100644
--- a/vcl/source/gdi/metric.cxx
+++ b/vcl/source/gdi/metric.cxx
@@ -145,36 +145,6 @@ FontType FontInfo::GetType() const
return (mpImplMetric->IsScalable() ? TYPE_SCALABLE : TYPE_RASTER);
}
-// -----------------------------------------------------------------------
-
-sal_Bool FontInfo::IsDeviceFont() const
-{
- return mpImplMetric->IsDeviceFont();
-}
-
-// -----------------------------------------------------------------------
-
-sal_Bool FontInfo::SupportsLatin() const
-{
- return mpImplMetric->SupportsLatin();
-}
-
-// -----------------------------------------------------------------------
-
-sal_Bool FontInfo::SupportsCJK() const
-{
- return mpImplMetric->SupportsCJK();
-}
-
-// -----------------------------------------------------------------------
-
-sal_Bool FontInfo::SupportsCTL() const
-{
- return mpImplMetric->SupportsCTL();
-}
-
-// =======================================================================
-
FontMetric::FontMetric( const FontMetric& rMetric )
: FontInfo( rMetric )
{}
diff --git a/vcl/source/gdi/textlayout.cxx b/vcl/source/gdi/textlayout.cxx
index e1a2667a8f58..c599a51972cc 100644
--- a/vcl/source/gdi/textlayout.cxx
+++ b/vcl/source/gdi/textlayout.cxx
@@ -304,10 +304,6 @@ namespace vcl
n /= (double)_zoom.GetDenominator();
return (long)::rtl::math::round( n );
}
- long unzoomBy( long _value, const Fraction& _zoom )
- {
- return zoomBy( _value, Fraction( _zoom.GetDenominator(), _zoom.GetNumerator() ) );
- }
}
//--------------------------------------------------------------------
diff --git a/vcl/unx/generic/app/i18n_xkb.cxx b/vcl/unx/generic/app/i18n_xkb.cxx
index c9e42dda6751..51a5731f4752 100644
--- a/vcl/unx/generic/app/i18n_xkb.cxx
+++ b/vcl/unx/generic/app/i18n_xkb.cxx
@@ -118,20 +118,4 @@ SalI18N_KeyboardExtension::Dispatch( XEvent* pEvent )
}
}
-sal_uInt32
-SalI18N_KeyboardExtension::LookupKeysymInGroup( sal_uInt32 nKeyCode,
- sal_uInt32 nShiftState,
- sal_uInt32 nGroup ) const
-{
- if ( !mbUseExtension )
- return NoSymbol;
-
- nShiftState &= ShiftMask;
-
- KeySym nKeySymbol;
- nKeySymbol = XkbKeycodeToKeysym( mpDisplay, nKeyCode, nGroup, nShiftState );
- return nKeySymbol;
-}
-
-
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */