diff options
author | Andrea Gelmini <andrea.gelmini@gelma.net> | 2017-03-02 12:24:24 +0100 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-03-02 12:39:35 +0000 |
commit | 5bea199bae9986d7276a9b2379a577c6cea552ed (patch) | |
tree | cd9b75f7cb39b29a7a27244da2a187c224320613 /oox | |
parent | 51d996354f11048d7759cd7e206a2383421c2c81 (diff) |
Fix typos
Change-Id: Ic6c41fbcc36c11a7528cde0986593a39c2d6738b
Reviewed-on: https://gerrit.libreoffice.org/34803
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'oox')
-rw-r--r-- | oox/source/drawingml/customshapepresetdata.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/oox/source/drawingml/customshapepresetdata.cxx b/oox/source/drawingml/customshapepresetdata.cxx index 8916ae27c1cc..4773eef57c52 100644 --- a/oox/source/drawingml/customshapepresetdata.cxx +++ b/oox/source/drawingml/customshapepresetdata.cxx @@ -77,7 +77,7 @@ drawing::EnhancedCustomShapeParameterPair lcl_parseEnhancedCustomShapeParameterP { drawing::EnhancedCustomShapeParameterPair aPair; OString aToken = rValue; - // We expect the followings here: First.Value, First.Type, Second.Value, Second.Type + // We expect the following here: First.Value, First.Type, Second.Value, Second.Type static const char aExpectedFVPrefix[] = "First = (com.sun.star.drawing.EnhancedCustomShapeParameter) { Value = (any) { (long) "; assert(aToken.startsWith(aExpectedFVPrefix)); sal_Int32 nIndex = strlen(aExpectedFVPrefix); @@ -107,7 +107,7 @@ drawing::EnhancedCustomShapeSegment lcl_parseEnhancedCustomShapeSegment(const OS { drawing::EnhancedCustomShapeSegment aSegment; OString aToken = rValue; - // We expect the followings here: Command, Count + // We expect the following here: Command, Count static const char aExpectedCommandPrefix[] = "Command = (short) "; assert(aToken.startsWith(aExpectedCommandPrefix)); sal_Int32 nIndex = strlen(aExpectedCommandPrefix); @@ -125,7 +125,7 @@ awt::Rectangle lcl_parseRectangle(const OString& rValue) { awt::Rectangle aRectangle; OString aToken = rValue; - // We expect the followings here: X, Y, Width, Height + // We expect the following here: X, Y, Width, Height static const char aExpectedXPrefix[] = "X = (long) "; assert(aToken.startsWith(aExpectedXPrefix)); sal_Int32 nIndex = strlen(aExpectedXPrefix); @@ -156,7 +156,7 @@ awt::Size lcl_parseSize(const OString& rValue) { awt::Size aSize; OString aToken = rValue; - // We expect the followings here: Width, Height + // We expect the following here: Width, Height static const char aExpectedWidthPrefix[] = "Width = (long) "; assert(aToken.startsWith(aExpectedWidthPrefix)); sal_Int32 nIndex = strlen(aExpectedWidthPrefix); @@ -289,7 +289,7 @@ void lcl_parseHandleRange(std::vector<beans::PropertyValue>& rHandle, const OStr { drawing::EnhancedCustomShapeParameter aParameter; aToken = aToken.copy(strlen(aExpectedPrefix), aToken.getLength() - strlen(aExpectedPrefix) - strlen(" } }")); - // We expect the followings here: Value and Type + // We expect the following here: Value and Type static const char aExpectedVPrefix[] = "Value = (any) { (long) "; assert(aToken.startsWith(aExpectedVPrefix)); sal_Int32 nIndex = strlen(aExpectedVPrefix); |