diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2011-10-06 21:29:44 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2011-10-06 22:36:31 +0200 |
commit | d550bc3f450dd2d3aa33398eb31bc1163a181c43 (patch) | |
tree | bf202fe182a72bb88600a71a6f82ae4ee1212cc0 /shell | |
parent | 243ead838369b030579f501ce1f77689ce822f06 (diff) |
Undo basis/brand split: move some auxiliary executables from basis to brand.
Diffstat (limited to 'shell')
-rw-r--r-- | shell/source/cmdmail/cmdmailsuppl.cxx | 2 | ||||
-rw-r--r-- | shell/source/unix/exec/shellexec.cxx | 6 | ||||
-rw-r--r-- | shell/source/unix/misc/makefile.mk | 2 | ||||
-rw-r--r-- | shell/source/win32/simplemail/makefile.mk | 2 | ||||
-rw-r--r-- | shell/source/win32/simplemail/smplmailclient.cxx | 2 |
5 files changed, 8 insertions, 6 deletions
diff --git a/shell/source/cmdmail/cmdmailsuppl.cxx b/shell/source/cmdmail/cmdmailsuppl.cxx index ec623c02cde4..548b90cc444b 100644 --- a/shell/source/cmdmail/cmdmailsuppl.cxx +++ b/shell/source/cmdmail/cmdmailsuppl.cxx @@ -153,7 +153,7 @@ void SAL_CALL CmdMailSuppl::sendSimpleMailMessage( const Reference< XSimpleMailM OStringBuffer aBuffer; aBuffer.append("\""); - OUString aProgramURL(RTL_CONSTASCII_USTRINGPARAM("$OOO_BASE_DIR/program/senddoc")); + OUString aProgramURL(RTL_CONSTASCII_USTRINGPARAM("$BRAND_BASE_DIR/program/senddoc")); rtl::Bootstrap::expandMacros(aProgramURL); OUString aProgram; diff --git a/shell/source/unix/exec/shellexec.cxx b/shell/source/unix/exec/shellexec.cxx index 4af7c7bfff84..40a2fa3f9b13 100644 --- a/shell/source/unix/exec/shellexec.cxx +++ b/shell/source/unix/exec/shellexec.cxx @@ -159,7 +159,7 @@ void SAL_CALL ShellExec::execute( const OUString& aCommand, const OUString& aPar #ifdef MACOSX aBuffer.append("open"); #else - // The url launchers are expected to be in the $OOO_BASE_DIR/program + // The url launchers are expected to be in the $BRAND_BASE_DIR/program // directory: com::sun::star::uno::Reference< com::sun::star::util::XMacroExpander > exp; @@ -182,11 +182,11 @@ void SAL_CALL ShellExec::execute( const OUString& aCommand, const OUString& aPar try { aProgramURL = exp->expandMacros( rtl::OUString( - RTL_CONSTASCII_USTRINGPARAM("$OOO_BASE_DIR/program/"))); + RTL_CONSTASCII_USTRINGPARAM("$BRAND_BASE_DIR/program/"))); } catch (com::sun::star::lang::IllegalArgumentException &) { throw SystemShellExecuteException( - OUString(RTL_CONSTASCII_USTRINGPARAM("Could not expand $OOO_BASE_DIR path")), + OUString(RTL_CONSTASCII_USTRINGPARAM("Could not expand $BRAND_BASE_DIR path")), static_cast < XSystemShellExecute * > (this), ENOENT ); } diff --git a/shell/source/unix/misc/makefile.mk b/shell/source/unix/misc/makefile.mk index be4660db3e8c..3f1b64e652e0 100644 --- a/shell/source/unix/misc/makefile.mk +++ b/shell/source/unix/misc/makefile.mk @@ -51,6 +51,7 @@ APP1TARGET = gnome-open-url.bin APP1OBJS = \ $(OBJ)$/gnome-open-url.obj APP1LIBS = +APP1RPATH = BRAND .IF "$(OS)"!="FREEBSD" && "$(OS)"!="NETBSD" && "$(OS)"!="OPENBSD" && \ "$(OS)"!="DRAGONFLY" APP1STDLIBS=-ldl @@ -59,6 +60,7 @@ APP1STDLIBS=-ldl APP2TARGET = uri-encode APP2OBJS = $(OBJ)$/uri-encode.obj APP2LIBS = +APP2RPATH = BRAND APP2STDLIBS = OBJFILES = $(APP1OBJS) $(APP2OBJS) diff --git a/shell/source/win32/simplemail/makefile.mk b/shell/source/win32/simplemail/makefile.mk index abd35e408e2d..3e8b15f97a4c 100644 --- a/shell/source/win32/simplemail/makefile.mk +++ b/shell/source/win32/simplemail/makefile.mk @@ -70,7 +70,7 @@ APP1TARGET=senddoc APP1OBJS=$(OBJFILES) APP1STDLIBS=$(KERNEL32LIB)\ $(SALLIB) - +APP1RPATH = BRAND APP1DEF=$(MISC)$/$(APP1TARGET).def # --- Targets ------------------------------------------------------ diff --git a/shell/source/win32/simplemail/smplmailclient.cxx b/shell/source/win32/simplemail/smplmailclient.cxx index 52707b3cac19..2d27049261b8 100644 --- a/shell/source/win32/simplemail/smplmailclient.cxx +++ b/shell/source/win32/simplemail/smplmailclient.cxx @@ -112,7 +112,7 @@ namespace /* private */ { senddocUrl = rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( - "$OOO_BASE_DIR/program/senddoc.exe")); + "$BRAND_BASE_DIR/program/senddoc.exe")); rtl::Bootstrap::expandMacros(senddocUrl); //TODO: detect failure } return senddocUrl; |