summaryrefslogtreecommitdiffstats
path: root/vcl/source/window
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/source/window')
-rw-r--r--vcl/source/window/builder.cxx2
-rw-r--r--vcl/source/window/menuitemlist.cxx2
-rw-r--r--vcl/source/window/winproc.cxx2
3 files changed, 3 insertions, 3 deletions
diff --git a/vcl/source/window/builder.cxx b/vcl/source/window/builder.cxx
index 9431819075b7..bac546eda43d 100644
--- a/vcl/source/window/builder.cxx
+++ b/vcl/source/window/builder.cxx
@@ -561,7 +561,7 @@ void VclBuilder::handleTranslations(xmlreader::XmlReader &reader)
}
if (res == xmlreader::XmlReader::RESULT_END)
- sID = OString();
+ sID.clear();
if (res == xmlreader::XmlReader::RESULT_DONE)
break;
diff --git a/vcl/source/window/menuitemlist.cxx b/vcl/source/window/menuitemlist.cxx
index 4fb7526982d8..d6b680adf6dd 100644
--- a/vcl/source/window/menuitemlist.cxx
+++ b/vcl/source/window/menuitemlist.cxx
@@ -115,7 +115,7 @@ void MenuItemList::InsertSeparator(const OString &rIdent, size_t nPos)
aSalMIData.eType = MenuItemType::SEPARATOR;
aSalMIData.nBits = MenuItemBits::NONE;
aSalMIData.pMenu = NULL;
- aSalMIData.aText = OUString();
+ aSalMIData.aText.clear();
aSalMIData.aImage = Image();
// Native-support: returns NULL if not supported
diff --git a/vcl/source/window/winproc.cxx b/vcl/source/window/winproc.cxx
index 6934ed233703..ce5bc24cb900 100644
--- a/vcl/source/window/winproc.cxx
+++ b/vcl/source/window/winproc.cxx
@@ -2184,7 +2184,7 @@ static void ImplHandleSurroundingTextRequest( vcl::Window *pWindow,
if ( !pChild )
{
- rText = OUString();
+ rText.clear();
rSelRange.setMin( 0 );
rSelRange.setMax( 0 );
}