ScriptStorageManager.cxx (2c696243) ScriptStorageManager.cxx (910823ae)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 68 unchanged lines hidden (view full) ---

77 try
78 {
79 // obtain the macro expander singleton to use in determining the
80 // location of the application script storage
81 Reference< util::XMacroExpander > xME( m_xContext->getValueByName( OUString::createFromAscii(
82 "/singletons/com.sun.star.util.theMacroExpander" ) ), UNO_QUERY_THROW );
83
84 OUString base = OUString::createFromAscii(
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 68 unchanged lines hidden (view full) ---

77 try
78 {
79 // obtain the macro expander singleton to use in determining the
80 // location of the application script storage
81 Reference< util::XMacroExpander > xME( m_xContext->getValueByName( OUString::createFromAscii(
82 "/singletons/com.sun.star.util.theMacroExpander" ) ), UNO_QUERY_THROW );
83
84 OUString base = OUString::createFromAscii(
85 SAL_CONFIGFILE( "${$BRAND_BASE_DIR/program/bootstrap" ) );
85 SAL_CONFIGFILE( "${$OOO_BASE_DIR/program/bootstrap" ) );
86
87 setupAppStorage( xME,
88 base.concat( OUString::createFromAscii( "::BaseInstallation}/share" ) ),
89 OUSTR( "SHARE" ) );
90 setupAppStorage( xME,
91 base.concat( OUString::createFromAscii( "::UserInstallation}/user" ) ),
92 OUSTR( "USER" ) );
93

--- 465 unchanged lines hidden ---
86
87 setupAppStorage( xME,
88 base.concat( OUString::createFromAscii( "::BaseInstallation}/share" ) ),
89 OUSTR( "SHARE" ) );
90 setupAppStorage( xME,
91 base.concat( OUString::createFromAscii( "::UserInstallation}/user" ) ),
92 OUSTR( "USER" ) );
93

--- 465 unchanged lines hidden ---