diff options
author | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2017-09-14 16:57:06 +0200 |
---|---|---|
committer | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2017-09-21 12:45:38 +0200 |
commit | d99b65c864cc3358238e4eac651f12a34d05e2d9 (patch) | |
tree | fcd7d6fefb9434c27533c826aabc639f68ba97ed /include/vcl | |
parent | b649e5bf1d3f0a11fb0c2fdf6fa08329529ce6fb (diff) |
Rename GetSelectEntryPos -> GetSelectedEntryPos
Change-Id: I0bd4cb463575af843c72d9c8aaf91742203532a4
Reviewed-on: https://gerrit.libreoffice.org/42283
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Diffstat (limited to 'include/vcl')
-rw-r--r-- | include/vcl/combobox.hxx | 4 | ||||
-rw-r--r-- | include/vcl/lstbox.hxx | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/include/vcl/combobox.hxx b/include/vcl/combobox.hxx index 5b5a03840a37..f141c8d96a28 100644 --- a/include/vcl/combobox.hxx +++ b/include/vcl/combobox.hxx @@ -142,8 +142,8 @@ public: sal_uInt16 GetDisplayLineCount() const; sal_Int32 GetSelectEntryCount() const; - sal_Int32 GetSelectEntryPos( sal_Int32 nSelIndex = 0 ) const; - OUString GetSelectedEntry() const { return GetEntry( GetSelectEntryPos() ); } + sal_Int32 GetSelectedEntryPos( sal_Int32 nSelIndex = 0 ) const; + OUString GetSelectedEntry() const { return GetEntry( GetSelectedEntryPos() ); } bool IsEntryPosSelected( sal_Int32 nPos ) const; void SelectEntryPos( sal_Int32 nPos, bool bSelect = true ); void SetNoSelection(); diff --git a/include/vcl/lstbox.hxx b/include/vcl/lstbox.hxx index 7c5206b68ffa..fee5a295c373 100644 --- a/include/vcl/lstbox.hxx +++ b/include/vcl/lstbox.hxx @@ -166,7 +166,7 @@ public: sal_Int32 GetSelectEntryCount() const; OUString GetSelectedEntry( sal_Int32 nSelIndex = 0 ) const; - sal_Int32 GetSelectEntryPos( sal_Int32 nSelIndex = 0 ) const; + sal_Int32 GetSelectedEntryPos( sal_Int32 nSelIndex = 0 ) const; bool IsEntrySelected(const OUString& rStr) const; bool IsEntryPosSelected( sal_Int32 nPos ) const; @@ -174,7 +174,7 @@ public: void SetEntryData( sal_Int32 nPos, void* pNewData ); void* GetEntryData( sal_Int32 nPos ) const; - void* GetSelectEntryData() const { return GetEntryData(GetSelectEntryPos()); } + void* GetSelectEntryData() const { return GetEntryData(GetSelectedEntryPos()); } /** this methods stores a combination of flags from the ListBoxEntryFlags::* defines at the given entry. @@ -196,9 +196,9 @@ public: void SetTopEntry( sal_Int32 nPos ); sal_Int32 GetTopEntry() const; - void SaveValue() { mnSaveValue = GetSelectEntryPos(); } + void SaveValue() { mnSaveValue = GetSelectedEntryPos(); } sal_Int32 GetSavedValue() const { return mnSaveValue; } - bool IsValueChangedFromSaved() const { return mnSaveValue != GetSelectEntryPos(); } + bool IsValueChangedFromSaved() const { return mnSaveValue != GetSelectedEntryPos(); } void SetSeparatorPos( sal_Int32 n ); sal_Int32 GetSeparatorPos() const; |