CWS-TOOLING: integrate CWS sb116
This commit is contained in:
commit
ed383d527d
@ -93,7 +93,7 @@ mkdir: %_DEST%\bin%_EXT%\odf4ms
|
||||
|
||||
..\%__SRC%\bin\*.res %_DEST%\bin%_EXT%\*.res
|
||||
|
||||
..\%__SRC%\misc\soffice.sh %_DEST%\bin%_EXT%\soffice
|
||||
..\%__SRC%\misc\soffice.sh-expanded %_DEST%\bin%_EXT%\soffice
|
||||
..\%__SRC%\misc\sbase.sh %_DEST%\bin%_EXT%\sbase
|
||||
..\%__SRC%\misc\scalc.sh %_DEST%\bin%_EXT%\scalc
|
||||
..\%__SRC%\misc\sdraw.sh %_DEST%\bin%_EXT%\sdraw
|
||||
|
@ -54,7 +54,18 @@ UNIXTEXT= \
|
||||
$(MISC)$/unopkg.sh
|
||||
|
||||
.IF "$(OS)" != "MACOSX"
|
||||
|
||||
ALLTAR: $(MISC)$/soffice.sh-expanded
|
||||
|
||||
$(MISC)/soffice.sh-expanded: $(MISC)/soffice.sh
|
||||
.IF "$(OS)" == "LINUX" && "$(CPUNAME)" == "POWERPC"
|
||||
$(SED) 's/^#@# //' $< > $@
|
||||
.ELSE
|
||||
$(COPY) $< $@
|
||||
.ENDIF
|
||||
|
||||
UNIXTEXT+= $(MISC)$/soffice.sh
|
||||
|
||||
.ENDIF
|
||||
|
||||
.INCLUDE : target.mk
|
||||
|
@ -43,11 +43,8 @@ export SAL_ENABLE_FILE_LOCKING
|
||||
# working on your system.
|
||||
# SAL_NOOPENGL=true; export SAL_NOOPENGL
|
||||
|
||||
# the following test is needed on Linux PPC with IBM j2sdk142
|
||||
if [ "`uname -s`" = "Linux" -a "`uname -m`" = "ppc" ] ; then
|
||||
JITC_PROCESSOR_TYPE=6
|
||||
export JITC_PROCESSOR_TYPE
|
||||
fi
|
||||
# The following is needed on Linux PPC with IBM j2sdk142:
|
||||
#@# export JITC_PROCESSOR_TYPE=6
|
||||
|
||||
# resolve installation directory
|
||||
sd_cwd="`pwd`"
|
||||
@ -129,11 +126,13 @@ export PATH
|
||||
"$sd_prog/$sd_binary" "$@" &
|
||||
trap 'kill -9 $!' TERM
|
||||
wait $!
|
||||
sd_ret=$?
|
||||
|
||||
while [ $? -eq 79 ]
|
||||
while [ $sd_ret -eq 79 ]
|
||||
do
|
||||
"$sd_prog/$sd_binary" ""$BOOTSTRAPVARS"" &
|
||||
wait $!
|
||||
sd_ret=$?
|
||||
done
|
||||
|
||||
exit
|
||||
exit $sd_ret
|
||||
|
@ -81,21 +81,25 @@ $(MISC)$/$(TARGET)-calc : makefile.mk
|
||||
@echo Making: $@
|
||||
@-echo $(DLLPRE)sc$(DFTDLLPOST) > $@
|
||||
@-echo $(DLLPRE)svx$(DFTDLLPOST) >> $@
|
||||
@-echo $(DLLPRE)svxcore$(DFTDLLPOST) >> $@
|
||||
|
||||
$(MISC)$/$(TARGET)-draw : makefile.mk
|
||||
@echo Making: $@
|
||||
@-echo $(DLLPRE)sd$(DFTDLLPOST) > $@
|
||||
@-echo $(DLLPRE)svx$(DFTDLLPOST) >> $@
|
||||
@-echo $(DLLPRE)svxcore$(DFTDLLPOST) >> $@
|
||||
|
||||
$(MISC)$/$(TARGET)-impress : makefile.mk
|
||||
@echo Making: $@
|
||||
@-echo $(DLLPRE)sd$(DFTDLLPOST) > $@
|
||||
@-echo $(DLLPRE)svx$(DFTDLLPOST) >> $@
|
||||
@-echo $(DLLPRE)svxcore$(DFTDLLPOST) >> $@
|
||||
|
||||
$(MISC)$/$(TARGET)-writer : makefile.mk
|
||||
@echo Making: $@
|
||||
@-echo $(DLLPRE)sw$(DFTDLLPOST) > $@
|
||||
@-echo $(DLLPRE)svx$(DFTDLLPOST) >> $@
|
||||
@-echo $(DLLPRE)svxcore$(DFTDLLPOST) >> $@
|
||||
|
||||
# sorted in approx. reverse load order (ld.so.1)
|
||||
$(MISC)$/$(TARGET)-common : makefile.mk
|
||||
@ -121,7 +125,7 @@ $(MISC)$/$(TARGET)-common : makefile.mk
|
||||
@-echo $(DLLPRE)ucb1$(DLLPOST) >> $@
|
||||
@-echo configmgr2$(UNODLLPOST) >> $@
|
||||
#
|
||||
@-echo $(DLLPRE)dtransX11$(DFTDLLPOST) >> $@
|
||||
@-echo $(DLLPRE)dtrans$(DLLPOST) >> $@
|
||||
@-echo $(DLLPRE)vclplug_gen$(DFTDLLPOST) >> $@
|
||||
.IF "$(ENABLE_GTK)" != ""
|
||||
@-echo $(DLLPRE)vclplug_gtk$(DFTDLLPOST) >> $@
|
||||
@ -130,7 +134,6 @@ $(MISC)$/$(TARGET)-common : makefile.mk
|
||||
@-echo $(DLLPRE)vclplug_kde$(DFTDLLPOST) >> $@
|
||||
.ENDIF # ENABLE_KDE
|
||||
#
|
||||
@-echo $(DLLPRE)psp$(DFTDLLPOST) >> $@
|
||||
@-echo $(DLLPRE)basegfx$(DFTDLLPOST) >> $@
|
||||
@-echo $(DLLPRE)sot$(DFTDLLPOST) >> $@
|
||||
@-echo $(DLLPRE)xcr$(DFTDLLPOST) >> $@
|
||||
|
@ -39,7 +39,7 @@
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#if defined(LINUX) || defined(SOLARIS) || defined(IRIX) || defined(NETBSD) || defined(FREEBSD) || defined(OS2)
|
||||
#if defined(LINUX) || defined(SOLARIS) || defined(NETBSD) || defined(FREEBSD) || defined(OS2)
|
||||
|
||||
#include <rtl/ustrbuf.hxx>
|
||||
#include <locale.h>
|
||||
@ -256,7 +256,7 @@ LocaleBackend* LocaleBackend::createInstance(
|
||||
|
||||
rtl::OUString LocaleBackend::getLocale(void)
|
||||
{
|
||||
#if defined(LINUX) || defined(SOLARIS) || defined(IRIX) || defined(NETBSD) || defined(FREEBSD) || defined(OS2)
|
||||
#if defined(LINUX) || defined(SOLARIS) || defined(NETBSD) || defined(FREEBSD) || defined(OS2)
|
||||
return ImplGetLocale(LC_CTYPE);
|
||||
#elif defined (MACOSX)
|
||||
return ImplGetLocale("AppleLocale");
|
||||
@ -269,7 +269,7 @@ rtl::OUString LocaleBackend::getLocale(void)
|
||||
|
||||
rtl::OUString LocaleBackend::getUILocale(void)
|
||||
{
|
||||
#if defined(LINUX) || defined(SOLARIS) || defined(IRIX) || defined(NETBSD) || defined(FREEBSD) || defined(OS2)
|
||||
#if defined(LINUX) || defined(SOLARIS) || defined(NETBSD) || defined(FREEBSD) || defined(OS2)
|
||||
return ImplGetLocale(LC_MESSAGES);
|
||||
#elif defined(MACOSX)
|
||||
return ImplGetLocale("AppleLanguages");
|
||||
|
@ -80,11 +80,6 @@ case $sd_platform in
|
||||
export SHLIB_PATH
|
||||
;;
|
||||
|
||||
IRIX*)
|
||||
LD_LIBRARYN32_PATH=${sd_prog}${LD_LIBRARYN32_PATH+:${LD_LIBRARYN32_PATH}}
|
||||
export LD_LIBRARYN32_PATH
|
||||
;;
|
||||
|
||||
*)
|
||||
LD_LIBRARY_PATH=${sd_prog}${LD_LIBRARY_PATH+:${LD_LIBRARY_PATH}}
|
||||
export LD_LIBRARY_PATH
|
||||
|
@ -42,10 +42,6 @@ USE_DEFFILE=TRUE
|
||||
|
||||
.INCLUDE : settings.mk
|
||||
|
||||
.IF "$(OS)"=="IRIX"
|
||||
LINKFLAGS+=-Wl,-LD_LAYOUT:lgot_buffer=30
|
||||
.ENDIF
|
||||
|
||||
RSCLOCINC+=-I$(PRJ)$/source$/svdraw
|
||||
|
||||
# --- Svx - DLL ----------
|
||||
|
@ -329,8 +329,8 @@ extern "C" int NeonSession_NeonAuth( void * inUserData,
|
||||
#ifdef NE_FEATURE_SSPI
|
||||
bCanUseSystemCreds = (attempt == 0) && // avoid endless loops
|
||||
ne_has_support( NE_FEATURE_SSPI ) && // Windows-only feature.
|
||||
( ne_strcasecmp( inAuthProtocol, "NTLM" ) == 0 ) ||
|
||||
( ne_strcasecmp( inAuthProtocol, "Negotiate" ) == 0 );
|
||||
( ( ne_strcasecmp( inAuthProtocol, "NTLM" ) == 0 ) ||
|
||||
( ne_strcasecmp( inAuthProtocol, "Negotiate" ) == 0 ) );
|
||||
#endif
|
||||
|
||||
// #i97003# (tkr): Ask XMasterPasswordHandling if we should store the
|
||||
|
@ -1568,15 +1568,7 @@ void XMLTextImportHelper::AddOutlineStyleCandidate( const sal_Int8 nOutlineLevel
|
||||
{
|
||||
if( !mpOutlineStylesCandidates )
|
||||
{
|
||||
#ifdef IRIX
|
||||
/* GCC 2 bug when member function is called as part of an array
|
||||
* initialiser
|
||||
*/
|
||||
sal_Int8 count = xChapterNumbering->getCount();
|
||||
mpOutlineStylesCandidates = new ::std::vector<OUString>[count];
|
||||
#else
|
||||
mpOutlineStylesCandidates = new ::std::vector<OUString>[xChapterNumbering->getCount()];
|
||||
#endif
|
||||
}
|
||||
mpOutlineStylesCandidates[nOutlineLevel-1].push_back( rStyleName );
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user