[Libreoffice-commits] .: 2 commits - filter/source .gitignore
Norbert Thiebaud
nthiebaud at kemper.freedesktop.org
Sun Nov 21 09:34:58 PST 2010
.gitignore | 2 ++
filter/source/svg/svgreader.cxx | 3 +--
2 files changed, 3 insertions(+), 2 deletions(-)
New commits:
commit 89a3b41d6740adc0b80a7df26bb352f7ca1c10c6
Author: Norbert Thiebaud <nthiebaud at gmail.com>
Date: Sun Nov 21 11:34:23 2010 -0600
fix a potential null pointer dereference
diff --git a/filter/source/svg/svgreader.cxx b/filter/source/svg/svgreader.cxx
index bd5f9f2..655f166 100644
--- a/filter/source/svg/svgreader.cxx
+++ b/filter/source/svg/svgreader.cxx
@@ -1124,8 +1124,7 @@ struct AnnotatingVisitor
if( aPaintUri.first != aPaintUri.second )
{
// assuming gradient. assumption does not hold generally
- const char* pClosingBracket;
- if( (pClosingBracket=strstr(sValue,")")) && rValue.getLength() > 5 )
+ if( strstr(sValue,")") && rValue.getLength() > 5 )
{
ElementRefMapType::iterator aRes;
if( (aRes=maGradientIdMap.find(
commit 38f362961a2fe566fcd5d8d16073d7b609bded6e
Author: Norbert Thiebaud <nthiebaud at gmail.com>
Date: Sun Nov 21 11:33:49 2010 -0600
adjust .gitignore to filter built stuff on MacOS
diff --git a/.gitignore b/.gitignore
index 50784a4..2fc1892 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,3 +7,5 @@
/*/unxlng??.pro
/*/wntmsci??
/*/wntmsci??.pro
+/*/unxmac??
+/*/unxmac??.pro
More information about the Libreoffice-commits
mailing list