diff options
Diffstat (limited to 'xmloff/source/core')
-rw-r--r-- | xmloff/source/core/DocumentSettingsContext.cxx | 4 | ||||
-rw-r--r-- | xmloff/source/core/RDFaImportHelper.cxx | 8 | ||||
-rw-r--r-- | xmloff/source/core/xmlerror.cxx | 14 | ||||
-rw-r--r-- | xmloff/source/core/xmlexp.cxx | 6 | ||||
-rw-r--r-- | xmloff/source/core/xmlimp.cxx | 2 | ||||
-rw-r--r-- | xmloff/source/core/xmltoken.cxx | 4 |
6 files changed, 19 insertions, 19 deletions
diff --git a/xmloff/source/core/DocumentSettingsContext.cxx b/xmloff/source/core/DocumentSettingsContext.cxx index 8179c5ace523..19f755fb6f29 100644 --- a/xmloff/source/core/DocumentSettingsContext.cxx +++ b/xmloff/source/core/DocumentSettingsContext.cxx @@ -189,7 +189,7 @@ public: class XMLConfigItemMapIndexedContext : public XMLConfigBaseContext { private: - OUString maConfigItemName; + OUString const maConfigItemName; public: XMLConfigItemMapIndexedContext(SvXMLImport& rImport, sal_uInt16 nPrfx, @@ -253,7 +253,7 @@ namespace { struct SettingsGroup { - OUString sGroupName; + OUString const sGroupName; uno::Any aSettings; SettingsGroup( const OUString& _rGroupName, const uno::Any& _rSettings ) diff --git a/xmloff/source/core/RDFaImportHelper.cxx b/xmloff/source/core/RDFaImportHelper.cxx index 4cb9f729b46d..e4651faa0f1d 100644 --- a/xmloff/source/core/RDFaImportHelper.cxx +++ b/xmloff/source/core/RDFaImportHelper.cxx @@ -108,10 +108,10 @@ public: /** store parsed RDFa attributes */ struct ParsedRDFaAttributes { - OUString m_About; - ::std::vector< OUString > m_Properties; - OUString m_Content; - OUString m_Datatype; + OUString const m_About; + ::std::vector< OUString > const m_Properties; + OUString const m_Content; + OUString const m_Datatype; ParsedRDFaAttributes( OUString const & i_rAbout, diff --git a/xmloff/source/core/xmlerror.cxx b/xmloff/source/core/xmlerror.cxx index d7dba21a6870..a19a6ae23df8 100644 --- a/xmloff/source/core/xmlerror.cxx +++ b/xmloff/source/core/xmlerror.cxx @@ -51,18 +51,18 @@ public: const OUString& rPublicId, const OUString& rSystemId); - sal_Int32 nId; /// error ID + sal_Int32 const nId; /// error ID - OUString sExceptionMessage;/// message of original exception (if available) + OUString const sExceptionMessage;/// message of original exception (if available) // XLocator information: - sal_Int32 nRow; /// row number where error occurred (or -1 for unknown) - sal_Int32 nColumn; /// column number where error occurred (or -1) - OUString sPublicId; /// public identifier - OUString sSystemId; /// public identifier + sal_Int32 const nRow; /// row number where error occurred (or -1 for unknown) + sal_Int32 const nColumn; /// column number where error occurred (or -1) + OUString const sPublicId; /// public identifier + OUString const sSystemId; /// public identifier /// message Parameters - Sequence<OUString> aParams; + Sequence<OUString> const aParams; }; diff --git a/xmloff/source/core/xmlexp.cxx b/xmloff/source/core/xmlexp.cxx index 86dc9404bed7..fc30db7b8bb2 100644 --- a/xmloff/source/core/xmlexp.cxx +++ b/xmloff/source/core/xmlexp.cxx @@ -127,9 +127,9 @@ namespace { struct XMLServiceMapEntry_Impl { const sal_Char *sModelService; - sal_Int32 nModelServiceLen; + sal_Int32 const nModelServiceLen; const sal_Char *sFilterService; - sal_Int32 nFilterServiceLen; + sal_Int32 const nFilterServiceLen; }; } @@ -255,7 +255,7 @@ public: uno::Reference< embed::XStorage > mxTargetStorage; - SvtSaveOptions maSaveOptions; + SvtSaveOptions const maSaveOptions; /// name of stream in package, e.g., "content.xml" OUString mStreamName; diff --git a/xmloff/source/core/xmlimp.cxx b/xmloff/source/core/xmlimp.cxx index 5f31846b9aa2..841487b296cf 100644 --- a/xmloff/source/core/xmlimp.cxx +++ b/xmloff/source/core/xmlimp.cxx @@ -275,7 +275,7 @@ public: bool mbTextDocInOOoFileFormat; const uno::Reference< uno::XComponentContext > mxComponentContext; - OUString implementationName; + OUString const implementationName; uno::Reference< embed::XStorage > mxSourceStorage; diff --git a/xmloff/source/core/xmltoken.cxx b/xmloff/source/core/xmltoken.cxx index cd3fcddf4587..8a40bdc11fc9 100644 --- a/xmloff/source/core/xmltoken.cxx +++ b/xmloff/source/core/xmltoken.cxx @@ -29,11 +29,11 @@ namespace xmloff { namespace token { { struct XMLTokenEntry { - sal_Int32 nLength; + sal_Int32 const nLength; const sal_Char* pChar; OUString* pOUString; #if OSL_DEBUG_LEVEL > 0 - XMLTokenEnum eToken; + XMLTokenEnum const eToken; #endif }; } |