summaryrefslogtreecommitdiff
path: root/sfx2/source
diff options
context:
space:
mode:
authorJan Holesovsky <kendy@collabora.com>2015-06-30 16:28:27 +0200
committerAndras Timar <andras.timar@collabora.com>2015-08-06 12:53:03 +0200
commit4df549f69eb7466f7254cc3817fc0ea65ee4fd55 (patch)
tree4e756cb7a37fc86a2eaa57fafada991f68d6f1ad /sfx2/source
parente4293feedd792cb7f06f0a6f9a69f7d5020654af (diff)
tdf#90452: Remove the frame around the Help and Extension buttons.
Change-Id: I86d2daec6dcbd6af3a8da1b8329417bae46c8079 Reviewed-on: https://gerrit.libreoffice.org/16623 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sfx2/source')
-rw-r--r--sfx2/source/dialog/backingwindow.cxx14
-rw-r--r--sfx2/source/dialog/backingwindow.hxx4
2 files changed, 0 insertions, 18 deletions
diff --git a/sfx2/source/dialog/backingwindow.cxx b/sfx2/source/dialog/backingwindow.cxx
index 5430c7609643..e58505be0837 100644
--- a/sfx2/source/dialog/backingwindow.cxx
+++ b/sfx2/source/dialog/backingwindow.cxx
@@ -143,10 +143,6 @@ BackingWindow::BackingWindow( vcl::Window* i_pParent ) :
get(mpAllButtonsBox, "all_buttons_box");
get(mpButtonsBox, "buttons_box");
get(mpSmallButtonsBox, "small_buttons_box");
- get(mpThinBox1, "thin_box1");
- get(mpThinBox2, "thin_box2");
- get(mpHelpBox, "help_box");
- get(mpExtensionsBox, "extensions_box");
get(mpAllRecentThumbnails, "all_recent");
get(mpLocalView, "local_view");
@@ -233,10 +229,6 @@ void BackingWindow::dispose()
mpAllButtonsBox.clear();
mpButtonsBox.clear();
mpSmallButtonsBox.clear();
- mpThinBox1.clear();
- mpThinBox2.clear();
- mpHelpBox.clear();
- mpExtensionsBox.clear();
mpAllRecentThumbnails.clear();
mpLocalView.clear();
vcl::Window::dispose();
@@ -323,8 +315,6 @@ void BackingWindow::initControls()
mpAllButtonsBox->SetBackground(aButtonsBackground);
mpSmallButtonsBox->SetBackground(aButtonsBackground);
- mpHelpBox->SetBackground(aButtonsBackground);
- mpExtensionsBox->SetBackground(aButtonsBackground);
// motif image under the buttons
Wallpaper aWallpaper(get<FixedImage>("motif")->GetImage().GetBitmapEx());
@@ -333,10 +323,6 @@ void BackingWindow::initControls()
mpButtonsBox->SetBackground(aWallpaper);
- // thin white rectangle around the Help and Extensions buttons
- mpThinBox1->SetBackground(maButtonsTextColor);
- mpThinBox2->SetBackground(maButtonsTextColor);
-
Resize();
// compute the menubar height
diff --git a/sfx2/source/dialog/backingwindow.hxx b/sfx2/source/dialog/backingwindow.hxx
index 8ef01fb5d09e..c2c146220502 100644
--- a/sfx2/source/dialog/backingwindow.hxx
+++ b/sfx2/source/dialog/backingwindow.hxx
@@ -78,10 +78,6 @@ class BackingWindow : public vcl::Window, public VclBuilderContainer
VclPtr<VclBox> mpAllButtonsBox;
VclPtr<VclBox> mpButtonsBox;
VclPtr<VclBox> mpSmallButtonsBox;
- VclPtr<VclBox> mpThinBox1;
- VclPtr<VclBox> mpThinBox2;
- VclPtr<VclBox> mpHelpBox;
- VclPtr<VclBox> mpExtensionsBox;
VclPtr<RecentDocsView> mpAllRecentThumbnails;
VclPtr<TemplateDefaultView> mpLocalView;