diff options
author | Martin Blapp <mbr@FreeBSD.org> | 2002-10-18 22:41:42 +0000 |
---|---|---|
committer | Martin Blapp <mbr@FreeBSD.org> | 2002-10-18 22:41:42 +0000 |
commit | 5f6e7f6949fe1fba17b53a04af5b465f19b9b17d (patch) | |
tree | 336b116c7090225344e575c81b023f12aef39c5b /editors/openoffice.org-2/files/patch-tools::source::string::tstring.cxx | |
parent | * add 2 missing man pages (diff) |
First step to make this port working. Configure works and all patches
apply now. There are still some compile errors to fix.
As you may see the patchnames are very long, but that makes
maintaining patches a lot easier.
Notes
Notes:
svn path=/head/; revision=68299
Diffstat (limited to 'editors/openoffice.org-2/files/patch-tools::source::string::tstring.cxx')
-rw-r--r-- | editors/openoffice.org-2/files/patch-tools::source::string::tstring.cxx | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/editors/openoffice.org-2/files/patch-tools::source::string::tstring.cxx b/editors/openoffice.org-2/files/patch-tools::source::string::tstring.cxx new file mode 100644 index 000000000000..12bd6bd0b244 --- /dev/null +++ b/editors/openoffice.org-2/files/patch-tools::source::string::tstring.cxx @@ -0,0 +1,22 @@ +--- ../tools/source/string/tstring.cxx.orig Sat Aug 10 12:53:42 2002 ++++ ../tools/source/string/tstring.cxx Sat Aug 10 12:54:16 2002 +@@ -103,6 +103,9 @@ + xub_StrLen ImplStringLen( const sal_Char* pStr ) + { + const sal_Char* pTempStr = pStr; ++ ++ if (pStr == NULL) ++ return(0); + while( *pTempStr ) + pTempStr++; + return (xub_StrLen)(pTempStr-pStr); +@@ -113,6 +116,9 @@ + xub_StrLen ImplStringLen( const sal_Unicode* pStr ) + { + const sal_Unicode* pTempStr = pStr; ++ ++ if (pStr == NULL) ++ return(0); + while( *pTempStr ) + pTempStr++; + return (xub_StrLen)(pTempStr-pStr); |