summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorPetr Vorel <petr.vorel@gmail.com>2012-02-18 23:50:22 +0100
committerIvan Timofeev <timofeev.i.s@gmail.com>2012-02-19 14:42:10 +0400
commit37159db96ff0ce15b0b91502ba79a86f21a8f29a (patch)
tree2c1a767b0b38c62bb012267e65112c0bea6f6b28 /vcl
parentaf79fcb204efeafb48659ed4a97433b7e2cc2f84 (diff)
Remove unused code
Diffstat (limited to 'vcl')
-rw-r--r--vcl/inc/vcl/menu.hxx1
-rw-r--r--vcl/source/window/menu.cxx9
2 files changed, 0 insertions, 10 deletions
diff --git a/vcl/inc/vcl/menu.hxx b/vcl/inc/vcl/menu.hxx
index 209aef6aa873..dd7f5c12168d 100644
--- a/vcl/inc/vcl/menu.hxx
+++ b/vcl/inc/vcl/menu.hxx
@@ -399,7 +399,6 @@ class VCL_DLLPUBLIC MenuBar : public Menu
public:
MenuBar();
- MenuBar( const ResId& rResId );
MenuBar( const MenuBar& rMenu );
~MenuBar();
diff --git a/vcl/source/window/menu.cxx b/vcl/source/window/menu.cxx
index 11c7d04c833b..c8e31d22b1f4 100644
--- a/vcl/source/window/menu.cxx
+++ b/vcl/source/window/menu.cxx
@@ -3283,15 +3283,6 @@ MenuBar::MenuBar( const MenuBar& rMenu ) : Menu( sal_True )
bIsMenuBar = sal_True;
}
-MenuBar::MenuBar( const ResId& rResId ) : Menu ( sal_True )
-{
- mbDisplayable = sal_True;
- mbCloserVisible = sal_False;
- mbFloatBtnVisible = sal_False;
- mbHideBtnVisible = sal_False;
- ImplLoadRes( rResId );
-}
-
MenuBar::~MenuBar()
{
ImplDestroy( this, sal_True );