diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2020-12-23 10:55:05 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2020-12-23 14:31:28 +0100 |
commit | 747cf9f95f8f97062f9d4566910f97529fbeedc4 (patch) | |
tree | 3764b1867eccd80b118d5457a4725c7575994f37 /xmloff/inc/txtvfldi.hxx | |
parent | 554bd2927f525450e96a12e733f16c86c76ac8e6 (diff) |
Directly create strings in *::MapTokenToServiceName
...and pass them into XMLTextFieldImportContext and derived ctors. The assert
in the XMLTextFieldImportContext ctor is moved up to the two
MapTokenToServiceName functions.
Change-Id: I75c76cd6129e79ad54ea87e7d3419ca49679875d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108235
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'xmloff/inc/txtvfldi.hxx')
-rw-r--r-- | xmloff/inc/txtvfldi.hxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmloff/inc/txtvfldi.hxx b/xmloff/inc/txtvfldi.hxx index 67bc233b77cb..8a288bdfb436 100644 --- a/xmloff/inc/txtvfldi.hxx +++ b/xmloff/inc/txtvfldi.hxx @@ -137,7 +137,7 @@ public: // for XMLTextFieldImportContext: SvXMLImport& rImport, /// XML Import XMLTextImportHelper& rHlp, /// text import helper - const char* pServiceName, /// name of SO API service + const OUString& pServiceName, /// name of SO API service // config variables for PrepareField behavior: bool bFormula, /// set Formula property bool bFormulaDefault, /// use content as default for formula @@ -232,7 +232,7 @@ public: // for XMLTextFieldImportContext: SvXMLImport& rImport, /// see XMLTextFieldImportContext XMLTextImportHelper& rHlp, /// see XMLTextFieldImportContext - const char* pServiceName, /// see XMLTextFieldImportContext + const OUString& pServiceName, /// see XMLTextFieldImportContext // for finding appropriate field master (see endFastElement()) VarType eVarType, /// variable type // config variables: |