summaryrefslogtreecommitdiff
path: root/sc/source/ui/vba/vbapalette.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sc/source/ui/vba/vbapalette.cxx')
-rw-r--r--sc/source/ui/vba/vbapalette.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/vba/vbapalette.cxx b/sc/source/ui/vba/vbapalette.cxx
index b9fa93374473..97712de6077d 100644
--- a/sc/source/ui/vba/vbapalette.cxx
+++ b/sc/source/ui/vba/vbapalette.cxx
@@ -97,8 +97,8 @@ ScVbaPalette::getPalette() const
if ( m_pShell )
xProps.set( m_pShell->GetModel(), uno::UNO_QUERY_THROW );
else
- throw uno::RuntimeException( OUString( "Can't extract palette, no doc shell" ), uno::Reference< uno::XInterface >() );
- xIndex.set( xProps->getPropertyValue( OUString("ColorPalette") ), uno::UNO_QUERY );
+ throw uno::RuntimeException("Can't extract palette, no doc shell", uno::Reference< uno::XInterface >() );
+ xIndex.set( xProps->getPropertyValue("ColorPalette"), uno::UNO_QUERY );
if ( !xIndex.is() )
return new DefaultPalette();
return xIndex;