diff options
Diffstat (limited to 'sd/source/ui/table/TableDesignPane.cxx')
-rw-r--r-- | sd/source/ui/table/TableDesignPane.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sd/source/ui/table/TableDesignPane.cxx b/sd/source/ui/table/TableDesignPane.cxx index 277ff844acad..d8ff97b9dea4 100644 --- a/sd/source/ui/table/TableDesignPane.cxx +++ b/sd/source/ui/table/TableDesignPane.cxx @@ -109,8 +109,7 @@ TableDesignWidget::TableDesignWidget(weld::Builder& rBuilder, ViewShellBase& rBa Reference< XController > xController( mrBase.GetController(), UNO_SET_THROW ); Reference< XStyleFamiliesSupplier > xFamiliesSupp( xController->getModel(), UNO_QUERY_THROW ); Reference< XNameAccess > xFamilies( xFamiliesSupp->getStyleFamilies() ); - const OUString sFamilyName( "table" ); - mxTableFamily.set( xFamilies->getByName( sFamilyName ), UNO_QUERY_THROW ); + mxTableFamily.set( xFamilies->getByName( "table" ), UNO_QUERY_THROW ); } catch (const Exception&) { @@ -717,8 +716,7 @@ void TableDesignWidget::FillDesignPreviewControl() Reference< XPropertySet > xPageSet( mxView->getCurrentPage(), UNO_QUERY ); if( xPageSet.is() ) { - const OUString sIsBackgroundDark( "IsBackgroundDark" ); - xPageSet->getPropertyValue(sIsBackgroundDark) >>= bIsPageDark; + xPageSet->getPropertyValue("IsBackgroundDark") >>= bIsPageDark; } } |