From 3c1e30b77df4f34c4954bff37a08439ace7f2434 Mon Sep 17 00:00:00 2001 From: Chris Laplante Date: Wed, 14 May 2014 14:15:38 -0400 Subject: Correct common misspellings, and remove some ASCII art along the way. Change-Id: I42787db31769e8bde984c5f4f0aa90335e889b1c Reviewed-on: https://gerrit.libreoffice.org/9356 Reviewed-by: Thomas Arnhold Tested-by: LibreOffice gerrit bot --- include/sfx2/viewsh.hxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include/sfx2') diff --git a/include/sfx2/viewsh.hxx b/include/sfx2/viewsh.hxx index a8c3c3214a25..13eb515e9016 100644 --- a/include/sfx2/viewsh.hxx +++ b/include/sfx2/viewsh.hxx @@ -232,6 +232,7 @@ public: virtual void QueryObjAreaPixel( Rectangle& rRect ) const; virtual SfxObjectShell* GetObjectShell() SAL_OVERRIDE; + /** retrieves the document which shall be considered the "current document" when the frame is active The default implementation simply returns the XModel of the associated SfxObjectShell. You will rarely @@ -239,6 +240,7 @@ public: */ virtual ::com::sun::star::uno::Reference< ::com::sun::star::frame::XModel > GetCurrentDocument() const; + /** forwards the current document, as returned by ->GetCurrentDocument, to SfxObjectShell::SetWorkingDocument */ void SetCurrentDocument() const; @@ -316,7 +318,7 @@ inline void SfxViewShell::LostFocus() const [Note] - unfortunatly does not provide the possibility to define + unfortunately does not provide the possibility to define such events 'from the side'. */ -- cgit