summaryrefslogtreecommitdiff
path: root/sc/source/filter/xml/xmlcelli.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/filter/xml/xmlcelli.hxx')
-rw-r--r--sc/source/filter/xml/xmlcelli.hxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/sc/source/filter/xml/xmlcelli.hxx b/sc/source/filter/xml/xmlcelli.hxx
index 10aeb2dda44a..eefeb8ead221 100644
--- a/sc/source/filter/xml/xmlcelli.hxx
+++ b/sc/source/filter/xml/xmlcelli.hxx
@@ -25,7 +25,7 @@
#include <svl/itemset.hxx>
#include <editeng/editdata.hxx>
-#include <boost/optional.hpp>
+#include <o3tl/optional.hxx>
#include <memory>
#include <vector>
@@ -62,10 +62,10 @@ class ScXMLTableRowCellContext : public ScXMLImportContext
typedef std::vector<std::unique_ptr<Field> > FieldsType;
typedef std::pair<OUString, OUString> FormulaWithNamespace;
- boost::optional<FormulaWithNamespace> maFormula; /// table:formula attribute
- boost::optional<OUString> maStringValue; /// office:string-value attribute
- boost::optional<OUString> maContentValidationName;
- boost::optional<OUString> maFirstParagraph; /// unformatted first paragraph, for better performance.
+ o3tl::optional<FormulaWithNamespace> maFormula; /// table:formula attribute
+ o3tl::optional<OUString> maStringValue; /// office:string-value attribute
+ o3tl::optional<OUString> maContentValidationName;
+ o3tl::optional<OUString> maFirstParagraph; /// unformatted first paragraph, for better performance.
ScEditEngineDefaulter* mpEditEngine;
OUStringBuffer maParagraph{32};
@@ -109,10 +109,10 @@ class ScXMLTableRowCellContext : public ScXMLImportContext
void SetFormulaCell ( ScFormulaCell* pFCell ) const;
void PutTextCell ( const ScAddress& rScCurrentPos, const SCCOL nCurrentCol,
- const ::boost::optional< OUString >& pOUText );
+ const ::o3tl::optional< OUString >& pOUText );
void PutValueCell ( const ScAddress& rScCurrentPos );
void AddTextAndValueCell ( const ScAddress& rScCellPos,
- const ::boost::optional< OUString >& pOUText, ScAddress& rScCurrentPos );
+ const ::o3tl::optional< OUString >& pOUText, ScAddress& rScCurrentPos );
void AddNonFormulaCell ( const ScAddress& rScCellPos );
void PutFormulaCell ( const ScAddress& rScCurrentPos );
void AddFormulaCell ( const ScAddress& rScCellPos );