summaryrefslogtreecommitdiff
path: root/set_soenv.in
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@suse.com>2011-09-19 10:54:04 +0300
committerTor Lillqvist <tlillqvist@suse.com>2011-09-19 10:54:04 +0300
commit02c29d0bb25044b73dd073555ae2d908eb12e7c6 (patch)
tree6d0467d51e8b6c19b7f9c62e3ae74853a09092c3 /set_soenv.in
parentd6c245d87c14e8b08208e6afa12b27e8c74d381d (diff)
Drop unused WinFormat function
Diffstat (limited to 'set_soenv.in')
-rwxr-xr-xset_soenv.in63
1 files changed, 0 insertions, 63 deletions
diff --git a/set_soenv.in b/set_soenv.in
index 64f25d3bdba6..5ffd45f850d2 100755
--- a/set_soenv.in
+++ b/set_soenv.in
@@ -2329,69 +2329,6 @@ sub CygFormat
return $variable;
}
#----------------------------------------------------------
-# Function name: WinFormat
-# Description: Format variables to Windows Format.
-# Arguments: 1. Variable (string)
-# Return value: Reformatted String
-#----------------------------------------------------------
-sub WinFormat
-{ my ( $variable, $d1 );
- $variable = $_[ 0 ];
- $variable =~ s/^\s+//g ; #remove leading spaces
- $variable =~ s/\s+$//g ; #remove trailing spaces
- $variable =~ s/(\$\{?\w+\}?)/$1/eeg ; # expand the variables
- $variable =~ s/(\$\{?\w+\}?)/$1/eeg ; # expand the variables twice!
- $variable =~ s/:+/:/g ; # remove multiple ;
-
- # Some variables are already in DOS path format, return early.
- if ( $variable =~ /\\/ ) {
- return $variable;
- }
- if ( $variable eq ";" ) {
- # Ignore single ';'
- return $variable;
- }
- if ( $variable =~ /;/ and $variable =~ /\// ) {
- # Mixed mode path-style entry, separated with ;, like CLASSPATH
- return $variable;
- }
-
- # Search for posix path entry and replace with cygpath -w entry
- # ( -d if filename contains space )
-
- # Normal paths
-
- # One special case is if "perl " is prepended.
- $variable =~ /^(perl\s+)?(.*)$/;
- my $perlpre = $1;
- if ( !defined($perlpre) ) {
- $perlpre = "";
- }
- $variable = $2;
-
- if ( $variable =~ /^\/[\w\.~ ]+/ ) {
- if ( $variable =~ / / ) {
- # Use DOS 8.3 style to avoid quoting
- chomp( $variable = qx{cygpath -d "$variable"} );
- } else {
- # Use "normal" filenames
- chomp( $variable = qx{cygpath -w "$variable"} );
- }
- } else {
- # relative or absolute DOS paths here
- $variable =~ s#/#\\#g;
- }
-
- $variable = $perlpre.$variable;
- if ( ($perlpre ne "") && ($^O eq "cygwin")) {
- # Cygwin's perl needs quoted backslashes
- $variable =~ s#\\#\\\\#g;
- }
-
- return $variable;
-}
-
-#----------------------------------------------------------
# Function name: WinPath
# Description: Reformat a $sep seperated path using DOS paths.
# Arguments: 1. Variable (string)
lspan='3' class='logmsg'> Change-Id: I71682f28c6a54d33da6b0c971f34d0a705ff04f5 2015-10-12Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY codeStephan Bergmann Change-Id: I2ea407acd763ef2d7dae2d3b8f32525523ac8274 2015-09-07svx: tdf#88206 replace cppu::WeakImplHelper* etc.Takeshi Abe with the variadic variants. Change-Id: Id881385b2653da2ee89498afbd6453d40acaea83 Reviewed-on: https://gerrit.libreoffice.org/18358 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> 2015-08-14remove default value from SfxPoolItem::PutValueNoel Grandin more useful to make it explicit. Specifically, otherwise my defaultvalue clang plugin would want to remove lots of places that contains #define constants which, while technically the same as the default value, convey semantic information which is quite useful. Change-Id: I918ad5b0e73ba279fa1b1489b62d900339ff71eb 2015-08-11loplugin: defaultparamsNoel Grandin Change-Id: I513643385dc0a04b68c5cf4a5f43aa0804e572e6 2015-06-08loplugin:cstylecast: deal with remaining pointer castsStephan Bergmann Change-Id: I94b2fbbb00e9772b668128f31cf08115bdfb16b5 2015-05-27cppcheck: noExplicitConstructorCaolán McNamara Change-Id: I27c24d3284a8e0678fc5c041426b4a7e71cbd363 2015-04-01Replace remaining getCppuType et al with cppu::UnoTypeStephan Bergmann Change-Id: I4791f064f223487ce57e68f8e0b1e3d74e66e868 2015-01-14fdo#39440 svx: reduce scope of local variablesMichael Weghorn This addresses some cppcheck warnings. Change-Id: I8c63a767c62b3a666ad445a0a3095d1bb1224f5e Reviewed-on: https://gerrit.libreoffice.org/13908 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> 2014-10-29remove unnecessary 'using namespace rtl' declarationsNoel Grandin It turns out that almost none of them were necessary. Change-Id: I1311ed28409c682b57ea8d149bcbaf2c49133e83 Reviewed-on: https://gerrit.libreoffice.org/12133 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com> 2014-10-20loplugin: cstylecastNoel Grandin Change-Id: I2cb764db97469654f977de63e273874d43745bf8 2014-09-06SfxHint: convert home-grown RTTI to normal C++ RTTINoel Grandin Also note that I fixed a bug in SvxFontMenuControl::Notify where the if statement had the check the wrong way around. Change-Id: I611e8929c65818191e36bd80f2b985820ada4411 Reviewed-on: https://gerrit.libreoffice.org/11147 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com> 2014-03-27Second batch of adding SAL_OVERRIDE to overriding function declarationsStephan Bergmann ...mostly done with a rewriting Clang plugin, with just some manual tweaking necessary to fix poor macro usage. Change-Id: Ie656f9d653fc716f72ac175925272696d509038f 2014-02-26cppuhelper: retrofit std::exception into overriding exception specsStephan Bergmann Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3 2014-01-28bool improvementsStephan Bergmann Change-Id: Ic32faa81bfbb66a9d8632fb3db187e33c31188ed 2013-12-05Get rid of comphelper::UStringLessStephan Bergmann ...default std::less<OUString> is just fine. Change-Id: Ib9d3c10f2817d757f3c19eb3d4607095883af91a 2013-11-08remove unnecessary use of OUString constructor in SVX moduleNoel Grandin Change-Id: I1506daaa4a3b736ee6bbb00100fca24df8368298 2013-10-30fdo#54938: Convert svx to use cppu::supportsServiceMarcos Paulo de Souza Change-Id: I3ab178924cb1c4240511f08625f244dac54e3913 Signed-off-by: Stephan Bergmann <sbergman@redhat.com> 2013-09-05convert svx/source/unodraw/*.cxx from String to OUStringNoel Grandin Change-Id: Ief11702d496a16dfb784c31ef2c185a36fe70311 2013-09-05convert include/svx/xit.hxx from String to OUStringNoel Grandin Change-Id: Ib5ba87a934fbe9220427145eb54e3de3c49b03ad 2013-04-17sal_Bool to boolTakeshi Abe Change-Id: Id2ba5cf09227945fd97ef6f7e63cb40fa6488886 2013-03-19automated removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStringsThomas Arnhold Done with a perl regex: s/OUString\s*\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/OUString\($1\)/gms Change-Id: Idf28320817cdcbea6d0f7ec06a9bf51bd2c3b3ec Reviewed-on: https://gerrit.libreoffice.org/2832 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org> 2012-12-06just use return value optimizationCaolán McNamara Change-Id: I2c7937c238d90192383e20923f62233821445c10 2012-11-27re-base on ALv2 code. Includes:Michael Meeks Patch contributed by Christian Lippka impress212: #i113063# patch: dubios self assign in svx/source/dialog/framelink.cxx http://svn.apache.org/viewvc?view=revision&revision=1167619 Patches contributed by Mathias Bauer gnumake4 work variously http://svn.apache.org/viewvc?view=revision&revision=1394707 http://svn.apache.org/viewvc?view=revision&revision=1394326 cws mba34issues01: #i117712#: fix several resource errors introduced by IAccessible2 implementation http://svn.apache.org/viewvc?view=revision&revision=1172343 cws mba34issues01: #i117719#: use correct resource ID http://svn.apache.org/viewvc?view=revision&revision=1172351 Patch contributed by Andre Fischer Do not add targets for junit tests when junit is disabled. http://svn.apache.org/viewvc?view=revision&revision=1241508 Patches contributed by Armin Le-Grand #118804# corrected GraphicExporter behaviour on shortcut when pixel graphic is requested http://svn.apache.org/viewvc?view=revision&revision=1240195 fix for #118525#: Using primitives for chart sub-geometry visualisation http://svn.apache.org/viewvc?view=revision&revision=1226879 #118485# - Styles for OLEs are not saved. http://svn.apache.org/viewvc?view=revision&revision=1182166 #118524: apply patch, followup fixes to 118485 http://svn.apache.org/viewvc?view=revision&revision=1186077 13f79535-47bb-0310-9956-ffa450edef68 Patch contributed by Regina Henschel linecap: Reintegrating finished LineCap feature http://svn.apache.org/viewvc?view=revision&revision=1232507 Patch contributed by Wang Lei (leiw) #i118760# split the first table cell vertically, then undo&redo, the Presentation app will crash http://svn.apache.org/viewvc?view=revision&revision=1301361 cleanup globlmn hacks, undo dependent fixmes. 2012-04-06Replaced equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) with == operatorSzabolcs Dezsi Pattern used: find . -name "*.cxx" -exec sed -i 's/\( *\)\(else if\|if\) *( *\([^!()|&]*\)\.equalsAsciiL( *RTL_CONSTASCII_STRINGPARAM *( *\([^)]*\)) *) *)$/\1\2 ( \3 == \4 )/' \{\} \; 2012-01-14Fix for fdo43460 Part XXXVIII getLength() to isEmpty()Olivier Hallot Part XXXVIII Modules svx 2011-11-27remove include of pch header from svxNorbert Thiebaud