summaryrefslogtreecommitdiff
path: root/sc/source/ui/vba/vbainterior.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/vba/vbainterior.cxx')
-rw-r--r--sc/source/ui/vba/vbainterior.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/source/ui/vba/vbainterior.cxx b/sc/source/ui/vba/vbainterior.cxx
index cf9896857702..d75d3fce5945 100644
--- a/sc/source/ui/vba/vbainterior.cxx
+++ b/sc/source/ui/vba/vbainterior.cxx
@@ -310,7 +310,7 @@ ScVbaInterior::setPattern( const uno::Any& _pattern ) throw (uno::RuntimeExcepti
SetMixedColor();
}
else
- throw uno::RuntimeException("Invalid Pattern index", uno::Reference< uno::XInterface >() );
+ throw uno::RuntimeException("Invalid Pattern index" );
}
Color
ScVbaInterior::GetBackColor()
@@ -358,7 +358,7 @@ ScVbaInterior::setPatternColor( const uno::Any& _patterncolor ) throw (uno::Runt
SetMixedColor();
}
else
- throw uno::RuntimeException("Invalid Pattern Color", uno::Reference< uno::XInterface >() );
+ throw uno::RuntimeException("Invalid Pattern Color" );
}
uno::Any SAL_CALL
ScVbaInterior::getPatternColorIndex() throw (uno::RuntimeException, std::exception)
@@ -381,7 +381,7 @@ ScVbaInterior::setPatternColorIndex( const uno::Any& _patterncolorindex ) throw
setPatternColor( uno::makeAny( OORGBToXLRGB( nPattColor ) ) );
}
else
- throw uno::RuntimeException("Invalid Pattern Color", uno::Reference< uno::XInterface >() );
+ throw uno::RuntimeException("Invalid Pattern Color" );
}
OUString