diff options
author | Caolán McNamara <caolanm@redhat.com> | 2011-07-10 00:40:16 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2011-07-11 09:04:34 +0100 |
commit | 0742143af2bf664f57197961d9b21fb4eb9b4d42 (patch) | |
tree | 7950390c31d0593872b000587f94b6e3c9e5cb5f /svx/source | |
parent | 76090283e1de05c5431847cf464852bb6a45b857 (diff) |
callcatcher: unused lcl_FontChangedHint
Diffstat (limited to 'svx/source')
-rw-r--r-- | svx/source/tbxctrls/tbcontrl.cxx | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/svx/source/tbxctrls/tbcontrl.cxx b/svx/source/tbxctrls/tbcontrl.cxx index e7b10ef33c99..1b5ed3ec5505 100644 --- a/svx/source/tbxctrls/tbcontrl.cxx +++ b/svx/source/tbxctrls/tbcontrl.cxx @@ -111,7 +111,6 @@ void lcl_ResizeValueSet( Window &rWin, ValueSet &rValueSet ); void lcl_CalcSizeValueSet( Window &rWin, ValueSet &rValueSet, const Size &aItemSize ); -sal_Bool lcl_FontChangedHint( const SfxHint &rHint ); // namespaces using ::rtl::OUString; @@ -2628,23 +2627,6 @@ void lcl_CalcSizeValueSet( Window &rWin, ValueSet &rValueSet, const Size &aItemS rWin.SetOutputSizePixel( aSize ); } -// ----------------------------------------------------------------------- - -sal_Bool lcl_FontChangedHint( const SfxHint &rHint ) -{ - SfxPoolItemHint *pItemHint = PTR_CAST(SfxPoolItemHint, &rHint); - if ( pItemHint ) - { - SfxPoolItem *pItem = pItemHint->GetObject(); - return ( pItem->Which() == SID_ATTR_CHAR_FONTLIST ); - } - else - { - SfxSimpleHint* pSimpleHint = PTR_CAST(SfxSimpleHint, &rHint); - return pSimpleHint && ( SFX_HINT_DATACHANGED == - ( pSimpleHint->GetId() & SFX_HINT_DATACHANGED ) ); - } -} // ----------------------------------------------------------------------------- Reference< ::com::sun::star::accessibility::XAccessible > SvxFontNameBox_Impl::CreateAccessible() { |