Kaydet (Commit) 5fc7d19d authored tarafından Rüdiger Timm's avatar Rüdiger Timm

INTEGRATION: CWS oj14 (1.102.4); FILE MERGED

2007/06/04 18:57:13 oj 1.102.4.8: RESYNC: (1.108-1.109); FILE MERGED
2007/02/20 20:44:17 oj 1.102.4.7: mere conflict
2007/02/20 15:51:45 oj 1.102.4.6: RESYNC: (1.107-1.108); FILE MERGED
2006/12/21 12:30:03 oj 1.102.4.5: impl selectionSupplier
2006/12/18 16:24:53 oj 1.102.4.4: RESYNC: (1.106-1.107); FILE MERGED
2006/11/07 09:46:54 oj 1.102.4.3: RESYNC: (1.104-1.106); FILE MERGED
2006/07/04 08:21:10 oj 1.102.4.2: RESYNC: (1.102-1.104); FILE MERGED
2006/01/03 07:49:25 oj 1.102.4.1: changed module client
üst 3fbd54a4
...@@ -4,9 +4,9 @@ ...@@ -4,9 +4,9 @@
* *
* $RCSfile: querycontroller.cxx,v $ * $RCSfile: querycontroller.cxx,v $
* *
* $Revision: 1.109 $ * $Revision: 1.110 $
* *
* last change: $Author: rt $ $Date: 2007-04-26 08:02:57 $ * last change: $Author: rt $ $Date: 2007-07-06 08:40:51 $
* *
* The Contents of this file are made available subject to * The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1. * the terms of GNU Lesser General Public License Version 2.1.
...@@ -461,6 +461,8 @@ void OQueryController::deleteIterator() ...@@ -461,6 +461,8 @@ void OQueryController::deleteIterator()
// ----------------------------------------------------------------------------- // -----------------------------------------------------------------------------
void OQueryController::disposing() void OQueryController::disposing()
{ {
OQueryController_PBase::disposing();
deleteIterator(); deleteIterator();
delete m_pParseContext; delete m_pParseContext;
...@@ -816,11 +818,7 @@ void OQueryController::impl_initialize() ...@@ -816,11 +818,7 @@ void OQueryController::impl_initialize()
m_bDesign = sal_False; m_bDesign = sal_False;
if(m_bCreateView) if(m_bCreateView)
{ {
{ connectionLostMessage();
String aMessage(ModuleRes(RID_STR_CONNECTION_LOST));
ODataView* pWindow = getView();
InfoBox(pWindow, aMessage).Execute();
}
throw SQLException(); throw SQLException();
} }
} }
...@@ -854,18 +852,6 @@ void OQueryController::impl_initialize() ...@@ -854,18 +852,6 @@ void OQueryController::impl_initialize()
try try
{ {
if(!m_xFormatter.is() && haveDataSource())
{
Reference< XNumberFormatsSupplier> xSupplier;
::cppu::extractInterface(xSupplier, getDataSource()->getPropertyValue(PROPERTY_NUMBERFORMATSSUPPLIER));
if(xSupplier.is())
{
m_xFormatter = Reference< ::com::sun::star::util::XNumberFormatter >(getORB()
->createInstance(::rtl::OUString::createFromAscii("com.sun.star.util.NumberFormatter")), UNO_QUERY);
m_xFormatter->attachNumberFormatsSupplier(xSupplier);
}
OSL_ENSURE(m_xFormatter.is(),"No NumberFormatter!");
}
getContainer()->initialize(); getContainer()->initialize();
resetImpl(); resetImpl();
switchDesignModeImpl(this,getContainer(),m_bDesign); switchDesignModeImpl(this,getContainer(),m_bDesign);
...@@ -955,7 +941,7 @@ sal_Bool OQueryController::Construct(Window* pParent) ...@@ -955,7 +941,7 @@ sal_Bool OQueryController::Construct(Window* pParent)
{ {
// TODO: we have to check if we should create the text- or the design- view // TODO: we have to check if we should create the text- or the design- view
m_pView = new OQueryContainerWindow(pParent,this,m_xMultiServiceFacatory); m_pView = new OQueryContainerWindow(pParent,this,getORB());
return OJoinController::Construct(pParent); return OJoinController::Construct(pParent);
} }
...@@ -1683,6 +1669,7 @@ bool OQueryController::allowQueries() const ...@@ -1683,6 +1669,7 @@ bool OQueryController::allowQueries() const
return !bCreatingView; return !bCreatingView;
} }
// -----------------------------------------------------------------------------
// ----------------------------------------------------------------------------- // -----------------------------------------------------------------------------
} // namespace dbaui } // namespace dbaui
// ----------------------------------------------------------------------------- // -----------------------------------------------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment