summaryrefslogtreecommitdiff
path: root/dtrans
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2017-12-04 14:20:26 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-12-05 07:32:46 +0100
commit9a06b99d2f53bd8d0a9ab0936efed9924a2abb88 (patch)
tree544f3e51a3978bd234a1c9fcdbf12d9b84352da4 /dtrans
parenteaf89e477af94bd3977aca17d72dd442c7604e63 (diff)
loplugin:salcall fix non-virtual methods
first, since those are safer to change than virtual methods Change-Id: Ie3b624019d75ee2b793cee33b3c5f64e994e8bfe Reviewed-on: https://gerrit.libreoffice.org/45798 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'dtrans')
-rw-r--r--dtrans/source/cnttype/mcnttype.cxx24
-rw-r--r--dtrans/source/cnttype/mcnttype.hxx24
2 files changed, 24 insertions, 24 deletions
diff --git a/dtrans/source/cnttype/mcnttype.cxx b/dtrans/source/cnttype/mcnttype.cxx
index 20271ea17aab..2a405b5a0e74 100644
--- a/dtrans/source/cnttype/mcnttype.cxx
+++ b/dtrans/source/cnttype/mcnttype.cxx
@@ -88,7 +88,7 @@ OUString SAL_CALL CMimeContentType::getParameterValue( const OUString& aName )
return m_ParameterMap.find( aName )->second;
}
-void SAL_CALL CMimeContentType::init( const OUString& aCntType )
+void CMimeContentType::init( const OUString& aCntType )
{
if ( aCntType.isEmpty( ) )
throw IllegalArgumentException( );
@@ -99,7 +99,7 @@ void SAL_CALL CMimeContentType::init( const OUString& aCntType )
type();
}
-void SAL_CALL CMimeContentType::getSym()
+void CMimeContentType::getSym()
{
if ( m_nPos < m_ContentType.getLength( ) )
{
@@ -111,7 +111,7 @@ void SAL_CALL CMimeContentType::getSym()
m_nxtSym = OUString( );
}
-void SAL_CALL CMimeContentType::acceptSym( const OUString& pSymTlb )
+void CMimeContentType::acceptSym( const OUString& pSymTlb )
{
if ( pSymTlb.indexOf( m_nxtSym ) < 0 )
throw IllegalArgumentException( );
@@ -119,13 +119,13 @@ void SAL_CALL CMimeContentType::acceptSym( const OUString& pSymTlb )
getSym();
}
-void SAL_CALL CMimeContentType::skipSpaces()
+void CMimeContentType::skipSpaces()
{
while (m_nxtSym == SPACE)
getSym( );
}
-void SAL_CALL CMimeContentType::type()
+void CMimeContentType::type()
{
skipSpaces( );
@@ -154,7 +154,7 @@ void SAL_CALL CMimeContentType::type()
subtype( );
}
-void SAL_CALL CMimeContentType::subtype()
+void CMimeContentType::subtype()
{
skipSpaces( );
@@ -180,7 +180,7 @@ void SAL_CALL CMimeContentType::subtype()
trailer();
}
-void SAL_CALL CMimeContentType::trailer()
+void CMimeContentType::trailer()
{
OUString sToken(TOKEN);
while( !m_nxtSym.isEmpty( ) )
@@ -221,7 +221,7 @@ void SAL_CALL CMimeContentType::trailer()
}
}
-OUString SAL_CALL CMimeContentType::pName( )
+OUString CMimeContentType::pName( )
{
OUString pname;
@@ -240,7 +240,7 @@ OUString SAL_CALL CMimeContentType::pName( )
return pname;
}
-OUString SAL_CALL CMimeContentType::pValue( )
+OUString CMimeContentType::pValue( )
{
OUString pvalue;
@@ -274,7 +274,7 @@ OUString SAL_CALL CMimeContentType::pValue( )
// '";' (quote sign followed by semicolon) and '" ' (quote sign followed
// by space)
-OUString SAL_CALL CMimeContentType::quotedPValue( )
+OUString CMimeContentType::quotedPValue( )
{
OUString pvalue;
bool bAfterQuoteSign = false;
@@ -301,7 +301,7 @@ OUString SAL_CALL CMimeContentType::quotedPValue( )
return pvalue;
}
-OUString SAL_CALL CMimeContentType::nonquotedPValue( )
+OUString CMimeContentType::nonquotedPValue( )
{
OUString pvalue;
@@ -320,7 +320,7 @@ OUString SAL_CALL CMimeContentType::nonquotedPValue( )
return pvalue;
}
-void SAL_CALL CMimeContentType::comment()
+void CMimeContentType::comment()
{
while ( !m_nxtSym.isEmpty( ) )
{
diff --git a/dtrans/source/cnttype/mcnttype.hxx b/dtrans/source/cnttype/mcnttype.hxx
index 45a80bbed66c..61e9594b2ba8 100644
--- a/dtrans/source/cnttype/mcnttype.hxx
+++ b/dtrans/source/cnttype/mcnttype.hxx
@@ -48,18 +48,18 @@ public:
private:
/// @throws css::lang::IllegalArgumentException
- void SAL_CALL init( const OUString& aCntType );
- void SAL_CALL getSym();
- void SAL_CALL acceptSym( const OUString& pSymTlb );
- void SAL_CALL skipSpaces();
- void SAL_CALL type();
- void SAL_CALL subtype();
- void SAL_CALL trailer();
- OUString SAL_CALL pName( );
- OUString SAL_CALL pValue( );
- OUString SAL_CALL quotedPValue( );
- OUString SAL_CALL nonquotedPValue( );
- void SAL_CALL comment();
+ void init( const OUString& aCntType );
+ void getSym();
+ void acceptSym( const OUString& pSymTlb );
+ void skipSpaces();
+ void type();
+ void subtype();
+ void trailer();
+ OUString pName( );
+ OUString pValue( );
+ OUString quotedPValue( );
+ OUString nonquotedPValue( );
+ void comment();
static bool SAL_CALL isInRange( const OUString& aChr, const OUString& aRange );
private: