summaryrefslogtreecommitdiff
path: root/l10ntools/source
diff options
context:
space:
mode:
authorArnaud Versini <arnaud.versini@gmail.com>2017-06-04 13:52:35 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2017-06-04 15:13:17 +0200
commitc4ac732d8132b36b3817e65d2651599ebe16a7f2 (patch)
treeeafa3ae5ea3c22f7ed1d4df1270eab30832b4b70 /l10ntools/source
parenta9527c9524c11af0558d838ae3d10f77f5475771 (diff)
Remove usage of OString("")
Change-Id: I0874f81c35573048d05b3842806daa0db67f7887 Reviewed-on: https://gerrit.libreoffice.org/38386 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'l10ntools/source')
-rw-r--r--l10ntools/source/xrmmerge.cxx18
1 files changed, 9 insertions, 9 deletions
diff --git a/l10ntools/source/xrmmerge.cxx b/l10ntools/source/xrmmerge.cxx
index 98c17e68d65e..7596f6585a22 100644
--- a/l10ntools/source/xrmmerge.cxx
+++ b/l10ntools/source/xrmmerge.cxx
@@ -167,7 +167,7 @@ void XRMResParser::Execute( int nToken, char * pToken )
sGID = sNewGID;
}
bText = true;
- sCurrentText = "";
+ sCurrentText = OString();
sCurrentOpenTag = rToken;
Output( rToken );
}
@@ -181,8 +181,8 @@ void XRMResParser::Execute( int nToken, char * pToken )
Output( sCurrentText );
EndOfText( sCurrentOpenTag, sCurrentCloseTag );
bText = false;
- rToken = OString("");
- sCurrentText = OString("");
+ rToken = OString();
+ sCurrentText = OString();
}
break;
@@ -200,7 +200,7 @@ void XRMResParser::Execute( int nToken, char * pToken )
if (bDisplayName) {
sGID = OString("dispname");
bText = true;
- sCurrentText = "";
+ sCurrentText = OString();
sCurrentOpenTag = rToken;
Output( rToken );
}
@@ -216,8 +216,8 @@ void XRMResParser::Execute( int nToken, char * pToken )
Output( sCurrentText );
EndOfText( sCurrentOpenTag, sCurrentCloseTag );
bText = false;
- rToken = OString("");
- sCurrentText = OString("");
+ rToken = OString();
+ sCurrentText = OString();
}
}
break;
@@ -238,13 +238,13 @@ void XRMResParser::Execute( int nToken, char * pToken )
sResourceType = OString ( "description" );
sLangAttribute = OString ( "lang" );
sCurrentOpenTag = rToken;
- sCurrentText = OString("");
+ sCurrentText = OString();
Output( rToken );
WorkOnDesc( sCurrentOpenTag, sCurrentText );
sCurrentCloseTag = rToken;
Output( sCurrentText );
- rToken = OString("");
- sCurrentText = OString("");
+ rToken = OString();
+ sCurrentText = OString();
}
}
break;