diff options
Diffstat (limited to 'sc/source/ui/navipi/scenwnd.cxx')
-rw-r--r-- | sc/source/ui/navipi/scenwnd.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/navipi/scenwnd.cxx b/sc/source/ui/navipi/scenwnd.cxx index 95adccac53ad..df63657f8e7d 100644 --- a/sc/source/ui/navipi/scenwnd.cxx +++ b/sc/source/ui/navipi/scenwnd.cxx @@ -256,7 +256,7 @@ void ScScenarioWindow::NotifyState( const SfxPoolItem* pState ) if ( auto pStringItem = dynamic_cast<const SfxStringItem*>( pState) ) { - OUString aNewEntry( pStringItem->GetValue() ); + const OUString& aNewEntry( pStringItem->GetValue() ); if ( !aNewEntry.isEmpty() ) aLbScenario->SelectEntry( aNewEntry ); |