summaryrefslogtreecommitdiff
path: root/chart2/source/controller/main
diff options
context:
space:
mode:
authorJochen Nitschke <j.nitschke+logerrit@ok.de>2016-04-17 19:20:37 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-04-18 07:25:24 +0000
commit150ac9cf05ed9da6a2af5bc3f820280fd853e519 (patch)
tree10a73ee6974c2ee67ee63a09e533081ce519685f /chart2/source/controller/main
parent0fa6c88007f61176ac707cb5d77fd35cf1521123 (diff)
clean-up: unused using declarations and includes
Searched source for using declarations. Checked if those symbols reappear in the source file, even in comments or dead code but not in #include statements. If they don't reappear, remove the declaration. Remove includes whose symbol got removed. Change-Id: Ibb77163f63c1120070e9518e3dc0a78c6c59fab0 Reviewed-on: https://gerrit.libreoffice.org/24148 Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de> Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'chart2/source/controller/main')
-rw-r--r--chart2/source/controller/main/ChartModelClone.cxx2
-rw-r--r--chart2/source/controller/main/UndoActions.cxx9
2 files changed, 0 insertions, 11 deletions
diff --git a/chart2/source/controller/main/ChartModelClone.cxx b/chart2/source/controller/main/ChartModelClone.cxx
index d6b6efebfd83..c4f4755f4d66 100644
--- a/chart2/source/controller/main/ChartModelClone.cxx
+++ b/chart2/source/controller/main/ChartModelClone.cxx
@@ -39,11 +39,9 @@ namespace chart
{
using ::com::sun::star::uno::Reference;
- using ::com::sun::star::uno::XInterface;
using ::com::sun::star::uno::UNO_QUERY;
using ::com::sun::star::uno::UNO_QUERY_THROW;
using ::com::sun::star::uno::Exception;
- using ::com::sun::star::uno::RuntimeException;
using ::com::sun::star::uno::Sequence;
using ::com::sun::star::frame::XModel;
using ::com::sun::star::util::XCloneable;
diff --git a/chart2/source/controller/main/UndoActions.cxx b/chart2/source/controller/main/UndoActions.cxx
index 45394360e4e6..dd02fb4232b8 100644
--- a/chart2/source/controller/main/UndoActions.cxx
+++ b/chart2/source/controller/main/UndoActions.cxx
@@ -23,9 +23,6 @@
#include "PropertyHelper.hxx"
#include "ChartModelClone.hxx"
-#include <com/sun/star/chart2/XChartDocument.hpp>
-#include <com/sun/star/util/XCloneable.hpp>
-#include <com/sun/star/view/XSelectionSupplier.hpp>
#include <com/sun/star/lang/DisposedException.hpp>
#include <tools/diagnose_ex.h>
@@ -41,15 +38,9 @@ namespace chart
namespace impl
{
using ::com::sun::star::uno::Reference;
- using ::com::sun::star::uno::XInterface;
- using ::com::sun::star::uno::Exception;
using ::com::sun::star::uno::RuntimeException;
using ::com::sun::star::frame::XModel;
- using ::com::sun::star::util::XCloneable;
- using ::com::sun::star::lang::XComponent;
using ::com::sun::star::lang::DisposedException;
- using ::com::sun::star::view::XSelectionSupplier;
- using ::com::sun::star::chart2::XChartDocument;
using ::com::sun::star::document::UndoFailedException;
UndoElement::UndoElement( const OUString& i_actionString, const Reference< XModel >& i_documentModel, const std::shared_ptr< ChartModelClone >& i_modelClone )