summaryrefslogtreecommitdiff
path: root/sd
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 /sd
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 'sd')
-rw-r--r--sd/source/filter/eppt/epptbase.hxx6
-rw-r--r--sd/source/filter/eppt/pptx-stylesheet.cxx2
2 files changed, 4 insertions, 4 deletions
diff --git a/sd/source/filter/eppt/epptbase.hxx b/sd/source/filter/eppt/epptbase.hxx
index 39598f2780bc..349db840e633 100644
--- a/sd/source/filter/eppt/epptbase.hxx
+++ b/sd/source/filter/eppt/epptbase.hxx
@@ -200,7 +200,7 @@ private:
std::vector<FontCollectionEntry> maFonts;
};
-#define PPTEX_STYLESHEETENTRYS 9
+#define PPTEX_STYLESHEETENTRIES 9
enum PPTExTextAttr
{
@@ -302,8 +302,8 @@ class PPTExStyleSheet
public:
- std::unique_ptr<PPTExCharSheet> mpCharSheet[ PPTEX_STYLESHEETENTRYS ];
- std::unique_ptr<PPTExParaSheet> mpParaSheet[ PPTEX_STYLESHEETENTRYS ];
+ std::unique_ptr<PPTExCharSheet> mpCharSheet[ PPTEX_STYLESHEETENTRIES ];
+ std::unique_ptr<PPTExParaSheet> mpParaSheet[ PPTEX_STYLESHEETENTRIES ];
PPTExStyleSheet( sal_uInt16 nDefaultTab, PPTExBulletProvider* pBuProv );
~PPTExStyleSheet();
diff --git a/sd/source/filter/eppt/pptx-stylesheet.cxx b/sd/source/filter/eppt/pptx-stylesheet.cxx
index a9caf39b8721..4057458c8ee3 100644
--- a/sd/source/filter/eppt/pptx-stylesheet.cxx
+++ b/sd/source/filter/eppt/pptx-stylesheet.cxx
@@ -411,7 +411,7 @@ void PPTExStyleSheet::SetStyleSheet( const css::uno::Reference< css::beans::XPro
bool PPTExStyleSheet::IsHardAttribute( sal_uInt32 nInstance, sal_uInt32 nLevel, PPTExTextAttr eAttr, sal_uInt32 nValue )
{
- assert(nInstance < PPTEX_STYLESHEETENTRYS && nLevel < 5);
+ assert(nInstance < PPTEX_STYLESHEETENTRIES && nLevel < 5);
const PPTExParaLevel& rPara = mpParaSheet[ nInstance ]->maParaLevel[ nLevel ];
const PPTExCharLevel& rChar = mpCharSheet[ nInstance ]->maCharLevel[ nLevel ];