Kaydet (Commit) 9c2bd795 authored tarafından Herbert Dürr's avatar Herbert Dürr

#i123693# WaE: const type qualifier ignored on return value

this fix removes almost 120 compile warnings during the AOO build
üst f1390100
...@@ -160,7 +160,7 @@ public: ...@@ -160,7 +160,7 @@ public:
const SvNumberNatNum& GetNatNum() const { return aNatNum; } const SvNumberNatNum& GetNatNum() const { return aNatNum; }
// check, if the format code contains a subformat for text // check, if the format code contains a subformat for text
const bool HasTextFormatCode() const; bool HasTextFormatCode() const;
private: private:
ImpSvNumberformatInfo aI; // Hilfsstruct fuer die restlichen Infos ImpSvNumberformatInfo aI; // Hilfsstruct fuer die restlichen Infos
...@@ -336,7 +336,7 @@ public: ...@@ -336,7 +336,7 @@ public:
sal_Bool HasNewCurrency() const; sal_Bool HasNewCurrency() const;
// check, if the format code contains a subformat for text // check, if the format code contains a subformat for text
const bool HasTextFormatCode() const; bool HasTextFormatCode() const;
// Build string from NewCurrency for saving it SO50 compatible // Build string from NewCurrency for saving it SO50 compatible
void Build50Formatstring( String& rStr ) const; void Build50Formatstring( String& rStr ) const;
......
...@@ -406,7 +406,7 @@ sal_Bool ImpSvNumFor::HasNewCurrency() const ...@@ -406,7 +406,7 @@ sal_Bool ImpSvNumFor::HasNewCurrency() const
return sal_False; return sal_False;
} }
const bool ImpSvNumFor::HasTextFormatCode() const bool ImpSvNumFor::HasTextFormatCode() const
{ {
return aI.eScannedType == NUMBERFORMAT_TEXT; return aI.eScannedType == NUMBERFORMAT_TEXT;
} }
...@@ -1722,7 +1722,7 @@ sal_Bool SvNumberformat::HasNewCurrency() const ...@@ -1722,7 +1722,7 @@ sal_Bool SvNumberformat::HasNewCurrency() const
return sal_False; return sal_False;
} }
const bool SvNumberformat::HasTextFormatCode() const bool SvNumberformat::HasTextFormatCode() const
{ {
for ( sal_uInt16 j=0; j<4; j++ ) for ( sal_uInt16 j=0; j<4; j++ )
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment