summaryrefslogtreecommitdiff
path: root/src/lib/SW602SpreadsheetListener.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/SW602SpreadsheetListener.h')
-rw-r--r--src/lib/SW602SpreadsheetListener.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/SW602SpreadsheetListener.h b/src/lib/SW602SpreadsheetListener.h
index b559a26..0a0611b 100644
--- a/src/lib/SW602SpreadsheetListener.h
+++ b/src/lib/SW602SpreadsheetListener.h
@@ -42,11 +42,11 @@ class SW602SpreadsheetListener : public SW602Listener
{
public:
/** constructor */
- SW602SpreadsheetListener(SW602ParserState &parserState, std::vector<SW602PageSpan> const &pageList, librevenge::RVNGSpreadsheetInterface *documentInterface);
+ SW602SpreadsheetListener(SW602ParserStatePtr parserState, std::vector<SW602PageSpan> const &pageList, librevenge::RVNGSpreadsheetInterface *documentInterface);
/** simplified constructor (can be used for a embedded spreadsheet with one page).
\note the box coordinates must be given in point.*/
- SW602SpreadsheetListener(SW602ParserState &parserState, SW602Box2f const &box, librevenge::RVNGSpreadsheetInterface *documentInterface);
+ SW602SpreadsheetListener(SW602ParserStatePtr parserState, SW602Box2f const &box, librevenge::RVNGSpreadsheetInterface *documentInterface);
/** destructor */
virtual ~SW602SpreadsheetListener();
@@ -266,7 +266,7 @@ protected:
//! stack of local state
std::vector<boost::shared_ptr<SW602SpreadsheetListenerInternal::State> > m_psStack;
//! the parser state
- SW602ParserState &m_parserState;
+ SW602ParserStatePtr m_parserState;
//! the document interface
librevenge::RVNGSpreadsheetInterface *m_documentInterface;