Kaydet (Commit) 6cab3069 authored tarafından Adam Co's avatar Adam Co Kaydeden (comit) Miklos Vajna

Nit-pick: Added a 'default' clause for a switch-case

Change-Id: I241d7cc1cc530b8d3fae7fd7bd185285e16e3b5b
Reviewed-on: https://gerrit.libreoffice.org/7819Reviewed-by: 's avatarMiklos Vajna <vmiklos@collabora.co.uk>
Tested-by: 's avatarMiklos Vajna <vmiklos@collabora.co.uk>
üst f12b902d
...@@ -1516,6 +1516,8 @@ void DomainMapper_Impl::CreateRedline( uno::Reference< text::XTextRange > xRange ...@@ -1516,6 +1516,8 @@ void DomainMapper_Impl::CreateRedline( uno::Reference< text::XTextRange > xRange
case ooxml::OOXML_ParagraphFormat: case ooxml::OOXML_ParagraphFormat:
sType = rPropNameSupplier.GetName( PROP_PARAGRAPH_FORMAT ); sType = rPropNameSupplier.GetName( PROP_PARAGRAPH_FORMAT );
break; break;
default:
throw ::com::sun::star::lang::IllegalArgumentException("illegal redline token type", NULL, 0);
} }
uno::Reference < text::XRedline > xRedline( xRange, uno::UNO_QUERY_THROW ); uno::Reference < text::XRedline > xRedline( xRange, uno::UNO_QUERY_THROW );
beans::PropertyValues aRedlineProperties( 3 ); beans::PropertyValues aRedlineProperties( 3 );
......
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