summaryrefslogtreecommitdiff
path: root/sax
diff options
context:
space:
mode:
Diffstat (limited to 'sax')
-rw-r--r--sax/source/tools/converter.cxx2
-rw-r--r--sax/source/tools/fastserializer.cxx4
2 files changed, 3 insertions, 3 deletions
diff --git a/sax/source/tools/converter.cxx b/sax/source/tools/converter.cxx
index 79f84c09697e..741dcc8b086c 100644
--- a/sax/source/tools/converter.cxx
+++ b/sax/source/tools/converter.cxx
@@ -475,7 +475,7 @@ void Converter::convertMeasurePx( OUStringBuffer& rBuffer, sal_Int32 nValue )
rBuffer.append( 'x' );
}
-int lcl_gethex( int nChar )
+static int lcl_gethex( int nChar )
{
if( nChar >= '0' && nChar <= '9' )
return nChar - '0';
diff --git a/sax/source/tools/fastserializer.cxx b/sax/source/tools/fastserializer.cxx
index 9356f3e081d1..b232d0b3abf0 100644
--- a/sax/source/tools/fastserializer.cxx
+++ b/sax/source/tools/fastserializer.cxx
@@ -105,7 +105,7 @@ namespace sax_fastparser {
/** Characters not allowed in XML 1.0
XML 1.1 would exclude only U+0000
*/
- bool invalidChar( char c )
+ static bool invalidChar( char c )
{
if (static_cast<unsigned char>(c) >= 0x20)
return false;
@@ -120,7 +120,7 @@ namespace sax_fastparser {
return true;
}
- bool isHexDigit( char c )
+ static bool isHexDigit( char c )
{
return ('0' <= c && c <= '9') || ('A' <= c && c <= 'F') || ('a' <= c && c <= 'f');
}