writerfilter/source/rtftok/rtfskipdestination.cxx | 10 +++--- writerfilter/source/rtftok/rtfskipdestination.hxx | 36 +++++++++++----------- 2 files changed, 25 insertions(+), 21 deletions(-)
New commits: commit 2b59ca5c36fb684cae438917f559e97272293e26 Author: Miklos Vajna <vmik...@collabora.co.uk> Date: Tue Apr 22 21:48:00 2014 +0200 writerfilter: fix indentation in rtfskipdestination Change-Id: I56a306baabdfb46da4b46c5e0c0ce2bbd2369e03 diff --git a/writerfilter/source/rtftok/rtfskipdestination.cxx b/writerfilter/source/rtftok/rtfskipdestination.cxx index 68081c1..044e26b 100644 --- a/writerfilter/source/rtftok/rtfskipdestination.cxx +++ b/writerfilter/source/rtftok/rtfskipdestination.cxx @@ -11,13 +11,15 @@ #include <osl/diagnose.h> #include <sal/log.hxx> -namespace writerfilter { -namespace rtftok { +namespace writerfilter +{ +namespace rtftok +{ RTFSkipDestination::RTFSkipDestination(RTFListener& rImport) : m_rImport(rImport), - m_bParsed(true), - m_bReset(true) + m_bParsed(true), + m_bReset(true) { } diff --git a/writerfilter/source/rtftok/rtfskipdestination.hxx b/writerfilter/source/rtftok/rtfskipdestination.hxx index 33f0d6a..f70a8c7 100644 --- a/writerfilter/source/rtftok/rtfskipdestination.hxx +++ b/writerfilter/source/rtftok/rtfskipdestination.hxx @@ -12,23 +12,25 @@ #include <rtflistener.hxx> -namespace writerfilter { - namespace rtftok { - /// Skips a destination after a not parsed control word if it was prefixed with \* - class RTFSkipDestination - { - public: - RTFSkipDestination(RTFListener& rImport); - virtual ~RTFSkipDestination(); - void setParsed(bool bParsed); - void setReset(bool bReset); - private: - RTFListener& m_rImport; - bool m_bParsed; - /// If false, the destructor is a noop, required by the \* symbol itself. - bool m_bReset; - }; - } // namespace rtftok +namespace writerfilter +{ +namespace rtftok +{ +/// Skips a destination after a not parsed control word if it was prefixed with \* +class RTFSkipDestination +{ +public: + RTFSkipDestination(RTFListener& rImport); + virtual ~RTFSkipDestination(); + void setParsed(bool bParsed); + void setReset(bool bReset); +private: + RTFListener& m_rImport; + bool m_bParsed; + /// If false, the destructor is a noop, required by the \* symbol itself. + bool m_bReset; +}; +} // namespace rtftok } // namespace writerfilter #endif // INCLUDED_WRITERFILTER_SOURCE_RTFTOK_RTFSKIPDESTINATION_HXX _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits