writerfilter/source/dmapper/DomainMapper_Impl.cxx | 2 ++ 1 file changed, 2 insertions(+)
New commits: commit 6cab3069caf9fd5c1ce938d2891e14e6eec7850b Author: Adam Co <rattles2...@gmail.com> Date: Mon Feb 3 17:11:00 2014 +0200 Nit-pick: Added a 'default' clause for a switch-case Change-Id: I241d7cc1cc530b8d3fae7fd7bd185285e16e3b5b Reviewed-on: https://gerrit.libreoffice.org/7819 Reviewed-by: Miklos Vajna <vmik...@collabora.co.uk> Tested-by: Miklos Vajna <vmik...@collabora.co.uk> diff --git a/writerfilter/source/dmapper/DomainMapper_Impl.cxx b/writerfilter/source/dmapper/DomainMapper_Impl.cxx index 26a7384..deb4fdd 100644 --- a/writerfilter/source/dmapper/DomainMapper_Impl.cxx +++ b/writerfilter/source/dmapper/DomainMapper_Impl.cxx @@ -1516,6 +1516,8 @@ void DomainMapper_Impl::CreateRedline( uno::Reference< text::XTextRange > xRange case ooxml::OOXML_ParagraphFormat: sType = rPropNameSupplier.GetName( PROP_PARAGRAPH_FORMAT ); break; + default: + throw ::com::sun::star::lang::IllegalArgumentException("illegal redline token type", NULL, 0); } uno::Reference < text::XRedline > xRedline( xRange, uno::UNO_QUERY_THROW ); beans::PropertyValues aRedlineProperties( 3 ); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits