shell/source/unix/sysshell/recently_used_file_handler.cxx            |    4 
++--
 slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionImpl.cxx |    4 
++--
 slideshow/source/engine/animationnodes/animationpathmotionnode.cxx   |    2 +-
 slideshow/source/engine/animationnodes/animationtransformnode.cxx    |    2 +-
 slideshow/source/engine/animationnodes/basecontainernode.cxx         |    2 +-
 slideshow/source/engine/animationnodes/basecontainernode.hxx         |    2 +-
 slideshow/source/engine/animationnodes/propertyanimationnode.cxx     |    6 
+++---
 slideshow/source/engine/rehearsetimingsactivity.cxx                  |    2 +-
 slideshow/source/inc/animationfactory.hxx                            |   10 
+++++-----
 slideshow/source/inc/screenupdater.hxx                               |    2 +-
 sot/source/sdstor/stg.cxx                                            |    2 +-
 sot/source/sdstor/stgdir.cxx                                         |    2 +-
 sot/source/sdstor/stgdir.hxx                                         |    6 
+++---
 sot/source/sdstor/ucbstorage.cxx                                     |    4 
++--
 starmath/inc/edit.hxx                                                |    2 +-
 starmath/inc/node.hxx                                                |    2 +-
 starmath/inc/view.hxx                                                |    2 +-
 starmath/source/edit.cxx                                             |    4 
++--
 starmath/source/mathtype.cxx                                         |    4 
++--
 starmath/source/mathtype.hxx                                         |    6 
+++---
 starmath/source/node.cxx                                             |    2 +-
 starmath/source/ooxmlexport.hxx                                      |    2 +-
 starmath/source/rtfexport.hxx                                        |    2 +-
 starmath/source/visitors.cxx                                         |    2 +-
 starmath/source/wordexportbase.cxx                                   |    2 +-
 starmath/source/wordexportbase.hxx                                   |    2 +-
 26 files changed, 41 insertions(+), 41 deletions(-)

New commits:
commit 069d71b72566a0b8f234304d3bd4511ee86b6c60
Author: Noel Grandin <n...@peralex.com>
Date:   Fri Jul 29 10:40:50 2016 +0200

    loplugin:countusersofdefaultparams in shell..starmath
    
    Change-Id: I553d1b031b8d261a1caa8b77a8d687af21a6f8d6
    Reviewed-on: https://gerrit.libreoffice.org/27672
    Tested-by: Jenkins <c...@libreoffice.org>
    Reviewed-by: Noel Grandin <noelgran...@gmail.com>

