summaryrefslogtreecommitdiff
path: root/rsc
diff options
context:
space:
mode:
authorBrij Mohan Lal Srivastava <contactbrijmohan@gmail.com>2014-11-12 14:24:10 +0530
committerStephan Bergmann <sbergman@redhat.com>2014-11-14 09:20:38 +0100
commitd32be3ace8c8fd430bbecdf69f88a116b0ee91d1 (patch)
treeb373c084cb124434e0498867b24bc7bb333155dd /rsc
parentf5e86ebc097f0f8bc5b282511149cb026710ecde (diff)
fdo#86023 - O[U]String needs a 'clear' method
Added clear() method to OString and OUString class, Updated appropriate call-sites. Change-Id: I0ba97fa6dc7af3e31b605953089a4e8e9c3e61ac Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'rsc')
-rw-r--r--rsc/source/rsc/rsc.cxx2
-rw-r--r--rsc/source/tools/rschash.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/rsc/source/rsc/rsc.cxx b/rsc/source/rsc/rsc.cxx
index 5c37481d706a..4b48405b76cf 100644
--- a/rsc/source/rsc/rsc.cxx
+++ b/rsc/source/rsc/rsc.cxx
@@ -216,7 +216,7 @@ RscCmdLine::RscCmdLine( int argc, char ** argv, RscError * pEH )
}
else if( !rsc_stricmp( (*ppStr) + 1, "lg" ) )
{
- m_aOutputFiles.back().aLangName = OString();
+ m_aOutputFiles.back().aLangName.clear();
}
else if( !rsc_strnicmp( (*ppStr) + 1, "lg", 2 ) )
{
diff --git a/rsc/source/tools/rschash.cxx b/rsc/source/tools/rschash.cxx
index 652b804bcdb6..005c058916c0 100644
--- a/rsc/source/tools/rschash.cxx
+++ b/rsc/source/tools/rschash.cxx
@@ -23,7 +23,7 @@
AtomContainer::AtomContainer()
{
m_aStringToID[ OString() ] = 0;
- m_aIDToString[ 0 ] = OString();
+ m_aIDToString[ 0 ].clear();
m_nNextID = 1;
}