diff options
Diffstat (limited to 'forms/source/richtext')
-rw-r--r-- | forms/source/richtext/richtextcontrol.cxx | 4 | ||||
-rw-r--r-- | forms/source/richtext/richtextcontrol.hxx | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/forms/source/richtext/richtextcontrol.cxx b/forms/source/richtext/richtextcontrol.cxx index 44829c67fafc..f18fec8a8eca 100644 --- a/forms/source/richtext/richtextcontrol.cxx +++ b/forms/source/richtext/richtextcontrol.cxx @@ -216,7 +216,7 @@ namespace frm DBG_ASSERT( pPeer, "ORichTextControl::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 @@ -316,7 +316,7 @@ namespace frm // the peer itself ORichTextPeer* pPeer = new ORichTextPeer; - 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 RichTextControl* pRichTextControl = new RichTextControl( pEngine, _pParentWindow, _nStyle, NULL, pPeer ); diff --git a/forms/source/richtext/richtextcontrol.hxx b/forms/source/richtext/richtextcontrol.hxx index ba719cb949cc..e6853916d8db 100644 --- a/forms/source/richtext/richtextcontrol.hxx +++ b/forms/source/richtext/richtextcontrol.hxx @@ -100,7 +100,7 @@ namespace frm public: /** factory method @return - a new ORichTextPeer instance, which has been aquired once! + a new ORichTextPeer instance, which has been acquired once! */ static ORichTextPeer* Create( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XControlModel >& _rxModel, |