diff --git a/shell/source/unix/sysshell/recently_used_file_handler.cxx 
b/shell/source/unix/sysshell/recently_used_file_handler.cxx
index cf399b1..eda1f1a 100644
--- a/shell/source/unix/sysshell/recently_used_file_handler.cxx
+++ b/shell/source/unix/sysshell/recently_used_file_handler.cxx
@@ -167,7 +167,7 @@ namespace /* private */ {
 
         void write_xml_tag(const string_t& name, const string_t& value, const 
recently_used_file& file) const
         {
-            write_xml_start_tag(name, file);
+            write_xml_start_tag(name, file, false);
             OString escaped = escape_content (value);
             file.write(escaped.getStr(), escaped.getLength());
             write_xml_end_tag(name, file);
@@ -180,7 +180,7 @@ namespace /* private */ {
             file.write("/>\n", 3);
         }
 
-        void write_xml_start_tag(const string_t& name, const 
recently_used_file& file, bool linefeed = false) const
+        void write_xml_start_tag(const string_t& name, const 
recently_used_file& file, bool linefeed) const
         {
             file.write("<", 1);
             file.write(name.c_str(), name.length());
diff --git 
a/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionImpl.cxx 
b/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionImpl.cxx
index 02cf96d..35845c2 100644
--- a/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionImpl.cxx
+++ b/slideshow/source/engine/OGLTrans/generic/OGLTrans_TransitionImpl.cxx
@@ -2028,7 +2028,7 @@ void GlitterTransition::finish( double, double, double, 
double, double )
 std::shared_ptr<OGLTransitionImpl>
 makeGlitterTransition(const Primitives_t& rLeavingSlidePrimitives,
                       const Primitives_t& rEnteringSlidePrimitives,
-                      const TransitionSettings& rSettings = 
TransitionSettings())
+                      const TransitionSettings& rSettings)
 {
     return 
std::make_shared<GlitterTransition>(TransitionScene(rLeavingSlidePrimitives, 
rEnteringSlidePrimitives),
                                                rSettings);
@@ -2051,7 +2051,7 @@ std::shared_ptr<OGLTransitionImpl> makeGlitter()
 
     aSlide.push_back(aHexagon);
 
-    return makeGlitterTransition(aSlide, aEmptySlide);
+    return makeGlitterTransition(aSlide, aEmptySlide, TransitionSettings());
 }
 
 namespace
diff --git a/slideshow/source/engine/animationnodes/animationpathmotionnode.cxx 
b/slideshow/source/engine/animationnodes/animationpathmotionnode.cxx
index 5831fb2..3f83042 100644
--- a/slideshow/source/engine/animationnodes/animationpathmotionnode.cxx
+++ b/slideshow/source/engine/animationnodes/animationpathmotionnode.cxx
@@ -44,7 +44,7 @@ AnimationActivitySharedPtr 
AnimationPathMotionNode::createActivity() const
             mxPathMotionNode->getAdditive(),
             getShape(),
             getContext().mpSubsettableShapeManager,
-            getSlideSize() ),
+            getSlideSize(), 0 ),
         true );
 }
 
diff --git a/slideshow/source/engine/animationnodes/animationtransformnode.cxx 
b/slideshow/source/engine/animationnodes/animationtransformnode.cxx
index ee451ea..bc9c864 100644
--- a/slideshow/source/engine/animationnodes/animationtransformnode.cxx
+++ b/slideshow/source/engine/animationnodes/animationtransformnode.cxx
@@ -59,7 +59,7 @@ AnimationActivitySharedPtr 
AnimationTransformNode::createActivity() const
                 rShape,
                 getContext().mpSubsettableShapeManager,
                 getSlideSize(),
-                nTransformType ),
+                nTransformType, 0 ),
             getXAnimateNode() );
 
     case animations::AnimationTransformType::ROTATE:
diff --git a/slideshow/source/engine/animationnodes/basecontainernode.cxx 
b/slideshow/source/engine/animationnodes/basecontainernode.cxx
index 229e26d..83f72a9 100644
--- a/slideshow/source/engine/animationnodes/basecontainernode.cxx
+++ b/slideshow/source/engine/animationnodes/basecontainernode.cxx
@@ -47,7 +47,7 @@ BaseContainerNode::BaseContainerNode(
 
 void BaseContainerNode::dispose()
 {
-    forEachChildNode( std::mem_fn(&Disposable::dispose) );
+    forEachChildNode( std::mem_fn(&Disposable::dispose), -1 );
     maChildren.clear();
     BaseNode::dispose();
 }
diff --git a/slideshow/source/engine/animationnodes/basecontainernode.hxx 
b/slideshow/source/engine/animationnodes/basecontainernode.hxx
index cc65be6..b36f7f5 100644
--- a/slideshow/source/engine/animationnodes/basecontainernode.hxx
+++ b/slideshow/source/engine/animationnodes/basecontainernode.hxx
@@ -70,7 +70,7 @@ protected:
 
     template <typename FuncT>
     inline void forEachChildNode( FuncT func,
-                                  int nodeStateMask = -1 ) const
+                                  int nodeStateMask ) const
     {
         VectorOfNodes::const_iterator iPos( maChildren.begin() );
         VectorOfNodes::const_iterator const iEnd( maChildren.end() );
diff --git a/slideshow/source/engine/animationnodes/propertyanimationnode.cxx 
b/slideshow/source/engine/animationnodes/propertyanimationnode.cxx
index 68bf649..e768572 100644
--- a/slideshow/source/engine/animationnodes/propertyanimationnode.cxx
+++ b/slideshow/source/engine/animationnodes/propertyanimationnode.cxx
@@ -59,7 +59,7 @@ AnimationActivitySharedPtr 
PropertyAnimationNode::createActivity() const
                 attrName,
                 pShape,
                 getContext().mpSubsettableShapeManager,
-                getSlideSize() ),
+                getSlideSize(), 0 ),
             xAnimateNode );
 
     case AnimationFactory::CLASS_COLOR_PROPERTY:
