summaryrefslogtreecommitdiffstats
path: root/sw/source/core/docnode/node.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/core/docnode/node.cxx')
-rw-r--r--sw/source/core/docnode/node.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/sw/source/core/docnode/node.cxx b/sw/source/core/docnode/node.cxx
index 809ecd349c81..e1c866aecabf 100644
--- a/sw/source/core/docnode/node.cxx
+++ b/sw/source/core/docnode/node.cxx
@@ -17,6 +17,8 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
+#include <config_wasm_strip.h>
+
#include <hintids.hxx>
#include <editeng/protitem.hxx>
#include <osl/diagnose.h>
@@ -1385,6 +1387,7 @@ void SwContentNode::MakeFramesForAdjacentContentNode(SwContentNode& rNode)
// CONTENT_FLOWS_FROM/_TO relation.
// Relation CONTENT_FLOWS_FROM for next paragraph will change
// and relation CONTENT_FLOWS_TO for previous paragraph will change.
+#ifndef ENABLE_WASM_STRIP_ACCESSIBILITY
if ( pNew->IsTextFrame() )
{
SwViewShell* pViewShell( pNew->getRootFrame()->GetCurrShell() );
@@ -1396,6 +1399,7 @@ void SwContentNode::MakeFramesForAdjacentContentNode(SwContentNode& rNode)
dynamic_cast<SwTextFrame*>(pNew->FindPrevCnt()) );
}
}
+#endif
}
}
@@ -1480,6 +1484,7 @@ void SwContentNode::DelFrames(SwRootFrame const*const pLayout)
// CONTENT_FLOWS_FROM/_TO relation.
// Relation CONTENT_FLOWS_FROM for current next paragraph will change
// and relation CONTENT_FLOWS_TO for current previous paragraph will change.
+#ifndef ENABLE_WASM_STRIP_ACCESSIBILITY
SwViewShell* pViewShell( pFrame->getRootFrame()->GetCurrShell() );
if ( pViewShell && pViewShell->GetLayout() &&
pViewShell->GetLayout()->IsAnyShellAccessible() )
@@ -1488,6 +1493,7 @@ void SwContentNode::DelFrames(SwRootFrame const*const pLayout)
dynamic_cast<SwTextFrame*>(pFrame->FindNextCnt( true )),
dynamic_cast<SwTextFrame*>(pFrame->FindPrevCnt()) );
}
+#endif
}
if( pFrame->IsFollow() )