[Libreoffice-commits] core.git: compilerplugins/clang include/vcl vcl/source
Caolán McNamara (via logerrit)
logerrit at kemper.freedesktop.org
Thu Nov 7 12:59:24 UTC 2019
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 <caolanm at redhat.com>
AuthorDate: Thu Nov 7 10:00:36 2019 +0000
Commit: Caolán McNamara <caolanm at 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 <caolanm at redhat.com>
Tested-by: Caolán McNamara <caolanm at 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 )
More information about the Libreoffice-commits
mailing list