diff options
-rw-r--r-- | include/tools/multisel.hxx | 10 | ||||
-rw-r--r-- | include/tools/stream.hxx | 2 | ||||
-rw-r--r-- | include/tools/vcompat.hxx | 2 | ||||
-rw-r--r-- | include/tools/zcodec.hxx | 4 | ||||
-rw-r--r-- | tools/source/fsys/urlobj.cxx | 20 | ||||
-rw-r--r-- | tools/source/inet/inetmime.cxx | 14 | ||||
-rw-r--r-- | tools/source/reversemap/bestreversemap.cxx | 2 | ||||
-rw-r--r-- | tools/source/xml/XmlWriter.cxx | 2 |
8 files changed, 28 insertions, 28 deletions
diff --git a/include/tools/multisel.hxx b/include/tools/multisel.hxx index feb96abd2760..3e06a3dce239 100644 --- a/include/tools/multisel.hxx +++ b/include/tools/multisel.hxx @@ -77,16 +77,16 @@ class SAL_WARN_UNUSED TOOLS_DLLPUBLIC StringRangeEnumerator { struct Range { - sal_Int32 const nFirst; - sal_Int32 const nLast; + sal_Int32 nFirst; + sal_Int32 nLast; Range( sal_Int32 i_nFirst, sal_Int32 i_nLast ) : nFirst( i_nFirst ), nLast( i_nLast ) {} }; std::vector< StringRangeEnumerator::Range > maSequence; sal_Int32 mnCount; - sal_Int32 const mnMin; - sal_Int32 const mnMax; - sal_Int32 const mnOffset; + sal_Int32 mnMin; + sal_Int32 mnMax; + sal_Int32 mnOffset; bool mbValidInput; bool setRange( const OUString& i_rNewRange ); diff --git a/include/tools/stream.hxx b/include/tools/stream.hxx index 2e8fbc6771b5..4cbe1a3e930c 100644 --- a/include/tools/stream.hxx +++ b/include/tools/stream.hxx @@ -98,7 +98,7 @@ struct SvLockBytesStat class TOOLS_DLLPUBLIC SvLockBytes: public virtual SvRefBase { SvStream * m_pStream; - bool const m_bOwner; + bool m_bOwner; bool m_bSync; protected: diff --git a/include/tools/vcompat.hxx b/include/tools/vcompat.hxx index 3fbf4afaa5b2..edf61c7dd9b1 100644 --- a/include/tools/vcompat.hxx +++ b/include/tools/vcompat.hxx @@ -39,7 +39,7 @@ class UNLESS_MERGELIBS(TOOLS_DLLPUBLIC) VersionCompat SvStream* mpRWStm; sal_uInt32 mnCompatPos; sal_uInt32 mnTotalSize; - StreamMode const mnStmMode; + StreamMode mnStmMode; sal_uInt16 mnVersion; VersionCompat( const VersionCompat& ) = delete; diff --git a/include/tools/zcodec.hxx b/include/tools/zcodec.hxx index ecffc67d87bf..23922e197f91 100644 --- a/include/tools/zcodec.hxx +++ b/include/tools/zcodec.hxx @@ -40,11 +40,11 @@ class SAL_WARN_UNUSED TOOLS_DLLPUBLIC ZCodec bool mbStatus; bool mbFinish; sal_uInt8* mpInBuf; - size_t const mnInBufSize; + size_t mnInBufSize; size_t mnInToRead; SvStream* mpOStm; sal_uInt8* mpOutBuf; - size_t const mnOutBufSize; + size_t mnOutBufSize; int mnCompressLevel; bool mbGzLib; diff --git a/tools/source/fsys/urlobj.cxx b/tools/source/fsys/urlobj.cxx index be9dadeb8043..8818f548da29 100644 --- a/tools/source/fsys/urlobj.cxx +++ b/tools/source/fsys/urlobj.cxx @@ -291,14 +291,14 @@ struct INetURLObject::SchemeInfo { char const * m_pScheme; char const * m_pPrefix; - bool const m_bAuthority; - bool const m_bUser; - bool const m_bAuth; - bool const m_bPassword; - bool const m_bHost; - bool const m_bPort; - bool const m_bHierarchical; - bool const m_bQuery; + bool m_bAuthority; + bool m_bUser; + bool m_bAuth; + bool m_bPassword; + bool m_bHost; + bool m_bPort; + bool m_bHierarchical; + bool m_bQuery; }; struct INetURLObject::PrefixInfo @@ -307,8 +307,8 @@ struct INetURLObject::PrefixInfo char const * m_pPrefix; char const * m_pTranslatedPrefix; - INetProtocol const m_eScheme; - Kind const m_eKind; + INetProtocol m_eScheme; + Kind m_eKind; }; // static diff --git a/tools/source/inet/inetmime.cxx b/tools/source/inet/inetmime.cxx index cc9d0c1e94fc..fd00fe3a4603 100644 --- a/tools/source/inet/inetmime.cxx +++ b/tools/source/inet/inetmime.cxx @@ -252,12 +252,12 @@ void appendISO88591(OUStringBuffer & rText, char const * pBegin, struct Parameter { - OString const m_aAttribute; - OString const m_aCharset; - OString const m_aLanguage; - OString const m_aValue; - sal_uInt32 const m_nSection; - bool const m_bExtended; + OString m_aAttribute; + OString m_aCharset; + OString m_aLanguage; + OString m_aValue; + sal_uInt32 m_nSection; + bool m_bExtended; bool operator<(const Parameter& rhs) const // is used by std::list<Parameter>::sort { @@ -741,7 +741,7 @@ bool equalIgnoreCase(const char * pBegin1, struct EncodingEntry { char const * m_aName; - rtl_TextEncoding const m_eEncoding; + rtl_TextEncoding m_eEncoding; }; // The source for the following table is <ftp://ftp.iana.org/in-notes/iana/ diff --git a/tools/source/reversemap/bestreversemap.cxx b/tools/source/reversemap/bestreversemap.cxx index e2b51bf5c000..02a81932b3f2 100644 --- a/tools/source/reversemap/bestreversemap.cxx +++ b/tools/source/reversemap/bestreversemap.cxx @@ -17,7 +17,7 @@ namespace { struct Encoder { - rtl_UnicodeToTextConverter const m_aConverter; + rtl_UnicodeToTextConverter m_aConverter; bool m_bCapable; const char *m_pEncoding; Encoder(rtl_TextEncoding nEncoding, const char *pEncoding) diff --git a/tools/source/xml/XmlWriter.cxx b/tools/source/xml/XmlWriter.cxx index a314eed6e940..eaea3d9c15e4 100644 --- a/tools/source/xml/XmlWriter.cxx +++ b/tools/source/xml/XmlWriter.cxx @@ -40,7 +40,7 @@ struct XmlWriterImpl { } - SvStream* const mpStream; + SvStream* mpStream; xmlTextWriterPtr mpWriter; bool mbWriteXmlHeader; }; |