summaryrefslogtreecommitdiff
path: root/sfx2
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-09-10 09:26:16 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-09-10 12:46:49 +0100
commitabbeed756019e099d16acb4155c7c459fef2d1b4 (patch)
tree221c20f0f2ee09e61bb68a8d5d352990feb79d07 /sfx2
parent3e0f9a148bf2c0a5916e850528a9b0472830bb9e (diff)
callcatcher: update unused code
Change-Id: Ie31c16318b09699e080484292d489a378e3a6dce
Diffstat (limited to 'sfx2')
-rw-r--r--sfx2/source/dialog/templdlg.cxx18
-rw-r--r--sfx2/source/inc/templdgi.hxx2
2 files changed, 0 insertions, 20 deletions
diff --git a/sfx2/source/dialog/templdlg.cxx b/sfx2/source/dialog/templdlg.cxx
index 5cf9fa7e3065..7c2706ae248e 100644
--- a/sfx2/source/dialog/templdlg.cxx
+++ b/sfx2/source/dialog/templdlg.cxx
@@ -1014,24 +1014,6 @@ SfxStyleFamily SfxTemplateDialog::NIdToSfxFamilyId(sal_uInt16 nId)
}
}
-void SfxCommonTemplateDialog_Impl::SetAutomaticFilter()
-{
- sal_uInt16 nCount = aFilterLb.GetEntryCount();
- for ( sal_uInt16 i = 0; i < nCount; ++i )
- {
- sal_uIntPtr nFlags = (sal_uIntPtr)aFilterLb.GetEntryData(i);
- if ( SFXSTYLEBIT_AUTO == nFlags )
- {
- // automatic entry found -> select it
- aFilterLb.SelectEntryPos(i);
- // then call the handler to filter the styles
- FilterSelect( i - 1 );
- break;
- }
- }
-}
-
-
// Helper function: Access to the current family item
const SfxStyleFamilyItem *SfxCommonTemplateDialog_Impl::GetFamilyItem_Impl() const
{
diff --git a/sfx2/source/inc/templdgi.hxx b/sfx2/source/inc/templdgi.hxx
index 41328ec979eb..2988d0a2d6e7 100644
--- a/sfx2/source/inc/templdgi.hxx
+++ b/sfx2/source/inc/templdgi.hxx
@@ -293,8 +293,6 @@ public:
// normaly for derivates from SvTreeListBoxes, but in this case the dialog handles context menus
virtual PopupMenu* CreateContextMenu( void );
-
- void SetAutomaticFilter();
};
class DropToolBox_Impl : public ToolBox, public DropTargetHelper