diff options
author | Noel Grandin <noel@peralex.com> | 2015-07-16 15:15:07 +0200 |
---|---|---|
committer | Noel Grandin <noel@peralex.com> | 2015-07-17 10:36:49 +0200 |
commit | 956cb1f777db6eb4cec6fc4c4ed3b2fc87ee1672 (patch) | |
tree | 384b4532832435687e2f86878ddcbc13190b077a /desktop | |
parent | 290465b0effecb6d620adc20ca279f8057eeab9a (diff) |
loplugin:unusedmethods desktop
Change-Id: I78d4cd362bebde05e5bec55eff5e38603cb3f813
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/inc/app.hxx | 4 | ||||
-rw-r--r-- | desktop/source/app/dispatchwatcher.hxx | 5 | ||||
-rw-r--r-- | desktop/source/deployment/gui/dp_gui.h | 1 | ||||
-rw-r--r-- | desktop/source/deployment/gui/dp_gui_dialog2.cxx | 2 | ||||
-rw-r--r-- | desktop/source/deployment/gui/dp_gui_dialog2.hxx | 8 | ||||
-rw-r--r-- | desktop/source/deployment/gui/dp_gui_extlistbox.hxx | 3 | ||||
-rw-r--r-- | desktop/source/deployment/gui/dp_gui_updatedialog.cxx | 2 | ||||
-rw-r--r-- | desktop/source/deployment/gui/dp_gui_updatedialog.hxx | 3 | ||||
-rw-r--r-- | desktop/source/deployment/manager/dp_extensionmanager.hxx | 3 | ||||
-rw-r--r-- | desktop/source/deployment/registry/inc/dp_backend.h | 13 | ||||
-rw-r--r-- | desktop/source/migration/migration_impl.hxx | 1 |
11 files changed, 0 insertions, 45 deletions
diff --git a/desktop/inc/app.hxx b/desktop/inc/app.hxx index ccab1f996963..a7159e13496a 100644 --- a/desktop/inc/app.hxx +++ b/desktop/inc/app.hxx @@ -112,8 +112,6 @@ class Desktop : public Application return m_aBootstrapStatus; } - static bool isCrashReporterEnabled(); - // first-start (ever) related methods static bool CheckExtensionDependencies(); @@ -133,13 +131,11 @@ class Desktop : public Application static void CreateTemporaryDirectory(); static void RemoveTemporaryDirectory(); - bool InitializeInstallation( const OUString& rAppFilename ); static bool InitializeConfiguration(); static void FlushConfiguration(); static bool InitializeQuickstartMode( const css::uno::Reference< css::uno::XComponentContext >& rxContext ); static void HandleBootstrapPathErrors( ::utl::Bootstrap::Status, const OUString& aMsg ); - void StartSetup( const OUString& aParameters ); // Create a error message depending on bootstrap failure code and an optional file url static OUString CreateErrorMsgString( utl::Bootstrap::FailureCode nFailureCode, diff --git a/desktop/source/app/dispatchwatcher.hxx b/desktop/source/app/dispatchwatcher.hxx index 4b9940734c77..e50372bad0fc 100644 --- a/desktop/source/app/dispatchwatcher.hxx +++ b/desktop/source/app/dispatchwatcher.hxx @@ -41,11 +41,6 @@ namespace desktop class DispatchWatcherHashMap : public std::unordered_map< OUString, sal_Int32, OUStringHash, std::equal_to< OUString > > { - public: - inline void free() - { - DispatchWatcherHashMap().swap( *this ); // get rid of reserved capacity - } }; class DispatchWatcher : public ::cppu::WeakImplHelper1< ::com::sun::star::frame::XDispatchResultListener > diff --git a/desktop/source/deployment/gui/dp_gui.h b/desktop/source/deployment/gui/dp_gui.h index b99099f91f2b..468b14b2ccae 100644 --- a/desktop/source/deployment/gui/dp_gui.h +++ b/desktop/source/deployment/gui/dp_gui.h @@ -73,7 +73,6 @@ public: {} virtual ~SelectedPackage(); - ::com::sun::star::uno::Reference< ::com::sun::star::deployment::XPackage> getPackage() const { return m_xPackage; } private: SelectedPackage(SelectedPackage &) SAL_DELETED_FUNCTION; diff --git a/desktop/source/deployment/gui/dp_gui_dialog2.cxx b/desktop/source/deployment/gui/dp_gui_dialog2.cxx index bc2319fef812..3ff60b12e301 100644 --- a/desktop/source/deployment/gui/dp_gui_dialog2.cxx +++ b/desktop/source/deployment/gui/dp_gui_dialog2.cxx @@ -1190,8 +1190,6 @@ UpdateRequiredDialog::UpdateRequiredDialog(vcl::Window *pParent, TheExtensionMan , m_bProgressChanged(false) , m_bStartProgress(false) , m_bStopProgress(false) - , m_bUpdateWarning(false) - , m_bDisableWarning(false) , m_bHasLockedEntries(false) , m_nProgress(0) , m_pManager(pManager) diff --git a/desktop/source/deployment/gui/dp_gui_dialog2.hxx b/desktop/source/deployment/gui/dp_gui_dialog2.hxx index 97be277d8d2b..d18f86b94125 100644 --- a/desktop/source/deployment/gui/dp_gui_dialog2.hxx +++ b/desktop/source/deployment/gui/dp_gui_dialog2.hxx @@ -191,8 +191,6 @@ class UpdateRequiredDialog : public ModalDialog, bool m_bProgressChanged; bool m_bStartProgress; bool m_bStopProgress; - bool m_bUpdateWarning; - bool m_bDisableWarning; bool m_bHasLockedEntries; long m_nProgress; Idle m_aIdle; @@ -230,15 +228,9 @@ public: virtual long addPackageToList( const ::com::sun::star::uno::Reference< ::com::sun::star::deployment::XPackage > &, bool bLicenseMissing = false ) SAL_OVERRIDE; bool enablePackage( const ::com::sun::star::uno::Reference< ::com::sun::star::deployment::XPackage > &xPackage, bool bEnable ); - bool updatePackage( const ::com::sun::star::uno::Reference< ::com::sun::star::deployment::XPackage > &xPackage ); virtual void prepareChecking() SAL_OVERRIDE; virtual void checkEntries() SAL_OVERRIDE; - - ::com::sun::star::uno::Sequence< OUString > raiseAddPicker(); - - bool installForAllUsers( bool &bInstallForAll ) const; - bool installExtensionWarn( const OUString &rExtensionURL ) const; }; diff --git a/desktop/source/deployment/gui/dp_gui_extlistbox.hxx b/desktop/source/deployment/gui/dp_gui_extlistbox.hxx index 0d5ca8f6e4cd..bb8d94672b57 100644 --- a/desktop/source/deployment/gui/dp_gui_extlistbox.hxx +++ b/desktop/source/deployment/gui/dp_gui_extlistbox.hxx @@ -158,7 +158,6 @@ class ExtensionBox_Impl : public ::svt::IExtensionListBox long GetTotalHeight() const; void SetupScrollBar(); void DrawRow(vcl::RenderContext& rRenderContext, const Rectangle& rRect, const TEntry_Impl& rEntry); - bool HandleTabKey( bool bReverse ); bool HandleCursorKey( sal_uInt16 nKeyCode ); bool FindEntryPos( const TEntry_Impl& rEntry, long nStart, long nEnd, long &nFound ); void DeleteRemoved(); @@ -205,10 +204,8 @@ public: void prepareChecking(); void checkEntries(); - TheExtensionManager* getExtensionManager() const { return m_pManager; } void setExtensionManager(TheExtensionManager* pManager) { m_pManager = pManager; } - //These functions are used for automatic testing /** @return The count of the entries in the list box. */ diff --git a/desktop/source/deployment/gui/dp_gui_updatedialog.cxx b/desktop/source/deployment/gui/dp_gui_updatedialog.cxx index 2663e22a56fd..7227adc048b0 100644 --- a/desktop/source/deployment/gui/dp_gui_updatedialog.cxx +++ b/desktop/source/deployment/gui/dp_gui_updatedialog.cxx @@ -508,8 +508,6 @@ UpdateDialog::UpdateDialog( m_thread( new UpdateDialog::Thread( context, *this, vExtensionList)), - m_nFirstLineDelta(0), - m_nOneLineMissing(0), m_nLastID(1), m_bModified( false ) // TODO: check! diff --git a/desktop/source/deployment/gui/dp_gui_updatedialog.hxx b/desktop/source/deployment/gui/dp_gui_updatedialog.hxx index 76851b4301c1..806fd9887bf7 100644 --- a/desktop/source/deployment/gui/dp_gui_updatedialog.hxx +++ b/desktop/source/deployment/gui/dp_gui_updatedialog.hxx @@ -158,7 +158,6 @@ private: bool showDescription( ::com::sun::star::uno::Reference< ::com::sun::star::xml::dom::XNode > const & aUpdateInfo); bool showDescription( const OUString& rDescription); - bool isReadOnly( const ::com::sun::star::uno::Reference< ::com::sun::star::deployment::XPackage > &xPackage ) const; DECL_LINK(selectionHandler, void *); DECL_LINK(allHandler, void *); @@ -206,8 +205,6 @@ private: Point m_aFirstLinePos; Size m_aFirstLineSize; - long m_nFirstLineDelta; - long m_nOneLineMissing; sal_uInt16 m_nLastID; bool m_bModified; }; diff --git a/desktop/source/deployment/manager/dp_extensionmanager.hxx b/desktop/source/deployment/manager/dp_extensionmanager.hxx index 4b78c0fa411d..864d04bc0de9 100644 --- a/desktop/source/deployment/manager/dp_extensionmanager.hxx +++ b/desktop/source/deployment/manager/dp_extensionmanager.hxx @@ -47,9 +47,6 @@ public: explicit ExtensionManager( css::uno::Reference< css::uno::XComponentContext >const& xContext); virtual ~ExtensionManager(); - static css::uno::Sequence< OUString > getServiceNames(); - static OUString getImplName(); - void check(); void fireModified(); diff --git a/desktop/source/deployment/registry/inc/dp_backend.h b/desktop/source/deployment/registry/inc/dp_backend.h index e5ee57c2a1be..a8364a1bfe48 100644 --- a/desktop/source/deployment/registry/inc/dp_backend.h +++ b/desktop/source/deployment/registry/inc/dp_backend.h @@ -336,19 +336,6 @@ protected: static void deleteTempFolder( OUString const & folderUrl); - OUString getSharedRegistrationDataURL( - css::uno::Reference<css::deployment::XPackage> const & extension, - css::uno::Reference<css::deployment::XPackage> const & item); - - /* The backends must implement this function, which is called - from XPackageRegistry::packageRemoved (also implemented here). - This ensure that the backends clean up their registration data - when an extension was removed. - */ -// virtual void deleteDbEntry( OUString const & url) = 0; - - - public: struct StrRegisteringPackage : public ::dp_misc::StaticResourceString< StrRegisteringPackage, RID_STR_REGISTERING_PACKAGE> {}; diff --git a/desktop/source/migration/migration_impl.hxx b/desktop/source/migration/migration_impl.hxx index 6b0fc45728a1..f55c543a82dc 100644 --- a/desktop/source/migration/migration_impl.hxx +++ b/desktop/source/migration/migration_impl.hxx @@ -237,7 +237,6 @@ public: ~MigrationImpl(); bool initializeMigration(); bool doMigration(); - OUString getOldVersionName(); }; } |