sfx2/source/appl/sfxpicklist.cxx | 17 ----------------- 1 file changed, 17 deletions(-)
New commits: commit 46d5bde3800e3010978ed650cfe72908698944de Author: Caolán McNamara <[email protected]> AuthorDate: Thu Aug 2 17:01:31 2018 +0100 Commit: Caolán McNamara <[email protected]> CommitDate: Thu Aug 2 22:15:29 2018 +0200 m_xStringLength is unused Change-Id: I244ca2c34363d0776a3cc18953a1c9b28467da44 Reviewed-on: https://gerrit.libreoffice.org/58493 Tested-by: Jenkins Reviewed-by: Caolán McNamara <[email protected]> Tested-by: Caolán McNamara <[email protected]> diff --git a/sfx2/source/appl/sfxpicklist.cxx b/sfx2/source/appl/sfxpicklist.cxx index c243dac224e3..e95daa5a82cf 100644 --- a/sfx2/source/appl/sfxpicklist.cxx +++ b/sfx2/source/appl/sfxpicklist.cxx @@ -62,19 +62,6 @@ using namespace ::com::sun::star::beans; using namespace ::com::sun::star::util; -class StringLength : public ::cppu::WeakImplHelper< XStringWidth > -{ - public: - StringLength() {} - - // XStringWidth - sal_Int32 SAL_CALL queryStringWidth( const OUString& aString ) override - { - return aString.getLength(); - } -}; - - namespace { class thePickListMutex @@ -83,9 +70,6 @@ namespace class SfxPickListImpl : public SfxListener { -private: - css::uno::Reference< css::util::XStringWidth > m_xStringLength; - /** * Adds the given document to the pick list (recent documents) if it satisfies certain requirements, e.g. being writable. Check implementation for requirement @@ -195,7 +179,6 @@ void SfxPickList::ensure() SfxPickListImpl::SfxPickListImpl() { - m_xStringLength = new StringLength; StartListening( *SfxGetpApp() ); } _______________________________________________ Libreoffice-commits mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits
