summaryrefslogtreecommitdiff
path: root/oox/source
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2022-10-11 15:10:43 +0100
committerAndras Timar <andras.timar@collabora.com>2022-10-16 12:25:55 +0200
commitc879900fc9096c3472a9fdf995dbde6f08be8fd0 (patch)
tree58c2ccffbd4847c2b41dadc5c6fd0559c558fd72 /oox/source
parent628be543b817bdd812684e2fe914cb4585aeb186 (diff)
vml whitespace-check mangled Částečně to ste n
Change-Id: Ib77ca39a5e17c7fb27c8d5204120fb261b885f16 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141185 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org> (cherry picked from commit eac884bc84327621498ca2fb9a2a3d67d49d5c91) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/141189
Diffstat (limited to 'oox/source')
-rw-r--r--oox/source/vml/vmlinputstream.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/oox/source/vml/vmlinputstream.cxx b/oox/source/vml/vmlinputstream.cxx
index 93204ac50710..4f94207619f2 100644
--- a/oox/source/vml/vmlinputstream.cxx
+++ b/oox/source/vml/vmlinputstream.cxx
@@ -42,7 +42,7 @@ const char* lclFindCharacter( const char* pcBeg, const char* pcEnd, char cChar )
bool lclIsWhiteSpace( char cChar )
{
- return cChar <= 32;
+ return cChar >= 0 && cChar <= 32;
}
const char* lclFindWhiteSpace( const char* pcBeg, const char* pcEnd )