summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2020-07-29 21:05:27 +0100
committerAndras Timar <andras.timar@collabora.com>2020-08-02 10:32:49 +0200
commitc1d6f8458eaeeeb09479f88cb2a80f39464cdc1b (patch)
tree4fef450ebee7291608bc1d193fa4342c33b192ff /sc/source/ui/inc
parent286869724f12b335066ec380d98dc3416ebe88df (diff)
rhbz#1861794 csv fixed width import missing split handle
regression from... commit 1e97ca02773e2ba968606eed61d25d88f0d7e417 Author: Caolán McNamara <caolanm@redhat.com> Date: Mon Oct 14 11:05:07 2019 +0100 EndMouseTracking was left uncalled Change-Id: Ia952addac585737c3d3aa4fd68d772c3acbae848 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99733 Tested-by: Jenkins Reviewed-by: Eike Rathke <erack@redhat.com>
Diffstat (limited to 'sc/source/ui/inc')
-rw-r--r--sc/source/ui/inc/csvruler.hxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/sc/source/ui/inc/csvruler.hxx b/sc/source/ui/inc/csvruler.hxx
index 32d72ef93b8f..0913ac09271f 100644
--- a/sc/source/ui/inc/csvruler.hxx
+++ b/sc/source/ui/inc/csvruler.hxx
@@ -137,9 +137,8 @@ private:
void StartMouseTracking( sal_Int32 nPos );
/** Moves tracking to a new position. */
void MoveMouseTracking( sal_Int32 nPos );
- /** Applies tracking action for the current tracking position.
- @param bApply sal_True = apply action, sal_False = cancel action. */
- void EndMouseTracking( bool bApply );
+ /** Applies tracking action for the current tracking position */
+ void EndMouseTracking();
// painting ---------------------------------------------------------------
protected:
@@ -154,6 +153,8 @@ private:
sal_Int32 GetWidth() const { return maWinSize.Width(); }
/** Returns the height of the control. */
sal_Int32 GetHeight() const { return maWinSize.Height(); }
+ /** Update the split size depending on the last width set by CSVCMD_SETCHARWIDTH */
+ void UpdateSplitSize();
/** Draws the background and active area to maBackgrDev (only the given X range). */
void ImplDrawArea( sal_Int32 nPosX, sal_Int32 nWidth );