diff options
author | Kurt Zenker <kz@openoffice.org> | 2008-06-26 10:28:57 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2008-06-26 10:28:57 +0000 |
commit | 15bcde12608fbee999284fc6cc5c08e6af05b7b8 (patch) | |
tree | 7c8d1b6603586174f4e82d534e5475af2384b64d /reportdesign | |
parent | c71694d2b1fbe2484a62099ac8751a8ab1a87e58 (diff) |
#i10000# builderrors fixes
Diffstat (limited to 'reportdesign')
-rw-r--r-- | reportdesign/source/ui/report/dlgedfunc.cxx | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/reportdesign/source/ui/report/dlgedfunc.cxx b/reportdesign/source/ui/report/dlgedfunc.cxx index 7b6e984d6a59..bcc0f81aaa1a 100644 --- a/reportdesign/source/ui/report/dlgedfunc.cxx +++ b/reportdesign/source/ui/report/dlgedfunc.cxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: dlgedfunc.cxx,v $ - * $Revision: 1.10 $ + * $Revision: 1.11 $ * * This file is part of OpenOffice.org. * @@ -426,10 +426,10 @@ void DlgEdFunc::activateOle(SdrObject* _pObj) { pOleObj->GetObjRef()->changeState( embed::EmbedStates::UI_ACTIVE ); m_bUiActive = true; - OReportController* pController = m_pParent->getViewsWindow()->getView()->getReportView()->getController(); - m_bShowPropertyBrowser = pController->isCommandChecked(SID_SHOW_PROPERTYBROWSER); + OReportController& rController = m_pParent->getViewsWindow()->getView()->getReportView()->getController(); + m_bShowPropertyBrowser = rController.isCommandChecked(SID_SHOW_PROPERTYBROWSER); if ( m_bShowPropertyBrowser ) - pController->executeChecked(SID_SHOW_PROPERTYBROWSER,uno::Sequence< beans::PropertyValue >()); + rController.executeChecked(SID_SHOW_PROPERTYBROWSER,uno::Sequence< beans::PropertyValue >()); } catch( uno::Exception& ) { @@ -457,8 +457,8 @@ void DlgEdFunc::deactivateOle(bool _bSelect) m_bUiActive = false; if ( m_bShowPropertyBrowser ) { - OReportController* pController = m_pParent->getViewsWindow()->getView()->getReportView()->getController(); - pController->executeChecked(SID_SHOW_PROPERTYBROWSER,uno::Sequence< beans::PropertyValue >()); + OReportController& rController = m_pParent->getViewsWindow()->getView()->getReportView()->getController(); + rController.executeChecked(SID_SHOW_PROPERTYBROWSER,uno::Sequence< beans::PropertyValue >()); } if ( _bSelect ) @@ -739,7 +739,7 @@ BOOL DlgEdFuncInsert::MouseButtonUp( const MouseEvent& rMEvt ) OOle2Obj* pObj = dynamic_cast<OOle2Obj*>(pMark->GetMarkedSdrObj()); if ( pObj && !pObj->IsEmpty() ) { - pObj->initializeChart(pController->getModel()); + pObj->initializeChart(rController.getModel()); } } } |