From 2b17d6c14d226b1973c87ff161586c39899e403f Mon Sep 17 00:00:00 2001 From: Markus Mohrhard Date: Sat, 26 Jan 2013 00:40:28 +0100 Subject: remove some data members from the class Change-Id: I69df18c7b613673834613d49ab0d58bbee9cc0df --- sc/source/filter/xml/xmlcelli.cxx | 6 ++++-- sc/source/filter/xml/xmlcelli.hxx | 9 --------- 2 files changed, 4 insertions(+), 11 deletions(-) diff --git a/sc/source/filter/xml/xmlcelli.cxx b/sc/source/filter/xml/xmlcelli.cxx index ba67212b11e0..b0cd059da643 100644 --- a/sc/source/filter/xml/xmlcelli.cxx +++ b/sc/source/filter/xml/xmlcelli.cxx @@ -78,6 +78,8 @@ #include #include #include +#include +#include #include #include @@ -310,10 +312,10 @@ void ScXMLTableRowCellContext::SetCursorOnTextImport(const rtl::OUString& rOUTem uno::Reference xCellRange(rXMLImport.GetTables().GetCurrentXCellRange()); if (xCellRange.is()) { - xBaseCell.set( xCellRange->getCellByPosition(nCol, nRow) ); + com::sun::star::uno::Reference xBaseCell( xCellRange->getCellByPosition(nCol, nRow) ); if (xBaseCell.is()) { - xLockable.set(xBaseCell, uno::UNO_QUERY); + com::sun::star::uno::Reference xLockable(xBaseCell, uno::UNO_QUERY); if (xLockable.is()) xLockable->addActionLock(); uno::Reference xText(xBaseCell, uno::UNO_QUERY); diff --git a/sc/source/filter/xml/xmlcelli.hxx b/sc/source/filter/xml/xmlcelli.hxx index 2bf8b8c6a3e1..44d2733a87b7 100644 --- a/sc/source/filter/xml/xmlcelli.hxx +++ b/sc/source/filter/xml/xmlcelli.hxx @@ -24,13 +24,6 @@ #include "XMLCellRangeSourceContext.hxx" #include #include -#include -#include -#include -#include -#include -#include -#include #include "formula/grammar.hxx" #include @@ -42,8 +35,6 @@ struct ScXMLAnnotationData; class ScXMLTableRowCellContext : public SvXMLImportContext { typedef ::std::pair< ::rtl::OUString, ::rtl::OUString > FormulaWithNamespace; - com::sun::star::uno::Reference xBaseCell; - com::sun::star::uno::Reference xLockable; ::boost::optional< rtl::OUString > pOUTextValue; ::boost::optional< rtl::OUString > pOUTextContent; ::boost::optional< FormulaWithNamespace > pOUFormula; -- cgit