summaryrefslogtreecommitdiff
path: root/framework
diff options
context:
space:
mode:
authorVladimir Glazunov <vg@openoffice.org>2009-12-10 18:00:39 +0100
committerVladimir Glazunov <vg@openoffice.org>2009-12-10 18:00:39 +0100
commit2efe116f872503f423caa902857932fdacac4b04 (patch)
treebf43f5d787ce8c6e3187fa699da81d3aba1582c5 /framework
parent4443370e8e3e49f32394a765c25148891799be2e (diff)
parentcd613532c9a147e4b02c1bbc6c7fe84949c691b5 (diff)
CWS-TOOLING: integrate CWS os137
Diffstat (limited to 'framework')
-rw-r--r--framework/source/uielement/langselectionstatusbarcontroller.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/source/uielement/langselectionstatusbarcontroller.cxx b/framework/source/uielement/langselectionstatusbarcontroller.cxx
index dd8f66337720..3a92fa7848b1 100644
--- a/framework/source/uielement/langselectionstatusbarcontroller.cxx
+++ b/framework/source/uielement/langselectionstatusbarcontroller.cxx
@@ -337,7 +337,7 @@ void LangSelectionStatusbarController::LangMenu()throw (::com::sun::star::uno::R
mRectangle.Y = mMousePos.Y();
sal_Int16 nId = xPopupMenu->execute( xParent, mRectangle, com::sun::star::awt::PopupMenuDirection::EXECUTE_UP+16 );
//click "More..."
- if ( m_xFrame.is() )
+ if ( nId && m_xFrame.is() )
{
uno::Reference< XDispatchProvider > xDispatchProvider( m_xFrame, UNO_QUERY );
util::URL aURL;