summaryrefslogtreecommitdiffstats
path: root/cui/source/options/optopencl.cxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-12-18 13:21:49 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-12-18 14:12:24 +0100
commit43e4b96e8ecab707803fa5083a53437d6f799444 (patch)
tree783455cb0ed0c01fece4d86d2f7f3b5f85a8c08a /cui/source/options/optopencl.cxx
parentconnectivity: Use appropriate OUString functions on string constants (diff)
downloadcore-43e4b96e8ecab707803fa5083a53437d6f799444.tar.gz
core-43e4b96e8ecab707803fa5083a53437d6f799444.zip
cui: Use appropriate OUString functions on string constants
Change-Id: I126c587777b7183dfbd9c60cfb0a6a980332a295
Diffstat (limited to 'cui/source/options/optopencl.cxx')
-rw-r--r--cui/source/options/optopencl.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/cui/source/options/optopencl.cxx b/cui/source/options/optopencl.cxx
index 2c3e94ede87a..179edf85718f 100644
--- a/cui/source/options/optopencl.cxx
+++ b/cui/source/options/optopencl.cxx
@@ -164,7 +164,7 @@ ListEntryDialog::ListEntryDialog(vcl::Window* pParent, const OpenCLConfig::ImplM
get(mpDriverVersion, "driverversion");
// Hardcode knowledge that entry 0 is the "Any"
- if (maEntry.maOS == "")
+ if (maEntry.maOS.isEmpty())
{
mpOS->SelectEntryPos(0, false);
}
@@ -195,7 +195,7 @@ IMPL_LINK(ListEntryDialog, OSSelectHdl, ListBox*, pListBox)
if (pListBox == mpOS)
{
if (mpOS->GetSelectEntryPos() == 0)
- maEntry.maOS = "";
+ maEntry.maOS.clear();
else
maEntry.maOS = mpOS->GetEntry(mpOS->GetSelectEntryPos());
}