diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2013-02-20 22:38:38 +0100 |
---|---|---|
committer | Julien Nabet <serval2412@yahoo.fr> | 2013-02-20 22:39:00 +0100 |
commit | eda11cbfaf974905183ea10e4ffa89b90a401d98 (patch) | |
tree | a89a8b72565c7a6619f243449b5f8000f331e8da /desktop | |
parent | 116fdcfa2785fa0c04bbeb40042f0897f07e689c (diff) |
Some cppcheck cleaning
Change-Id: I0b9d3b5f8283e2fddc96b220a755ba6bcdd11606
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/source/app/appinit.cxx | 5 | ||||
-rw-r--r-- | desktop/source/deployment/gui/dp_gui_updatedata.hxx | 2 |
2 files changed, 2 insertions, 5 deletions
diff --git a/desktop/source/app/appinit.cxx b/desktop/source/app/appinit.cxx index cbb7a3239dc9..d16cdcc82cd2 100644 --- a/desktop/source/app/appinit.cxx +++ b/desktop/source/app/appinit.cxx @@ -123,14 +123,11 @@ void Desktop::RegisterServices(Reference< XComponentContext > const & context) { RTL_LOGFILE_CONTEXT( aLog, "desktop (cd100003) ::registerServices" ); - // read command line parameters - sal_Bool bHeadlessMode = sal_False; - // interpret command line arguments CommandLineArgs& rCmdLine = GetCommandLineArgs(); // Headless mode for FAT Office - bHeadlessMode = rCmdLine.IsHeadless(); + sal_Bool bHeadlessMode = rCmdLine.IsHeadless(); if ( bHeadlessMode ) Application::EnableHeadlessMode(false); diff --git a/desktop/source/deployment/gui/dp_gui_updatedata.hxx b/desktop/source/deployment/gui/dp_gui_updatedata.hxx index 870227e1fdb3..d61194751f9f 100644 --- a/desktop/source/deployment/gui/dp_gui_updatedata.hxx +++ b/desktop/source/deployment/gui/dp_gui_updatedata.hxx @@ -40,7 +40,7 @@ namespace dp_gui { struct UpdateData { UpdateData( ::com::sun::star::uno::Reference< ::com::sun::star::deployment::XPackage > const & aExt): - bIsShared(false), aInstalledPackage(aExt){}; + bIsShared(false), aInstalledPackage(aExt), aUpdateSource(NULL), m_nID(0), m_bIgnored(false){}; //When entries added to the listbox then there can be one for the user update and one //for the shared update. However, both list entries will contain the same UpdateData. |