summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2014-02-08 00:23:10 +0100
committerCaolán McNamara <caolanm@redhat.com>2014-02-08 12:32:21 +0000
commit2b3605bc8b2390bdde0d5ea52996fb4db42b0ce7 (patch)
treeaac5c412d551abb441230973941bf93769168c93 /include
parent0d8253bc17cb5476fb558c0e17f5422d76f3e3db (diff)
fdo#74363: fix auto correct of initial capitals on start of first para
The GetPrevPara() method apparently has to return 0 when there is no previous paragraph. (regression from ac85b6cff11d193f5f71d11b1f3cc1c474653f59) Change-Id: I09a3e1d3a3adb33562e4e03c0755447047cbd433 (cherry picked from commit ebd0d0056d89a6a69d2cb75e28758132cb5c236b) Reviewed-on: https://gerrit.libreoffice.org/7940 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/editeng/svxacorr.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/editeng/svxacorr.hxx b/include/editeng/svxacorr.hxx
index 2e3d5b3f1e62..82b76ce86766 100644
--- a/include/editeng/svxacorr.hxx
+++ b/include/editeng/svxacorr.hxx
@@ -101,7 +101,7 @@ public:
// TRUE: before the normal insertion position (TRUE)
// FALSE: in which the corrected word was inserted.
// (Does not to have to be the same paragraph !!!!)
- virtual OUString GetPrevPara( sal_Bool bAtNormalPos ) = 0;
+ virtual OUString const* GetPrevPara(bool bAtNormalPos) = 0;
virtual bool ChgAutoCorrWord( sal_Int32& rSttPos, sal_Int32 nEndPos,
SvxAutoCorrect& rACorrect,