[Libreoffice-commits] core.git: Branch 'feature/fixes18' - sw/source
László Németh
laszlo.nemeth at collabora.com
Sun Mar 13 21:14:23 UTC 2016
sw/source/core/txtnode/txtedt.cxx | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
New commits:
commit 3baf635f041064c2ed9e1a094dfe69990e50978d
Author: László Németh <laszlo.nemeth at collabora.com>
Date: Sun Mar 13 22:13:17 2016 +0100
Revert "Revert "test autocompletion word collection""
This reverts commit 0965dc4c8e96b7bc6de49bdab7b55fef5f099e21.
diff --git a/sw/source/core/txtnode/txtedt.cxx b/sw/source/core/txtnode/txtedt.cxx
index 5064e00..fd912a5 100644
--- a/sw/source/core/txtnode/txtedt.cxx
+++ b/sw/source/core/txtnode/txtedt.cxx
@@ -1556,6 +1556,10 @@ SwRect SwTextFrame::SmartTagScan( SwContentNode* /*pActNode*/, sal_Int32 /*nActP
return aRet;
}
+#if 1
+void SwTextFrame::CollectAutoCmplWrds( SwContentNode* , sal_Int32 )
+{}
+#else
// Wird vom CollectAutoCmplWords gerufen
void SwTextFrame::CollectAutoCmplWrds( SwContentNode* pActNode, sal_Int32 nActPos )
{
@@ -1605,7 +1609,7 @@ void SwTextFrame::CollectAutoCmplWrds( SwContentNode* pActNode, sal_Int32 nActPo
if (!bACWDirty)
pNode->SetAutoCompleteWordDirty( false );
}
-
+#endif
/** Findet den TextFrame und sucht dessen CalcHyph */
bool SwTextNode::Hyphenate( SwInterHyphInfo &rHyphInf )
{
More information about the Libreoffice-commits
mailing list