[Libreoffice-commits] core.git: writerfilter/source
Adam Co
rattles2013 at gmail.com
Tue Feb 11 06:05:15 PST 2014
writerfilter/source/dmapper/DomainMapper_Impl.cxx | 2 ++
1 file changed, 2 insertions(+)
New commits:
commit 6cab3069caf9fd5c1ce938d2891e14e6eec7850b
Author: Adam Co <rattles2013 at 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 <vmiklos at collabora.co.uk>
Tested-by: Miklos Vajna <vmiklos at 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 );
More information about the Libreoffice-commits
mailing list