diff options
author | Thorsten Behrens <thorsten.behrens@allotropia.de> | 2024-04-26 09:05:38 +0200 |
---|---|---|
committer | Thorsten Behrens <thorsten.behrens@allotropia.de> | 2024-05-13 08:17:31 +0200 |
commit | f4d15c1cf34f8dac870c2771d6317a56b3fdf038 (patch) | |
tree | a464e7d9047e39a0c049e5d3c331b36201517ed8 /sw/qa/uibase/shells | |
parent | 737a07897e7414228d727fd3d16b3bd47ff226fa (diff) |
Revert "reduce symbol visibility in sw"
This reverts commit 1a6711276f0c8abeb0028a47cc345a7453374a38.
After some discussion and experiments, it turned out this rather
fundamentally breaks clang's PCH build. Conclusion was: this change is
not significant enough to warrant making life harder for developers.
Excerpt of errors (affected were vbaswobj, msword & swui libs):
- ld.lld: error: undefined symbol: SwFormat::~SwFormat()
>>> referenced by fmtcol.hxx:37 (sw/inc/fmtcol.hxx:37)
>>> core/workdir/CxxObject/sw/inc/pch/precompiled_vbaswobj.o:(SwFormatColl::~SwFormatColl())
- ld.lld: error: undefined symbol: SwFrameFormat::SetPositionLayoutDir(short)
>>> referenced by precompiled_msword.cxx
>>> core/workdir/CxxObject/sw/inc/pch/precompiled_msword.o:(vtable for sw::SpzFrameFormat)
- ld.lld: error: undefined symbol: SwFrameFormat::SetLayoutDir(SwFrameFormat::tLayoutDir)
>>> referenced by precompiled_swui.cxx
>>> core/workdir/CxxObject/sw/inc/pch/precompiled_swui.o:(vtable for sw::SpzFrameFormat)
Change-Id: I1dcf115cc191b1ebf1f8d5023c0c5015f891287a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167549
Tested-by: Jenkins
Reviewed-by: Thorsten Behrens <thorsten.behrens@allotropia.de>
Diffstat (limited to 'sw/qa/uibase/shells')
-rw-r--r-- | sw/qa/uibase/shells/shells.cxx | 2 | ||||
-rw-r--r-- | sw/qa/uibase/shells/textsh.cxx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sw/qa/uibase/shells/shells.cxx b/sw/qa/uibase/shells/shells.cxx index 4ba8aececf9b..2111cedf2502 100644 --- a/sw/qa/uibase/shells/shells.cxx +++ b/sw/qa/uibase/shells/shells.cxx @@ -102,7 +102,7 @@ CPPUNIT_TEST_FIXTURE(SwUibaseShellsTest, testShapeTextAlignment) CPPUNIT_ASSERT_EQUAL(static_cast<size_t>(1), pPage->GetObjCount()); SdrObject* pObject = pPage->GetObj(0); pView->EnterShapeDrawTextMode(pObject); - pView->TriggerAttrChangedNotify(); + pView->AttrChangedNotify(nullptr); // Change paragraph adjustment to center. pView->GetViewFrame().GetDispatcher()->Execute(SID_ATTR_PARA_ADJUST_CENTER, diff --git a/sw/qa/uibase/shells/textsh.cxx b/sw/qa/uibase/shells/textsh.cxx index e4e7a2946bcc..ca72a710df3f 100644 --- a/sw/qa/uibase/shells/textsh.cxx +++ b/sw/qa/uibase/shells/textsh.cxx @@ -90,7 +90,7 @@ CPPUNIT_TEST_FIXTURE(Test, testSplitFlyFootnoteUI) pWrtShell->EndAllAction(); pWrtShell->UnSelectFrame(); pWrtShell->LeaveSelFrameMode(); - pWrtShell->GetView().TriggerAttrChangedNotify(); + pWrtShell->GetView().AttrChangedNotify(nullptr); pWrtShell->MoveSection(GoCurrSection, fnSectionEnd); // When checking if we can insert a footnote inside the split fly: |