summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
authorAndrea Gelmini <andrea.gelmini@gelma.net>2019-04-25 17:16:05 +0200
committerJulien Nabet <serval2412@yahoo.fr>2019-04-26 07:04:02 +0200
commit07d99a6315de6453bb94b0afddf921d2e1aba896 (patch)
tree519ffcd2cebc5164955e5964e0ddcaa026a23a75 /filter
parent08c529c6c146c09a33c175225866aa7a97653cf4 (diff)
Fix typo in code
Change-Id: If9e4f46239a42a663a2251aafabfd66268a7c9e3 Reviewed-on: https://gerrit.libreoffice.org/71315 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Jenkins
Diffstat (limited to 'filter')
-rw-r--r--filter/source/msfilter/svdfppt.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/filter/source/msfilter/svdfppt.cxx b/filter/source/msfilter/svdfppt.cxx
index 5b74dafd011b..d6ad2b72f11c 100644
--- a/filter/source/msfilter/svdfppt.cxx
+++ b/filter/source/msfilter/svdfppt.cxx
@@ -1010,8 +1010,8 @@ SdrObject* SdrEscherImport::ProcessObj( SvStream& rSt, DffObjData& rObjData, Svx
{
if ( !rPersistEntry.pPresentationObjects )
{
- rPersistEntry.pPresentationObjects.reset( new sal_uInt32[ PPT_STYLESHEETENTRYS ] );
- memset( rPersistEntry.pPresentationObjects.get(), 0, PPT_STYLESHEETENTRYS * 4 );
+ rPersistEntry.pPresentationObjects.reset( new sal_uInt32[ PPT_STYLESHEETENTRIES ] );
+ memset( rPersistEntry.pPresentationObjects.get(), 0, PPT_STYLESHEETENTRIES * 4 );
}
if ( !rPersistEntry.pPresentationObjects[ static_cast<int>(nDestinationInstance) ] )
rPersistEntry.pPresentationObjects[ static_cast<int>(nDestinationInstance) ] = rObjData.rSpHd.GetRecBegFilePos();
@@ -3331,7 +3331,7 @@ PPTExtParaProv::PPTExtParaProv( SdrPowerPointImport& rMan, SvStream& rSt, const
{
case PPT_PST_ExtendedParagraphMasterAtom :
{
- if ( aHd.nRecInstance < PPT_STYLESHEETENTRYS )
+ if ( aHd.nRecInstance < PPT_STYLESHEETENTRIES )
{
sal_uInt16 nDepth = 0, i = 0;
rSt.ReadUInt16(nDepth);