summaryrefslogtreecommitdiff
path: root/editeng/source
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2012-06-13 14:50:12 +0300
committerTor Lillqvist <tml@iki.fi>2012-06-13 15:50:15 +0300
commit1500c9c29950aa09030a9a24b20b09c4ac7d3cf6 (patch)
tree690f4f23df5d2f7a54d7c893d94cc192cda646fd /editeng/source
parent2692146ef26def4a94282cf4d9d02c25cd7659ff (diff)
Drop throw clause that was incomplete anyway
SvxUnoTextRangeBase::SetPropertyValueHelper throws a css::lang::IllegalArgumentException but its delaration did not mention that. This caused a crash in sd_filters_test with Apple's Clang which does not have -fno-enforce-eh-specs. So drop the whole throw clause. Change-Id: Ib9bbbc885f657aeb8d671c75a41b60a6544ea421
Diffstat (limited to 'editeng/source')
-rw-r--r--editeng/source/uno/unotext.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/editeng/source/uno/unotext.cxx b/editeng/source/uno/unotext.cxx
index d7be1db22249..59bf016d2004 100644
--- a/editeng/source/uno/unotext.cxx
+++ b/editeng/source/uno/unotext.cxx
@@ -498,7 +498,7 @@ void SvxUnoTextRangeBase::setPropertyValue( const SfxItemPropertySimpleEntry* pM
}
}
-sal_Bool SvxUnoTextRangeBase::SetPropertyValueHelper( const SfxItemSet&, const SfxItemPropertySimpleEntry* pMap, const uno::Any& aValue, SfxItemSet& rNewSet, const ESelection* pSelection /* = NULL */, SvxEditSource* pEditSource /* = NULL*/ ) throw( uno::RuntimeException )
+sal_Bool SvxUnoTextRangeBase::SetPropertyValueHelper( const SfxItemSet&, const SfxItemPropertySimpleEntry* pMap, const uno::Any& aValue, SfxItemSet& rNewSet, const ESelection* pSelection /* = NULL */, SvxEditSource* pEditSource /* = NULL*/ )
{
switch( pMap->nWID )
{