[Libreoffice-commits] core.git: Branch 'feature/fixes18' - sw/source
Marco Cecchetti
marco.cecchetti at collabora.com
Thu Mar 10 10:41:07 UTC 2016
sw/source/core/txtnode/txtedt.cxx | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
New commits:
commit 6314d1eac6b0c622a6414c96d74a6dc3d5b19a33
Author: Marco Cecchetti <marco.cecchetti at collabora.com>
Date: Mon Mar 7 15:37:08 2016 +0100
test autocompletion word collection
Change-Id: I26d8266d11f22cb91825afa0a84922b366231db6
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