diff options
Diffstat (limited to 'forms/source/solar/component/navbarcontrol.cxx')
-rw-r--r-- | forms/source/solar/component/navbarcontrol.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/forms/source/solar/component/navbarcontrol.cxx b/forms/source/solar/component/navbarcontrol.cxx index bc875876e0d3..d9816e8a0b7e 100644 --- a/forms/source/solar/component/navbarcontrol.cxx +++ b/forms/source/solar/component/navbarcontrol.cxx @@ -146,7 +146,7 @@ namespace frm ONavigationBarPeer* pPeer = ONavigationBarPeer::Create( m_xContext, pParentWin, getModel() ); DBG_ASSERT( pPeer, "ONavigationBarControl::createPeer: invalid peer returned!" ); if ( pPeer ) - // by definition, the returned component is aquired once + // by definition, the returned component is acquired once pPeer->release(); // announce the peer to the base class @@ -240,7 +240,7 @@ namespace frm // the peer itself ONavigationBarPeer* pPeer = new ONavigationBarPeer( _rxORB ); - pPeer->acquire(); // by definition, the returned object is aquired once + pPeer->acquire(); // by definition, the returned object is acquired once // the VCL control for the peer Reference< XModel > xContextDocument( getXModel( _rxModel ) ); |