summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--framework/source/services/substitutepathvars.cxx13
1 files changed, 10 insertions, 3 deletions
diff --git a/framework/source/services/substitutepathvars.cxx b/framework/source/services/substitutepathvars.cxx
index b12331f4c693..d651238ad293 100644
--- a/framework/source/services/substitutepathvars.cxx
+++ b/framework/source/services/substitutepathvars.cxx
@@ -86,12 +86,19 @@ enum OperatingSystem
struct SubstituteRule
{
- SubstituteRule() {}
+ SubstituteRule()
+ : aEnvType(ET_UNKNOWN)
+ {}
+
SubstituteRule( const OUString& aVarName,
const OUString& aValue,
const com::sun::star::uno::Any& aVal,
- EnvironmentType aType ) :
- aSubstVariable( aVarName ), aSubstValue( aValue ), aEnvValue( aVal ), aEnvType( aType ) {}
+ EnvironmentType aType )
+ : aSubstVariable(aVarName)
+ , aSubstValue(aValue)
+ , aEnvValue(aVal)
+ , aEnvType(aType)
+ {}
OUString aSubstVariable;
OUString aSubstValue;