Kaydet (Commit) ca015ac1 authored tarafından Noel Grandin's avatar Noel Grandin

convert formula::FormEditData from xub_StrLen->sal_Int32

Change-Id: I0127079ef3ee6bde8e36f2a83ef1f568b9f15568
üst c310019e
......@@ -371,7 +371,7 @@ void FormulaDlg_Impl::StoreFormEditData(FormEditData* pData)
{
if (pData) // it won't be destroyed via Close
{
pData->SetFStart((xub_StrLen)pMEdit->GetSelection().Min());
pData->SetFStart(pMEdit->GetSelection().Min());
pData->SetSelection(pMEdit->GetSelection());
if(aTabCtrl.GetCurPageId()==TP_FUNCTION)
......
......@@ -37,7 +37,7 @@ public:
sal_Bool HasParent() const { return pParent != NULL; }
inline sal_uInt16 GetMode() const { return nMode; }
inline xub_StrLen GetFStart() const { return nFStart; }
inline sal_Int32 GetFStart() const { return nFStart; }
inline sal_uInt16 GetCatSel() const { return nCatSel; }
inline sal_uInt16 GetFuncSel() const { return nFuncSel; }
inline sal_uInt16 GetOffset() const { return nOffset; }
......@@ -48,7 +48,7 @@ public:
inline const Selection& GetSelection()const { return aSelection;}
inline void SetMode( sal_uInt16 nNew ) { nMode = nNew; }
inline void SetFStart( xub_StrLen nNew ) { nFStart = nNew; }
inline void SetFStart( sal_Int32 nNew ) { nFStart = nNew; }
inline void SetCatSel( sal_uInt16 nNew ) { nCatSel = nNew; }
inline void SetFuncSel( sal_uInt16 nNew ) { nFuncSel = nNew; }
inline void SetOffset( sal_uInt16 nNew ) { nOffset = nNew; }
......@@ -65,7 +65,7 @@ protected:
FormEditData* pParent; // fuer Verschachtelung
private:
sal_uInt16 nMode; // enum ScFormulaDlgMode
xub_StrLen nFStart;
sal_Int32 nFStart;
sal_uInt16 nCatSel;
sal_uInt16 nFuncSel;
sal_uInt16 nOffset;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment