// Declaration boost::optional< ::com::sun::star::drawing::LineStyle > m_aLineStyle; // Code m_aLineStyle = LineStyle_NONE; // Compile Error /home/mark/OOo/filter/source/svg/svgreader.cxx:177: error: no match for 'operator=' in '((SVGAttributes*)this)->SVGAttributes::m_aLineStyle = LineStyle_NONE' /home/mark/OOo/solver/680/unxlngi6.pro/inc/boost/optional.hpp:154: note: candidates are: boost::optional& boost::optional::operator=(const boost::optional&) [with T = com::sun::star::drawing::LineStyle]