diff options
Diffstat (limited to 'sd/source/ui/view/ViewShellBase.cxx')
-rw-r--r-- | sd/source/ui/view/ViewShellBase.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sd/source/ui/view/ViewShellBase.cxx b/sd/source/ui/view/ViewShellBase.cxx index 13f50b18afe0..86a188842d82 100644 --- a/sd/source/ui/view/ViewShellBase.cxx +++ b/sd/source/ui/view/ViewShellBase.cxx @@ -979,7 +979,7 @@ OUString ViewShellBase::GetInitialViewShellType (void) for (sal_Int32 n=0; n<aProperties.getLength(); n++) { const beans::PropertyValue& rProperty (aProperties[n]); - if (rProperty.Name.compareToAscii(sUNO_View_PageKind) == COMPARE_EQUAL) + if (rProperty.Name == sUNO_View_PageKind) { sal_Int16 nPageKind = 0; rProperty.Value >>= nPageKind; |