compilerplugins/clang/unusedmethods.results | 4 ---- include/vcl/edit.hxx | 2 -- vcl/source/control/edit.cxx | 8 -------- 3 files changed, 14 deletions(-)
New commits: commit 72fad7a18d9967d35a68ee9f64f469f438a68882 Author: Caolán McNamara <caol...@redhat.com> AuthorDate: Thu Nov 7 10:00:36 2019 +0000 Commit: Caolán McNamara <caol...@redhat.com> CommitDate: Thu Nov 7 13:58:43 2019 +0100 remove some unused getters Change-Id: Iaa556491add4a7674f90ecfbf8e44f0b1d6583ee Reviewed-on: https://gerrit.libreoffice.org/82198 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caol...@redhat.com> Tested-by: Caolán McNamara <caol...@redhat.com> diff --git a/compilerplugins/clang/unusedmethods.results b/compilerplugins/clang/unusedmethods.results index 43e1c9acf25d..76a8b3d457b9 100644 --- a/compilerplugins/clang/unusedmethods.results +++ b/compilerplugins/clang/unusedmethods.results @@ -724,10 +724,6 @@ include/vcl/customweld.hxx:115 void weld::CustomWeld::queue_draw_area(int,int,int,int) include/vcl/dialog.hxx:129 _Bool Dialog::StartExecuteAsync(const class std::function<void (int)> &) -include/vcl/edit.hxx:184 - _Bool Edit::IsSelectAllSingleClick() const -include/vcl/edit.hxx:216 - class rtl::OUString Edit::GetPlaceholderText() const include/vcl/EnumContext.hxx:118 vcl::EnumContext::EnumContext(const class rtl::OUString &,const class rtl::OUString &) include/vcl/errcode.hxx:86 diff --git a/include/vcl/edit.hxx b/include/vcl/edit.hxx index 2ebb5e903f0f..5958f124ae51 100644 --- a/include/vcl/edit.hxx +++ b/include/vcl/edit.hxx @@ -181,7 +181,6 @@ public: virtual bool IsReadOnly() const { return mbReadOnly; } void SetSelectAllSingleClick( bool bSelectAllSingleClick ); - bool IsSelectAllSingleClick() const { return mbSelectAllSingleClick; } void SetInsertMode( bool bInsert ); bool IsInsertMode() const; @@ -213,7 +212,6 @@ public: void SetCursorAtLast(); void SetPlaceholderText( const OUString& rStr ); - OUString GetPlaceholderText() const; void SaveValue() { maSaveValue = GetText(); } const OUString& GetSavedValue() const { return maSaveValue; } diff --git a/vcl/source/control/edit.cxx b/vcl/source/control/edit.cxx index ab3314510496..6eb9e991a38b 100644 --- a/vcl/source/control/edit.cxx +++ b/vcl/source/control/edit.cxx @@ -2585,14 +2585,6 @@ void Edit::SetPlaceholderText( const OUString& rStr ) } } -OUString Edit::GetPlaceholderText() const -{ - if ( mpSubEdit ) - return mpSubEdit->GetPlaceholderText(); - - return maPlaceholderText; -} - void Edit::SetModifyFlag() { if ( mpSubEdit ) _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits