summaryrefslogtreecommitdiff
path: root/sw/source/ui/inc
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2013-08-07 22:20:19 +0200
committerMichael Stahl <mstahl@redhat.com>2013-08-08 23:25:28 +0200
commit8d4aafa7ce55c873fa55b11d4ffbfa409b412a92 (patch)
tree1f2d5b66294c98680bc87c1d6dd14f2cc4c87ecf /sw/source/ui/inc
parent03eb15938e04a8a28fc08ca7528b2f7068fe1c7a (diff)
sw: turns out that SwComboBoxStyle stuff was not actually used
Change-Id: I4e0e3832268e11a445391a99d52d099917bc8aec
Diffstat (limited to 'sw/source/ui/inc')
-rw-r--r--sw/source/ui/inc/swlbox.hxx27
1 files changed, 2 insertions, 25 deletions
diff --git a/sw/source/ui/inc/swlbox.hxx b/sw/source/ui/inc/swlbox.hxx
index fe0b9af96ac4..1b8a02f4e12d 100644
--- a/sw/source/ui/inc/swlbox.hxx
+++ b/sw/source/ui/inc/swlbox.hxx
@@ -53,41 +53,23 @@ public:
/*--------------------------------------------------------------------
Description: for combo boxes
--------------------------------------------------------------------*/
-typedef sal_uInt16 SwComboBoxStyle;
-
-namespace nsSwComboBoxStyle
-{
- const SwComboBoxStyle CBS_UPPER = 0x01;
- const SwComboBoxStyle CBS_LOWER = 0x02;
- const SwComboBoxStyle CBS_ALL = 0x04;
- const SwComboBoxStyle CBS_FILENAME = 0x08;
- const SwComboBoxStyle CBS_SW_FILENAME = CBS_FILENAME;
-}
class SW_DLLPUBLIC SwComboBox : public ComboBox
{
SwEntryLst aEntryLst;
SwEntryLst aDelEntryLst;
SwBoxEntry aDefault;
- sal_uInt16 nStyle;
SW_DLLPRIVATE void InitComboBox();
SW_DLLPRIVATE void InsertSorted(SwBoxEntry* pEntry);
SW_DLLPRIVATE void Init();
- using Window::GetStyle;
- using Window::SetStyle;
-
public:
- SwComboBox(Window* pParent,
- sal_uInt16 nStyleBits = nsSwComboBoxStyle::CBS_ALL);
- SwComboBox(Window* pParent, const ResId& rId,
- sal_uInt16 nStyleBits = nsSwComboBoxStyle::CBS_ALL);
+ SwComboBox(Window* pParent);
+ SwComboBox(Window* pParent, const ResId& rId);
~SwComboBox();
- virtual void KeyInput(const KeyEvent& rKEvt) SAL_OVERRIDE;
-
void InsertSwEntry(const SwBoxEntry&);
virtual sal_uInt16 InsertEntry(const OUString& rStr, sal_uInt16 = 0) SAL_OVERRIDE;
@@ -99,11 +81,6 @@ public:
sal_uInt16 GetRemovedCount() const;
const SwBoxEntry& GetRemovedEntry(sal_uInt16 nPos) const;
- // FIXME ??? what is this
- sal_uInt16 GetSwStyle() const { return nStyle; }
- void SetSwStyle(const sal_uInt16 nSt) { nStyle = nSt; }
-
- OUString GetText() const;
};
#endif /* _SWLBOX_HXX */