From d8acb8300eaf5cee6d6445722e12221cfc4059a4 Mon Sep 17 00:00:00 2001 From: "Thomas Lange [tl]" Date: Mon, 11 Jan 2010 13:22:59 +0100 Subject: [PATCH] cws tl74: build errors --- .../source/uielement/langselectionstatusbarcontroller.cxx | 6 +++--- framework/util/makefile.mk | 1 + linguistic/source/dlistimp.cxx | 2 -- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/framework/source/uielement/langselectionstatusbarcontroller.cxx b/framework/source/uielement/langselectionstatusbarcontroller.cxx index a2a3a02877ca..eb2832c1216e 100644 --- a/framework/source/uielement/langselectionstatusbarcontroller.cxx +++ b/framework/source/uielement/langselectionstatusbarcontroller.cxx @@ -278,9 +278,9 @@ throw (::com::sun::star::uno::RuntimeException) com::sun::star::awt::Rectangle aRectangle; Window* pWindow = VCLUnoHelper::GetWindow( m_xParentWindow ); const Point mMousePos = pWindow->GetPointerPosPixel(); - mRectangle.X = mMousePos.X(); - mRectangle.Y = mMousePos.Y(); - sal_Int16 nId = xPopupMenu->execute( xParent, mRectangle, com::sun::star::awt::PopupMenuDirection::EXECUTE_UP+16 ); + aRectangle.X = mMousePos.X(); + aRectangle.Y = mMousePos.Y(); + sal_Int16 nId = xPopupMenu->execute( xParent, aRectangle, com::sun::star::awt::PopupMenuDirection::EXECUTE_UP+16 ); //click "More..." if ( nId && m_xFrame.is() ) { diff --git a/framework/util/makefile.mk b/framework/util/makefile.mk index 7c39001f683f..c32f5c7d9e78 100644 --- a/framework/util/makefile.mk +++ b/framework/util/makefile.mk @@ -120,6 +120,7 @@ SHL1STDLIBS= \ $(CPPUHELPERLIB) \ $(TOOLSLIB) \ $(SVTOOLLIB) \ + $(SVLLIB) \ $(I18NISOLANGLIB) \ $(VOSLIB) \ $(VCLLIB) \ diff --git a/linguistic/source/dlistimp.cxx b/linguistic/source/dlistimp.cxx index 17fd29b05923..aad11a33dc13 100644 --- a/linguistic/source/dlistimp.cxx +++ b/linguistic/source/dlistimp.cxx @@ -34,8 +34,6 @@ #include #include #include -#include -#include #include #include #include