@@ -79,7 +79,7 @@ AnimationActivitySharedPtr 
PropertyAnimationNode::createActivity() const
                 attrName,
                 pShape,
                 getContext().mpSubsettableShapeManager,
-                getSlideSize() ),
+                getSlideSize(), 0 ),
             xAnimateNode );
 
     case AnimationFactory::CLASS_BOOL_PROPERTY:
@@ -89,7 +89,7 @@ AnimationActivitySharedPtr 
PropertyAnimationNode::createActivity() const
                 attrName,
                 pShape,
                 getContext().mpSubsettableShapeManager,
-                getSlideSize() ),
+                getSlideSize(), 0 ),
             xAnimateNode );
     }
 
diff --git a/slideshow/source/engine/rehearsetimingsactivity.cxx 
b/slideshow/source/engine/rehearsetimingsactivity.cxx
index 4dc66f1..c7f8cd9 100644
--- a/slideshow/source/engine/rehearsetimingsactivity.cxx
+++ b/slideshow/source/engine/rehearsetimingsactivity.cxx
@@ -385,7 +385,7 @@ void RehearseTimingsActivity::viewChanged( const 
UnoViewSharedPtr& rView )
     aModifiedEntry->second->move( maSpriteRectangle.getMinimum() );
 
     // sprites changed, need screen update
-    mrScreenUpdater.notifyUpdate( rView );
+    mrScreenUpdater.notifyUpdate( rView, false );
 }
 
 void RehearseTimingsActivity::viewsChanged()
diff --git a/slideshow/source/inc/animationfactory.hxx 
b/slideshow/source/inc/animationfactory.hxx
index 29c0613..1b98913 100644
--- a/slideshow/source/inc/animationfactory.hxx
+++ b/slideshow/source/inc/animationfactory.hxx
@@ -89,7 +89,7 @@ namespace slideshow
                                                                        const 
AnimatableShapeSharedPtr&          rShape,
                                                                        const 
ShapeManagerSharedPtr&             rShapeManager,
                                                                        const 
::basegfx::B2DVector&              rSlideSize,
-                                                                       int     
                                 nFlags=0 );
+                                                                       int     
                                 nFlags );
 
             ColorAnimationSharedPtr  createColorPropertyAnimation( const 
OUString&                rAttrName,
                                                                           
const AnimatableShapeSharedPtr&       rShape,
@@ -108,26 +108,26 @@ namespace slideshow
                                                                          const 
ShapeManagerSharedPtr&           rShapeManager,
                                                                          const 
::basegfx::B2DVector&            rSlideSize,
                                                                          
sal_Int16                              nTransformType,
-                                                                         int   
                                 nFlags=0 );
+                                                                         int   
                                 nFlags );
 
             StringAnimationSharedPtr createStringPropertyAnimation( const 
OUString&               rAttrName,
                                                                            
const AnimatableShapeSharedPtr&      rShape,
                                                                            
const ShapeManagerSharedPtr&         rShapeManager,
                                                                            
const ::basegfx::B2DVector&          rSlideSize,
-                                                                           int 
                                 nFlags=0 );
+                                                                           int 
                                 nFlags );
 
             BoolAnimationSharedPtr   createBoolPropertyAnimation( const 
OUString&                 rAttrName,
                                                                          const 
AnimatableShapeSharedPtr&        rShape,
                                                                          const 
ShapeManagerSharedPtr&           rShapeManager,
                                                                          const 
::basegfx::B2DVector&            rSlideSize,
-                                                                         int   
                                 nFlags=0 );
