[Libreoffice-commits] core.git: editeng/source

Mike Kaganski (via logerrit) logerrit at kemper.freedesktop.org
Tue Aug 17 08:46:26 UTC 2021


 editeng/source/editeng/impedit.hxx |    8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

New commits:
commit d3a94eeabbd33cb2bb43856f0d1d93202b204b5e
Author:     Mike Kaganski <mike.kaganski at collabora.com>
AuthorDate: Tue Aug 17 08:39:30 2021 +0200
Commit:     Mike Kaganski <mike.kaganski at collabora.com>
CommitDate: Tue Aug 17 10:45:53 2021 +0200

    Make IdleFormatAndUpdate private
    
    Change-Id: Ifecc0653de27bbc0cf483147c87a11d5cd307090
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120574
    Tested-by: Jenkins
    Reviewed-by: Mike Kaganski <mike.kaganski at collabora.com>

diff --git a/editeng/source/editeng/impedit.hxx b/editeng/source/editeng/impedit.hxx
index e138fa532f32..33504968bf18 100644
--- a/editeng/source/editeng/impedit.hxx
+++ b/editeng/source/editeng/impedit.hxx
@@ -787,6 +787,8 @@ private:
 
     tools::Long Calc1ColumnTextHeight(tools::Long* pHeightNTP);
 
+    void IdleFormatAndUpdate(EditView* pCurView) { aIdleFormatter.DoIdleFormat(pCurView); }
+
 protected:
     virtual void            Notify( SfxBroadcaster& rBC, const SfxHint& rHint ) override;
 
@@ -953,7 +955,6 @@ public:
     const Link<EENotify&,void>&   GetNotifyHdl() const            { return aNotifyHdl; }
 
     void            FormatAndUpdate( EditView* pCurView = nullptr, bool bCalledFromUndo = false );
-    inline void     IdleFormatAndUpdate( EditView* pCurView );
 
     const svtools::ColorConfig& GetColorConfig() const { return maColorConfig; }
     bool            IsVisualCursorTravelingEnabled();
@@ -1229,11 +1230,6 @@ inline VirtualDevice* ImpEditEngine::GetVirtualDevice( const MapMode& rMapMode,
     return pVirtDev;
 }
 
-inline void ImpEditEngine::IdleFormatAndUpdate( EditView* pCurView )
-{
-    aIdleFormatter.DoIdleFormat( pCurView );
-}
-
 inline EditUndoManager& ImpEditEngine::GetUndoManager()
 {
     if ( !pUndoManager )


More information about the Libreoffice-commits mailing list