summaryrefslogtreecommitdiff
path: root/sw/qa/uibase/uiview/uiview.cxx
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2024-11-14 18:53:16 +0500
committerMike Kaganski <mike.kaganski@collabora.com>2024-11-24 07:43:07 +0100
commit2ca32d2905aaf42ca3feaae04a55500c708fe8ad (patch)
tree54f26a1bdbb787c6a0a61a7353509d30d7f90256 /sw/qa/uibase/uiview/uiview.cxx
parent5166efaa646fdb53345009529ba2005abf9fb6c2 (diff)
Turn SW_MOD macro to a function
Change-Id: Ide1f6fd2fc8a80b31353a14e416505a2349cea2b Reviewed-on: https://gerrit.libreoffice.org/c/core/+/177071 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'sw/qa/uibase/uiview/uiview.cxx')
-rw-r--r--sw/qa/uibase/uiview/uiview.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/qa/uibase/uiview/uiview.cxx b/sw/qa/uibase/uiview/uiview.cxx
index a7453f0b8f6e..531d4d351432 100644
--- a/sw/qa/uibase/uiview/uiview.cxx
+++ b/sw/qa/uibase/uiview/uiview.cxx
@@ -124,7 +124,7 @@ CPPUNIT_TEST_FIXTURE(SwUibaseUiviewTest, testKeepRatio)
comphelper::ScopeGuard g([pWrtShell, pViewOption] {
SwViewOption aViewOption(*pViewOption);
aViewOption.SetKeepRatio(false);
- SW_MOD()->ApplyUsrPref(aViewOption, &pWrtShell->GetView());
+ SwModule::get()->ApplyUsrPref(aViewOption, &pWrtShell->GetView());
});
// Without the accompanying fix in place, this test would have failed, because KeepRatio was not
// mapped to settings.xml