summaryrefslogtreecommitdiff
path: root/sd/source/ui/view/drviews5.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sd/source/ui/view/drviews5.cxx')
-rw-r--r--sd/source/ui/view/drviews5.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/view/drviews5.cxx b/sd/source/ui/view/drviews5.cxx
index fa744fe49bcd..d1d9db893dc3 100644
--- a/sd/source/ui/view/drviews5.cxx
+++ b/sd/source/ui/view/drviews5.cxx
@@ -521,7 +521,7 @@ void DrawViewShell::ReadUserDataSequence ( const css::uno::Sequence < css::beans
// in LO 6.2 to 6.4. The ODF defaults were corrected when reading draw:layer-set, but
// not in reading config settings, because there the name is not known.
const SdrLayerAdmin& rLayerAdmin = GetDocSh()->GetDoc()->GetLayerAdmin();
- if (rLayerAdmin.GetLayer("DrawnInSlideshow"))
+ if (rLayerAdmin.GetLayer(u"DrawnInSlideshow"_ustr))
{
SdrLayerIDSet aSdrLayerIDSet;
rLayerAdmin.getVisibleLayersODF( aSdrLayerIDSet );