summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2014-11-06 08:40:49 +0200
committerTor Lillqvist <tml@collabora.com>2014-11-06 11:49:25 +0200
commite50bb871ecf32ab32f909ba3bbd528e0f941b46a (patch)
treea78206afd8528f2e985027235be6d7af9a4fa87b
parent97a74ee6b86532ac9c1f5c4b2d0d0a557e5ddb59 (diff)
Bin unnecessary variables
Doing .ui "manually" is not *that* verbose;) Change-Id: Ide50258174e86cc94975a33c5c0e5c663ae8d77c
-rw-r--r--sc/source/ui/optdlg/calcoptionsdlg.cxx15
-rw-r--r--sc/source/ui/optdlg/calcoptionsdlg.hxx15
2 files changed, 0 insertions, 30 deletions
diff --git a/sc/source/ui/optdlg/calcoptionsdlg.cxx b/sc/source/ui/optdlg/calcoptionsdlg.cxx
index e1de4369c56e..286cc7fffe1f 100644
--- a/sc/source/ui/optdlg/calcoptionsdlg.cxx
+++ b/sc/source/ui/optdlg/calcoptionsdlg.cxx
@@ -201,21 +201,6 @@ ScCalcOptionsDialog::ScCalcOptionsDialog(vcl::Window* pParent, const ScCalcConfi
maCaptionOpenCLBlackList = get<vcl::Window>("opencl_blacklist")->GetText();
maDescOpenCLBlackList = get<vcl::Window>("opencl_blacklist_desc")->GetText();
- maCaptionOS = get<vcl::Window>("oslabel")->GetText();
- maDescOS = get<vcl::Window>("os_desc")->GetText();
-
- maCaptionOSVersion = get<vcl::Window>("osversionlabel")->GetText();
- maDescOSVersion = get<vcl::Window>("osversion_desc")->GetText();
-
- maCaptionOpenCLVendor = get<vcl::Window>("openclvendorlabel")->GetText();
- maDescOpenCLVendor = get<vcl::Window>("openclvendor_desc")->GetText();
-
- maCaptionOpenCLDevice = get<vcl::Window>("opencldevicelabel")->GetText();
- maDescOpenCLDevice = get<vcl::Window>("opencldevice_desc")->GetText();
-
- maCaptionOpenCLDriverVersion = get<vcl::Window>("opencldriverversionlabel")->GetText();
- maDescOpenCLDriverVersion = get<vcl::Window>("opencldriverversion_desc")->GetText();
-
maSoftware = get<vcl::Window>("software")->GetText();
mpLbSettings->set_height_request(8 * mpLbSettings->GetTextHeight());
diff --git a/sc/source/ui/optdlg/calcoptionsdlg.hxx b/sc/source/ui/optdlg/calcoptionsdlg.hxx
index a4aa68441502..860f943ce139 100644
--- a/sc/source/ui/optdlg/calcoptionsdlg.hxx
+++ b/sc/source/ui/optdlg/calcoptionsdlg.hxx
@@ -129,21 +129,6 @@ private:
OUString maCaptionOpenCLBlackList;
OUString maDescOpenCLBlackList;
- OUString maCaptionOS;
- OUString maDescOS;
-
- OUString maCaptionOSVersion;
- OUString maDescOSVersion;
-
- OUString maCaptionOpenCLVendor;
- OUString maDescOpenCLVendor;
-
- OUString maCaptionOpenCLDevice;
- OUString maDescOpenCLDevice;
-
- OUString maCaptionOpenCLDriverVersion;
- OUString maDescOpenCLDriverVersion;
-
OUString maSoftware;
ScCalcConfig maConfig;