[Libreoffice-commits] core.git: chart2/source include/sfx2 sw/source
Miklos Vajna (via logerrit)
logerrit at kemper.freedesktop.org
Thu Sep 12 13:48:52 UTC 2019
chart2/source/controller/inc/ChartWindow.hxx | 1 +
include/sfx2/lokcharthelper.hxx | 1 +
sw/source/uibase/uno/unotxdoc.cxx | 2 +-
3 files changed, 3 insertions(+), 1 deletion(-)
New commits:
commit 483ed485ee3994621998b130f587a61a303c93a2
Author: Miklos Vajna <vmiklos at collabora.com>
AuthorDate: Thu Sep 12 12:00:30 2019 +0200
Commit: Miklos Vajna <vmiklos at collabora.com>
CommitDate: Thu Sep 12 15:48:09 2019 +0200
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 at collabora.com>
Tested-by: Jenkins
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,
More information about the Libreoffice-commits
mailing list