summaryrefslogtreecommitdiff
path: root/automation/source/server
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2011-02-06 00:19:46 +0100
committerJulien Nabet <serval2412@yahoo.fr>2011-02-06 00:19:46 +0100
commit37823fe2b4474eca6e8a775668af6bca21e2af55 (patch)
tree024a86eca04a42cc6acd74a5c9c2e6ac944ad05b /automation/source/server
parentfe9ce8d621de45f52b30accc759e976cf480c9af (diff)
Some cppcheck cleaning
Diffstat (limited to 'automation/source/server')
-rw-r--r--automation/source/server/profiler.cxx2
-rw-r--r--automation/source/server/profiler.hxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/automation/source/server/profiler.cxx b/automation/source/server/profiler.cxx
index 95d7c00a6b7e..1f9a63c18bd9 100644
--- a/automation/source/server/profiler.cxx
+++ b/automation/source/server/profiler.cxx
@@ -252,7 +252,7 @@ String TTProfiler::Dec( ULONG nNr )
return aRet;
}
-String TTProfiler::Pad( const String aS, xub_StrLen nLen )
+String TTProfiler::Pad( const String &aS, xub_StrLen nLen )
{
if ( nLen > aS.Len() )
return UniString().Fill( nLen - aS.Len() ).Append( aS );
diff --git a/automation/source/server/profiler.hxx b/automation/source/server/profiler.hxx
index c7d0537d6225..cd6f309844a4 100644
--- a/automation/source/server/profiler.hxx
+++ b/automation/source/server/profiler.hxx
@@ -112,7 +112,7 @@ private:
// String Hex( ULONG nNr );
String Dec( ULONG nNr ); // Ergebnis = nNr / 100 mit 2 Dezimalen
- String Pad( const String aS, xub_StrLen nLen ); // Fgt blanks links an den String an
+ String Pad( const String &aS, xub_StrLen nLen ); // Fgt blanks links an den String an
/* Ab hier werden die Methoden Systemabhngig in den entsprechenden cxx implementiert
Sie werden von den oberen Methoden gerufen.