summaryrefslogtreecommitdiff
path: root/vcl/unx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-02-27 10:26:59 +0100
committerStephan Bergmann <sbergman@redhat.com>2015-02-27 10:26:59 +0100
commit05caf43ff5e78bbc0e672be1547fd1ef098d02bd (patch)
treef5234aebff458b7c79fd3ae9d35fa297288f7532 /vcl/unx
parentf0aa1a78fb209310e8baef53c02f365fca518d11 (diff)
Remove unused mpOldSalMenu
...added in 34504e4af678b52b6d6cfe7519ee1934f89c95dd "Chart menu works now" but never read? Change-Id: Ie756f831eda6bbb9ac0edb14758e097e30a9be6a
Diffstat (limited to 'vcl/unx')
-rw-r--r--vcl/unx/gtk/window/gtksalmenu.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/vcl/unx/gtk/window/gtksalmenu.cxx b/vcl/unx/gtk/window/gtksalmenu.cxx
index 6a3a7b005e43..8448a91fd9e4 100644
--- a/vcl/unx/gtk/window/gtksalmenu.cxx
+++ b/vcl/unx/gtk/window/gtksalmenu.cxx
@@ -393,7 +393,6 @@ void GtkSalMenu::UpdateFull()
GtkSalMenu::GtkSalMenu( bool bMenuBar ) :
mbMenuBar( bMenuBar ),
mpVCLMenu( NULL ),
- mpOldSalMenu( NULL ),
mpParentSalMenu( NULL ),
mpFrame( NULL ),
mpMenuModel( NULL ),
@@ -509,7 +508,6 @@ void GtkSalMenu::SetFrame( const SalFrame* pFrame )
// if we had a menu on the GtkSalMenu we have to free it as we generate a
// full menu anyway and we might need to reuse an existing model and
// actiongroup
- mpOldSalMenu = static_cast< GtkSalMenu* >( pFrameNonConst->GetMenu() );
pFrameNonConst->SetMenu( this );
pFrameNonConst->EnsureAppMenuWatch();