diff options
Diffstat (limited to 'sd/source/core/stlpool.cxx')
-rw-r--r-- | sd/source/core/stlpool.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sd/source/core/stlpool.cxx b/sd/source/core/stlpool.cxx index 14b2c3fe1ec8..30707c9be125 100644 --- a/sd/source/core/stlpool.cxx +++ b/sd/source/core/stlpool.cxx @@ -84,9 +84,9 @@ OUString lcl_findRenamedStyleName(std::vector< std::pair< OUString, OUString > > return OUString(); } -SfxStyleSheet *lcl_findStyle(StyleSheetCopyResultVector& rStyles, const OUString& aStyleName) +SfxStyleSheet *lcl_findStyle(StyleSheetCopyResultVector& rStyles, std::u16string_view aStyleName) { - if( aStyleName.isEmpty() ) + if( aStyleName.empty() ) return nullptr; for (const auto& a : rStyles) { |