summaryrefslogtreecommitdiff
path: root/sc/source/ui/inc/navipi.hxx
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2019-10-28 13:08:29 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2019-10-29 14:22:48 +0100
commit0ef5c47547bec6319b853326603f3b807407fe78 (patch)
treeced33b9ae621fa1cd807f8647a5149eed8bc743b /sc/source/ui/inc/navipi.hxx
parent07bde58988705ca45a619eb7a4e670a5d951abf6 (diff)
sc: rowcol: tdf#50916 convert core/tool
Change-Id: I0fe5a7ef4a79d0832802945ce1b9da4752f1d5fc Reviewed-on: https://gerrit.libreoffice.org/81598 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'sc/source/ui/inc/navipi.hxx')
-rw-r--r--sc/source/ui/inc/navipi.hxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/sc/source/ui/inc/navipi.hxx b/sc/source/ui/inc/navipi.hxx
index 40f28e091c03..a434df66e57f 100644
--- a/sc/source/ui/inc/navipi.hxx
+++ b/sc/source/ui/inc/navipi.hxx
@@ -112,9 +112,10 @@ class ColumnEdit : public SpinField
public:
ColumnEdit(Window* pParent, WinBits nWinBits);
~ColumnEdit() override;
- void SetNavigatorDlg(ScNavigatorDlg *pNaviDlg)
+ void SetNavigatorDlg(ScNavigatorDlg *pNaviDlg, const ScDocument* pDoc)
{
xDlg = pNaviDlg;
+ mpDoc = pDoc;
}
SCCOL GetCol() const { return nCol; }
void SetCol( SCCOL nColNo );
@@ -129,12 +130,13 @@ protected:
virtual void dispose() override;
private:
+ const ScDocument* mpDoc;
VclPtr<ScNavigatorDlg> xDlg;
SCCOL nCol;
void EvalText();
void ExecuteCol();
- static SCCOL AlphaToNum ( OUString& rStr );
+ static SCCOL AlphaToNum ( const ScDocument* pDoc, OUString& rStr );
static SCCOL NumStrToAlpha ( OUString& rStr );
static SCCOL NumToAlpha ( SCCOL nColNo, OUString& rStr );
};