diff options
author | sb <sb@openoffice.org> | 2010-01-13 22:32:57 +0100 |
---|---|---|
committer | sb <sb@openoffice.org> | 2010-01-13 22:32:57 +0100 |
commit | 7969604293077e7416f758537eb9b9778265b1c7 (patch) | |
tree | 576f0de50c73c33994dc119fc4f463542e9d87f0 /sal/qa/OStringBuffer | |
parent | ae12b3fe73ca48286a06414c41e35ef75dd2d082 (diff) |
sb118: adapted some more sal unit tests to new CppUnit framework; fixes for unxmacxi
Diffstat (limited to 'sal/qa/OStringBuffer')
-rw-r--r-- | sal/qa/OStringBuffer/makefile.mk | 4 | ||||
-rw-r--r-- | sal/qa/OStringBuffer/rtl_String_Utils.cxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sal/qa/OStringBuffer/makefile.mk b/sal/qa/OStringBuffer/makefile.mk index 873de5008767..2cabed7dedd3 100644 --- a/sal/qa/OStringBuffer/makefile.mk +++ b/sal/qa/OStringBuffer/makefile.mk @@ -61,14 +61,14 @@ SHL1OBJS= \ $(SLO)$/rtl_String_Utils.obj SHL1TARGET= rtl_OStringBuffer -SHL1STDLIBS= $(SALLIB) $(CPPUNITLIB) $(TESTSHL2LIB) +SHL1STDLIBS= $(SALLIB) $(CPPUNITLIB) SHL1IMPLIB= i$(SHL1TARGET) # SHL1DEF= $(MISC)$/$(SHL1TARGET).def DEF1NAME =$(SHL1TARGET) SHL1VERSIONMAP = $(PRJ)$/qa$/export.map - +SHL1RPATH = NONE #------------------------------- All object files ------------------------------- # do this here, so we get right dependencies diff --git a/sal/qa/OStringBuffer/rtl_String_Utils.cxx b/sal/qa/OStringBuffer/rtl_String_Utils.cxx index a8698ff1bbc8..83399bb6f481 100644 --- a/sal/qa/OStringBuffer/rtl_String_Utils.cxx +++ b/sal/qa/OStringBuffer/rtl_String_Utils.cxx @@ -91,7 +91,7 @@ sal_Char* cpystr( sal_Char* dst, const sal_Char* src ) const sal_Char* psrc = src; sal_Char* pdst = dst; - while( *pdst++ = *psrc++ ); + while( (*pdst++ = *psrc++) ); return ( dst ); } |