Kaydet (Commit) 2b59ca5c authored tarafından Miklos Vajna's avatar Miklos Vajna

writerfilter: fix indentation in rtfskipdestination

Change-Id: I56a306baabdfb46da4b46c5e0c0ce2bbd2369e03
üst ff05b6b1
...@@ -11,13 +11,15 @@ ...@@ -11,13 +11,15 @@
#include <osl/diagnose.h> #include <osl/diagnose.h>
#include <sal/log.hxx> #include <sal/log.hxx>
namespace writerfilter { namespace writerfilter
namespace rtftok { {
namespace rtftok
{
RTFSkipDestination::RTFSkipDestination(RTFListener& rImport) RTFSkipDestination::RTFSkipDestination(RTFListener& rImport)
: m_rImport(rImport), : m_rImport(rImport),
m_bParsed(true), m_bParsed(true),
m_bReset(true) m_bReset(true)
{ {
} }
......
...@@ -12,23 +12,25 @@ ...@@ -12,23 +12,25 @@
#include <rtflistener.hxx> #include <rtflistener.hxx>
namespace writerfilter { namespace writerfilter
namespace rtftok { {
/// Skips a destination after a not parsed control word if it was prefixed with \* namespace rtftok
class RTFSkipDestination {
{ /// Skips a destination after a not parsed control word if it was prefixed with \*
public: class RTFSkipDestination
RTFSkipDestination(RTFListener& rImport); {
virtual ~RTFSkipDestination(); public:
void setParsed(bool bParsed); RTFSkipDestination(RTFListener& rImport);
void setReset(bool bReset); virtual ~RTFSkipDestination();
private: void setParsed(bool bParsed);
RTFListener& m_rImport; void setReset(bool bReset);
bool m_bParsed; private:
/// If false, the destructor is a noop, required by the \* symbol itself. RTFListener& m_rImport;
bool m_bReset; bool m_bParsed;
}; /// If false, the destructor is a noop, required by the \* symbol itself.
} // namespace rtftok bool m_bReset;
};
} // namespace rtftok
} // namespace writerfilter } // namespace writerfilter
#endif // INCLUDED_WRITERFILTER_SOURCE_RTFTOK_RTFSKIPDESTINATION_HXX #endif // INCLUDED_WRITERFILTER_SOURCE_RTFTOK_RTFSKIPDESTINATION_HXX
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment