diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-08-02 17:01:31 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-08-02 22:15:29 +0200 |
commit | 46d5bde3800e3010978ed650cfe72908698944de (patch) | |
tree | 275a3deff2648383f588149f21e8d2f8db84d0f7 /sfx2/source/appl | |
parent | 8fee33bac216bb05bb7dfdf5f4a490e9a765b2f4 (diff) |
m_xStringLength is unused
Change-Id: I244ca2c34363d0776a3cc18953a1c9b28467da44
Reviewed-on: https://gerrit.libreoffice.org/58493
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sfx2/source/appl')
-rw-r--r-- | sfx2/source/appl/sfxpicklist.cxx | 17 |
1 files changed, 0 insertions, 17 deletions
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() ); } |