diff options
Diffstat (limited to 'include/editeng/editeng.hxx')
-rw-r--r-- | include/editeng/editeng.hxx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/include/editeng/editeng.hxx b/include/editeng/editeng.hxx index a20c996be8bc..d30b3b00dca1 100644 --- a/include/editeng/editeng.hxx +++ b/include/editeng/editeng.hxx @@ -158,7 +158,7 @@ private: EditEngine( const EditEngine& ) = delete; EditEngine& operator=( const EditEngine& ) = delete; - EDITENG_DLLPRIVATE bool PostKeyEvent( const KeyEvent& rKeyEvent, EditView* pView, vcl::Window* pFrameWin = nullptr ); + EDITENG_DLLPRIVATE bool PostKeyEvent( const KeyEvent& rKeyEvent, EditView* pView, vcl::Window* pFrameWin ); EDITENG_DLLPRIVATE void CursorMoved(ContentNode* pPrevNode); EDITENG_DLLPRIVATE void CheckIdleFormatter(); @@ -227,7 +227,7 @@ public: void InsertView(EditView* pEditView, size_t nIndex = EE_APPEND); EditView* RemoveView( EditView* pEditView ); - void RemoveView(size_t nIndex = EE_APPEND); + void RemoveView(size_t nIndex); EditView* GetView(size_t nIndex = 0) const; size_t GetViewCount() const; bool HasView( EditView* pView ) const; @@ -326,7 +326,7 @@ public: void RemoveAttribs( const ESelection& rSelection, bool bRemoveParaAttribs, sal_uInt16 nWhich ); - void ShowParagraph( sal_Int32 nParagraph, bool bShow = true ); + void ShowParagraph( sal_Int32 nParagraph, bool bShow ); ::svl::IUndoManager& GetUndoManager(); ::svl::IUndoManager* SetUndoManager(::svl::IUndoManager* pNew); @@ -358,7 +358,7 @@ public: long GetFirstLineStartX( sal_Int32 nParagraph ); Point GetDocPosTopLeft( sal_Int32 nParagraph ); Point GetDocPos( const Point& rPaperPos ) const; - bool IsTextPos( const Point& rPaperPos, sal_uInt16 nBorder = 0 ); + bool IsTextPos( const Point& rPaperPos, sal_uInt16 nBorder ); // StartDocPos corresponds to VisArea.TopLeft(). void Draw( OutputDevice* pOutDev, const Rectangle& rOutRect ); @@ -395,7 +395,7 @@ public: void QuickDelete( const ESelection& rSel ); void QuickMarkToBeRepainted( sal_Int32 nPara ); - void SetGlobalCharStretching( sal_uInt16 nX = 100, sal_uInt16 nY = 100 ); + void SetGlobalCharStretching( sal_uInt16 nX, sal_uInt16 nY = 100 ); void GetGlobalCharStretching( sal_uInt16& rX, sal_uInt16& rY ) const; void SetEditTextObjectPool( SfxItemPool* pPool ); @@ -547,7 +547,7 @@ public: EditPaM CreateEditPaM(const EPaM& rEPaM); EditPaM ConnectParagraphs( - ContentNode* pLeft, ContentNode* pRight, bool bBackward = false); + ContentNode* pLeft, ContentNode* pRight, bool bBackward); EditPaM InsertField(const EditSelection& rEditSelection, const SvxFieldItem& rFld); EditPaM InsertText(const EditSelection& aCurEditSelection, const OUString& rStr); @@ -593,13 +593,13 @@ public: EditSelection MoveParagraphs(const Range& rParagraphs, sal_Int32 nNewPos, EditView* pCurView); void RemoveCharAttribs(sal_Int32 nPara, sal_uInt16 nWhich = 0, bool bRemoveFeatures = false); - void RemoveCharAttribs(const EditSelection& rSel, bool bRemoveParaAttribs, sal_uInt16 nWhich = 0); + void RemoveCharAttribs(const EditSelection& rSel, bool bRemoveParaAttribs, sal_uInt16 nWhich); ViewsType& GetEditViews(); const ViewsType& GetEditViews() const; void SetUndoMode(bool b); - void FormatAndUpdate(EditView* pCurView = nullptr); + void FormatAndUpdate(EditView* pCurView); void Undo(EditView* pView); void Redo(EditView* pView); |