diff options
Diffstat (limited to 'sc/source/ui/view/prevwsh.cxx')
-rw-r--r-- | sc/source/ui/view/prevwsh.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sc/source/ui/view/prevwsh.cxx b/sc/source/ui/view/prevwsh.cxx index 8582b5614ead..d9a6f52a2744 100644 --- a/sc/source/ui/view/prevwsh.cxx +++ b/sc/source/ui/view/prevwsh.cxx @@ -972,13 +972,13 @@ void ScPreviewShell::ReadUserDataSequence(const uno::Sequence < beans::PropertyV for(sal_Int32 i = 0; i < nCount; i++, pSeq++) { OUString sName(pSeq->Name); - if(sName.equalsAscii(SC_ZOOMVALUE)) + if(sName == SC_ZOOMVALUE) { sal_Int32 nTemp = 0; if (pSeq->Value >>= nTemp) pPreview->SetZoom(sal_uInt16(nTemp)); } - else if (sName.equalsAscii("PageNumber")) + else if (sName == "PageNumber") { sal_Int32 nTemp = 0; if (pSeq->Value >>= nTemp) |