summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2019-09-12 12:00:30 +0200
committerMiklos Vajna <vmiklos@collabora.com>2019-09-12 15:48:09 +0200
commit483ed485ee3994621998b130f587a61a303c93a2 (patch)
treec0a0d65ff063904ed8366523e537adb91b8022f0
parent4a4adaebeeb2b116d88378b6ca7247fccbd3576a (diff)
chart2: add some doxygen comments from Marco's talk
See <https://conference.libreoffice.org/2019/program/schedule/sept-12th-thursday/>. Change-Id: I914cfd02934206ab20a5e7af43ec5698dd9d29dc Reviewed-on: https://gerrit.libreoffice.org/78829 Reviewed-by: Miklos Vajna <vmiklos@collabora.com> Tested-by: Jenkins
-rw-r--r--chart2/source/controller/inc/ChartWindow.hxx1
-rw-r--r--include/sfx2/lokcharthelper.hxx1
-rw-r--r--sw/source/uibase/uno/unotxdoc.cxx2
3 files changed, 3 insertions, 1 deletions
diff --git a/chart2/source/controller/inc/ChartWindow.hxx b/chart2/source/controller/inc/ChartWindow.hxx
index dc754a3651c9..a05db545bfd2 100644
--- a/chart2/source/controller/inc/ChartWindow.hxx
+++ b/chart2/source/controller/inc/ChartWindow.hxx
@@ -63,6 +63,7 @@ public:
virtual void Invalidate( InvalidateFlags nFlags = InvalidateFlags::NONE ) override;
virtual void Invalidate( const tools::Rectangle& rRect, InvalidateFlags nFlags = InvalidateFlags::NONE ) override;
virtual void Invalidate( const vcl::Region& rRegion, InvalidateFlags nFlags = InvalidateFlags::NONE ) override;
+ /// Notify the LOK client about an invalidated area.
virtual void LogicInvalidate( const tools::Rectangle* pRectangle ) override;
virtual css::uno::Reference< css::accessibility::XAccessible > CreateAccessible() override;
diff --git a/include/sfx2/lokcharthelper.hxx b/include/sfx2/lokcharthelper.hxx
index 85b0baf66e1a..2a921d0fa009 100644
--- a/include/sfx2/lokcharthelper.hxx
+++ b/include/sfx2/lokcharthelper.hxx
@@ -20,6 +20,7 @@ namespace com::sun::star::frame { class XDispatch; }
class SfxViewShell;
class VirtualDevice;
+/// A class for chart editing support via LibreOfficeKit.
class SFX2_DLLPUBLIC LokChartHelper
{
private:
diff --git a/sw/source/uibase/uno/unotxdoc.cxx b/sw/source/uibase/uno/unotxdoc.cxx
index 5b0239d177af..2759922dd303 100644
--- a/sw/source/uibase/uno/unotxdoc.cxx
+++ b/sw/source/uibase/uno/unotxdoc.cxx
@@ -3503,7 +3503,7 @@ void SwXTextDocument::postMouseEvent(int nType, int nX, int nY, int nCount, int
SwViewOption aOption(*(pWrtViewShell->GetViewOptions()));
double fScale = aOption.GetZoom() / (TWIPS_PER_PIXEL * 100.0);
- // check if user hit a chart which is being edited by him
+ // check if the user hit a chart which is being edited by this view
SfxViewShell* pViewShell = pDocShell->GetView();
LokChartHelper aChartHelper(pViewShell);
if (aChartHelper.postMouseEvent(nType, nX, nY,