summaryrefslogtreecommitdiff
path: root/fpicker/source/office/autocmpledit.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'fpicker/source/office/autocmpledit.hxx')
-rw-r--r--fpicker/source/office/autocmpledit.hxx13
1 files changed, 8 insertions, 5 deletions
diff --git a/fpicker/source/office/autocmpledit.hxx b/fpicker/source/office/autocmpledit.hxx
index fc1108e383c2..f29f4bb742b4 100644
--- a/fpicker/source/office/autocmpledit.hxx
+++ b/fpicker/source/office/autocmpledit.hxx
@@ -19,15 +19,15 @@ class AutocompleteEdit
private:
std::unique_ptr<weld::Entry> m_xEntry;
- std::vector< OUString > m_aEntries;
- std::vector< OUString > m_aMatching;
+ std::vector<OUString> m_aEntries;
+ std::vector<OUString> m_aMatching;
Idle m_aChangedIdle;
Link<weld::Entry&, void> m_aChangeHdl;
DECL_LINK(ChangedHdl, weld::Entry&, void);
DECL_LINK(TryAutoComplete, Timer*, void);
- bool Match( const OUString& rText );
+ bool Match(const OUString& rText);
public:
AutocompleteEdit(std::unique_ptr<weld::Entry> xEntry);
@@ -40,9 +40,12 @@ public:
void select_region(int nStartPos, int nEndPos) { m_xEntry->select_region(nStartPos, nEndPos); }
void connect_changed(const Link<weld::Entry&, void>& rLink) { m_aChangeHdl = rLink; }
- void connect_focus_in(const Link<weld::Widget&, void>& rLink) { m_xEntry->connect_focus_in(rLink); }
+ void connect_focus_in(const Link<weld::Widget&, void>& rLink)
+ {
+ m_xEntry->connect_focus_in(rLink);
+ }
- void AddEntry( const OUString& rEntry );
+ void AddEntry(const OUString& rEntry);
void ClearEntries();
};