summaryrefslogtreecommitdiff
path: root/sw/source
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source')
-rw-r--r--sw/source/uibase/inc/hyp.hxx2
-rw-r--r--sw/source/uibase/lingu/hyp.cxx4
2 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/uibase/inc/hyp.hxx b/sw/source/uibase/inc/hyp.hxx
index f1f144044799..4226ed89adad 100644
--- a/sw/source/uibase/inc/hyp.hxx
+++ b/sw/source/uibase/inc/hyp.hxx
@@ -42,7 +42,7 @@ protected:
virtual bool SpellContinue() SAL_OVERRIDE;
virtual void SpellEnd( ) SAL_OVERRIDE;
virtual bool SpellMore() SAL_OVERRIDE;
- virtual void InsertHyphen( const sal_uInt16 nPos ) SAL_OVERRIDE; // insert hyphen
+ virtual void InsertHyphen( const sal_Int32 nPos ) SAL_OVERRIDE; // insert hyphen
public:
SwHyphWrapper( SwView* pVw,
diff --git a/sw/source/uibase/lingu/hyp.cxx b/sw/source/uibase/lingu/hyp.cxx
index 057bd69d14f2..98dccf7d5e67 100644
--- a/sw/source/uibase/lingu/hyp.cxx
+++ b/sw/source/uibase/lingu/hyp.cxx
@@ -108,10 +108,10 @@ bool SwHyphWrapper::SpellMore()
return false;
}
-void SwHyphWrapper::InsertHyphen( const sal_uInt16 nPos )
+void SwHyphWrapper::InsertHyphen( const sal_Int32 nPos )
{
if( nPos)
- SwEditShell::InsertSoftHyph( nPos + 1); // does nPos == 1 really mean
+ SwEditShell::InsertSoftHyph(nPos + 1); // does nPos == 1 really mean
// insert hyphen after first char?
// (instead of nPos == 0)
else