+                                                                         int   
                                 nFlags );
 
             NumberAnimationSharedPtr createPathMotionAnimation( const 
OUString&                   rSVGDPath,
                                                                        
sal_Int16                                nAdditive,
                                                                        const 
AnimatableShapeSharedPtr&          rShape,
                                                                        const 
ShapeManagerSharedPtr&             rShapeManager,
                                                                        const 
::basegfx::B2DVector&              rSlideSize,
-                                                                       int     
                                 nFlags=0);
+                                                                       int     
                                 nFlags);
         }
     }
 }
diff --git a/slideshow/source/inc/screenupdater.hxx 
b/slideshow/source/inc/screenupdater.hxx
index 4140ed4..dcf299b 100644
--- a/slideshow/source/inc/screenupdater.hxx
+++ b/slideshow/source/inc/screenupdater.hxx
@@ -71,7 +71,7 @@ namespace slideshow
                 implementation 'thinks' it does not need to render
                 something to screen.
             */
-            void notifyUpdate( const UnoViewSharedPtr& rView, bool 
bViewClobbered=false );
+            void notifyUpdate( const UnoViewSharedPtr& rView, bool 
bViewClobbered );
 
             /** Commits collected update actions
              */
diff --git a/sot/source/sdstor/stg.cxx b/sot/source/sdstor/stg.cxx
index 42162636..ab256fd 100644
--- a/sot/source/sdstor/stg.cxx
+++ b/sot/source/sdstor/stg.cxx
@@ -495,7 +495,7 @@ Storage::~Storage()
         if( pEntry->m_nRefCnt && pEntry->m_bDirect && (m_nMode & 
StreamMode::WRITE) )
             Commit();
         if( pEntry->m_nRefCnt == 1 )
-            pEntry->Invalidate();
+            pEntry->Invalidate(false);
     }
     // close the stream is root storage
     if( bIsRoot )
diff --git a/sot/source/sdstor/stgdir.cxx b/sot/source/sdstor/stgdir.cxx
index dacd890..a4c682d 100644
--- a/sot/source/sdstor/stgdir.cxx
+++ b/sot/source/sdstor/stgdir.cxx
@@ -760,7 +760,7 @@ StgDirStrm::~StgDirStrm()
 
 void StgDirStrm::SetupEntry( sal_Int32 n, StgDirEntry* pUpper )
 {
-    void* p = ( n == STG_FREE ) ? nullptr : GetEntry( n );
+    void* p = ( n == STG_FREE ) ? nullptr : GetEntry( n, false );
     if( p )
     {
         SvStream *pUnderlyingStream = m_rIo.GetStrm();
diff --git a/sot/source/sdstor/stgdir.hxx b/sot/source/sdstor/stgdir.hxx
index cecbba4..794049f 100644
--- a/sot/source/sdstor/stgdir.hxx
+++ b/sot/source/sdstor/stgdir.hxx
@@ -67,8 +67,8 @@ public:
     explicit StgDirEntry( const StgEntry& );
     virtual ~StgDirEntry();
 
-    void Invalidate( bool=false );          // invalidate all open entries
-    void Enum( sal_Int32& );                    // enumerate entries for 
iteration
+    void Invalidate( bool );                // invalidate all open entries
+    void Enum( sal_Int32& );                // enumerate entries for iteration
     void DelTemp( bool );                   // delete temporary entries
     bool Store( StgDirStrm& );              // save entry into dir strm
     bool IsContained( StgDirEntry* );       // check if subentry
@@ -99,7 +99,7 @@ public:
     virtual ~StgDirStrm();
     virtual bool SetSize( sal_Int32 ) override;              // change the size
     bool         Store();
-    void*        GetEntry( sal_Int32 n, bool=false );// get an entry
+    void*        GetEntry( sal_Int32 n, bool );// get an entry
     StgDirEntry* GetRoot() { return m_pRoot; }
     StgDirEntry* Find( StgDirEntry&, const OUString& );
     StgDirEntry* Create( StgDirEntry&, const OUString&, StgEntryType );
diff --git a/sot/source/sdstor/ucbstorage.cxx b/sot/source/sdstor/ucbstorage.cxx
index 0a12fc8..b610539 100644
--- a/sot/source/sdstor/ucbstorage.cxx
+++ b/sot/source/sdstor/ucbstorage.cxx
@@ -507,7 +507,7 @@ public:
     bool                        Revert();
     bool                        Insert( ::ucbhelper::Content *pContent );
     UCBStorage_Impl*            OpenStorage( UCBStorageElement_Impl* pElement, 
StreamMode nMode, bool bDirect );
-    void                        OpenStream( UCBStorageElement_Impl*, 
StreamMode, bool, const OString* pKey=nullptr );
+    void                        OpenStream( UCBStorageElement_Impl*, 
StreamMode, bool, const OString* pKey );
     void                        SetProps( const Sequence < Sequence < 
PropertyValue > >& rSequence, const OUString& );
     void                        GetProps( sal_Int32&, Sequence < Sequence < 
PropertyValue > >& rSequence, const OUString& );
     sal_Int32                   GetObjectCount();
@@ -1815,7 +1815,7 @@ void UCBStorage_Impl::ReadContent()
                     else if ( aMediaType.isEmpty() )
                     {
                         // older files didn't have that special content type, 
so they must be detected
-                        OpenStream( pElement, STREAM_STD_READ, m_bDirect );
+                        OpenStream( pElement, STREAM_STD_READ, m_bDirect, 
nullptr );
                         if ( Storage::IsStorageFile( pElement->m_xStream ) )
                             pElement->m_bIsStorage = true;
                         else
diff --git a/starmath/inc/edit.hxx b/starmath/inc/edit.hxx
index 85d4293..084fae6 100644
--- a/starmath/inc/edit.hxx
+++ b/starmath/inc/edit.hxx
@@ -80,7 +80,7 @@ class SmEditWindow : public vcl::Window, public 
DropTargetHelper
     void SetScrollBarRanges();
     void InitScrollBars();
     void InvalidateSlots();
-    void UpdateStatus(bool bSetDocModified = false);
+    void UpdateStatus(bool bSetDocModified);
 
 public:
     explicit SmEditWindow(SmCmdBoxWindow& rMyCmdBoxWin);
diff --git a/starmath/inc/node.hxx b/starmath/inc/node.hxx
index a62f1cc..3511d71 100644
--- a/starmath/inc/node.hxx
+++ b/starmath/inc/node.hxx
@@ -200,7 +200,7 @@ public:
 
     /** True if this node is selected */
     bool IsSelected() const {return mbIsSelected;}
-    void SetSelected(bool Selected = true) {mbIsSelected = Selected;}
+    void SetSelected(bool Selected) {mbIsSelected = Selected;}
 
     /** Get the parent node of this node */
     SmStructureNode* GetParent(){ return mpParentNode; }
diff --git a/starmath/inc/view.hxx b/starmath/inc/view.hxx
index ccc9037..287ddc4 100644
--- a/starmath/inc/view.hxx
+++ b/starmath/inc/view.hxx
@@ -320,7 +320,7 @@ public:
      * so that when text is inserted from catalog or elsewhere we know whether 
to
      * insert for the visual editor, or the text editor.
      */
-    void SetInsertIntoEditWindow(bool bEditWindowHadFocusLast = true){
+    void SetInsertIntoEditWindow(bool bEditWindowHadFocusLast){
         bInsertIntoEditWindow = bEditWindowHadFocusLast;
     }
     bool IsInlineEditEnabled() const;
diff --git a/starmath/source/edit.cxx b/starmath/source/edit.cxx
index 69ae865..7809669 100644
--- a/starmath/source/edit.cxx
+++ b/starmath/source/edit.cxx
@@ -253,7 +253,7 @@ void SmEditWindow::DataChanged( const DataChangedEvent& )
 
 IMPL_LINK_NOARG_TYPED( SmEditWindow, ModifyTimerHdl, Idle *, void )
 {
-    UpdateStatus();
+    UpdateStatus(false);
     aModifyIdle.Stop();
 }
 
@@ -707,7 +707,7 @@ void SmEditWindow::GetFocus()
 
     //Let SmViewShell know we got focus
     if(GetView() && IsInlineEditEnabled())
-        GetView()->SetInsertIntoEditWindow();
+        GetView()->SetInsertIntoEditWindow(true);
 }
 
 
diff --git a/starmath/source/mathtype.cxx b/starmath/source/mathtype.cxx
index 82a5bc8..f39843e 100644
--- a/starmath/source/mathtype.cxx
+++ b/starmath/source/mathtype.cxx
@@ -574,7 +574,7 @@ bool MathType::Parse(SotStorage *pStor)
     if (nVersion > 3)   // allow only supported versions of MathType to be 
parsed
         return false;
 
-    bool bRet = HandleRecords();
+    bool bRet = HandleRecords(0);
     //little crude hack to close occasionally open expressions
     //a sophisticated system to determine what expressions are
     //opened is required, but this is as much work as rewriting
@@ -1932,7 +1932,7 @@ bool MathType::ConvertFromStarMath( SfxMedium& rMedium )
         sal_uInt32 nSize = pS->Tell();
         nPendingAttributes=0;
 
-        HandleNodes(pTree);
+        HandleNodes(pTree, 0);
         pS->WriteUChar( END );
 
         nSize = pS->Tell()-nSize;
diff --git a/starmath/source/mathtype.hxx b/starmath/source/mathtype.hxx
index a47b43e..1bf6602 100644
--- a/starmath/source/mathtype.hxx
+++ b/starmath/source/mathtype.hxx
@@ -122,7 +122,7 @@ private:
 
     void Init();
 
-    bool HandleRecords(int nLevel =0, sal_uInt8 nSelector =0xFF,
+    bool HandleRecords(int nLevel, sal_uInt8 nSelector =0xFF,
         sal_uInt8 nVariation =0xFF, int nRows =0, int nCols =0);
     bool HandleSize(sal_Int16 nLSize, sal_Int16 nDSize, int &rSetSize);
     void HandleAlign(sal_uInt8 nHAlign, sal_uInt8 nVAlign, int &rSetAlign);
@@ -142,7 +142,7 @@ private:
     static int xfEMBELL(sal_uInt8 nTest) {return nTest&0x20;}
     static int xfNULL(sal_uInt8 nTest) {return nTest&0x10;}
 
-    void HandleNodes(SmNode *pNode,int nLevel=0);
+    void HandleNodes(SmNode *pNode,int nLevel);
     int StartTemplate(sal_uInt16 nSelector,sal_uInt16 nVariation=0);
     void EndTemplate(int nOldPendingAttributes);
     void HandleSmMatrix(SmMatrixNode *pMatrix,int nLevel);
@@ -195,7 +195,7 @@ private:
     };
 public:
     static bool LookupChar(sal_Unicode nChar,OUString &rRet,
-        sal_uInt8 nVersion=3,sal_uInt8 nTypeFace=0);
+        sal_uInt8 nVersion,sal_uInt8 nTypeFace=0);
 };
 
 
diff --git a/starmath/source/node.cxx b/starmath/source/node.cxx
index 18143d5..34c3480 100644
--- a/starmath/source/node.cxx
+++ b/starmath/source/node.cxx
@@ -2509,7 +2509,7 @@ void SmMathSymbolNode::Arrange(OutputDevice &rDev, const 
SmFormat &rFormat)
 void SmMathSymbolNode::CreateTextFromNode(OUString &rText)
 {
     OUString sStr;
-    MathType::LookupChar(GetToken().cMathChar, sStr);
+    MathType::LookupChar(GetToken().cMathChar, sStr, 3);
     rText += sStr;
 }
 
diff --git a/starmath/source/ooxmlexport.hxx b/starmath/source/ooxmlexport.hxx
index 5899a49..41cb651 100644
--- a/starmath/source/ooxmlexport.hxx
+++ b/starmath/source/ooxmlexport.hxx
@@ -28,7 +28,7 @@ public:
 private:
     virtual void HandleVerticalStack( const SmNode* pNode, int nLevel ) 
override;
     virtual void HandleText( const SmNode* pNode, int nLevel ) override;
-    virtual void HandleFractions( const SmNode* pNode, int nLevel, const char* 
type = nullptr ) override;
+    virtual void HandleFractions( const SmNode* pNode, int nLevel, const char* 
type ) override;
     virtual void HandleRoot( const SmRootNode* pNode, int nLevel ) override;
     virtual void HandleAttribute( const SmAttributNode* pNode, int nLevel ) 
override;
     virtual void HandleOperator( const SmOperNode* pNode, int nLevel ) 
override;
diff --git a/starmath/source/rtfexport.hxx b/starmath/source/rtfexport.hxx
index 7071b9f..380fda8 100644
--- a/starmath/source/rtfexport.hxx
+++ b/starmath/source/rtfexport.hxx
@@ -25,7 +25,7 @@ public:
 private:
     virtual void HandleVerticalStack(const SmNode* pNode, int nLevel) override;
     virtual void HandleText(const SmNode* pNode, int nLevel) override;
-    virtual void HandleFractions(const SmNode* pNode, int nLevel, const char* 
type = nullptr) override;
+    virtual void HandleFractions(const SmNode* pNode, int nLevel, const char* 
type) override;
     virtual void HandleRoot(const SmRootNode* pNode, int nLevel) override;
     virtual void HandleAttribute(const SmAttributNode* pNode, int nLevel) 
override;
     virtual void HandleOperator(const SmOperNode* pNode, int nLevel) override;
diff --git a/starmath/source/visitors.cxx b/starmath/source/visitors.cxx
index c80ce63..7efec06 100644
--- a/starmath/source/visitors.cxx
+++ b/starmath/source/visitors.cxx
@@ -688,7 +688,7 @@ void SmSetSelectionVisitor::Visit( SmTextNode* pNode ) {
         i2 = maEndPos.Index;
 
     long start, end;
-    pNode->SetSelected();
+    pNode->SetSelected(true);
     if( i1 != -1 && i2 != -1 ) {
         start = i1 < i2 ? i1 : i2; //MIN
         end   = i1 > i2 ? i1 : i2; //MAX
diff --git a/starmath/source/wordexportbase.cxx 
b/starmath/source/wordexportbase.cxx
index 215a6c7..ea38df8 100644
--- a/starmath/source/wordexportbase.cxx
+++ b/starmath/source/wordexportbase.cxx
@@ -46,7 +46,7 @@ void SmWordExportBase::HandleNode(const SmNode* pNode, int 
nLevel)
         HandleBinaryOperation(static_cast< const SmBinHorNode* >(pNode), 
nLevel);
         break;
     case NBINVER:
-        HandleFractions(pNode,nLevel);
+        HandleFractions(pNode,nLevel,nullptr);
         break;
     case NROOT:
         HandleRoot(static_cast< const SmRootNode* >(pNode), nLevel);
diff --git a/starmath/source/wordexportbase.hxx 
b/starmath/source/wordexportbase.hxx
index b8aac11..f40c261 100644
--- a/starmath/source/wordexportbase.hxx
+++ b/starmath/source/wordexportbase.hxx
@@ -27,7 +27,7 @@ protected:
     virtual void HandleVerticalStack( const SmNode* pNode, int nLevel ) = 0;
     virtual void HandleText( const SmNode* pNode, int nLevel ) = 0;
     void HandleMath( const SmNode* pNode, int nLevel );
-    virtual void HandleFractions( const SmNode* pNode, int nLevel, const char* 
type = nullptr ) = 0;
+    virtual void HandleFractions( const SmNode* pNode, int nLevel, const char* 
type ) = 0;
     void HandleUnaryOperation( const SmUnHorNode* pNode, int nLevel );
     void HandleBinaryOperation( const SmBinHorNode* pNode, int nLevel );
     virtual void HandleRoot( const SmRootNode* pNode, int nLevel ) = 0;
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to