sw/source/uibase/misc/glosdoc.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit cee293d3ee4fef108790eed63c69eee40d37c0bf Author: Michael Stahl <[email protected]> AuthorDate: Tue Mar 10 18:17:53 2026 +0100 Commit: Michael Stahl <[email protected]> CommitDate: Tue Mar 10 18:21:59 2026 +0100 sw: fix -Werror=undef Change-Id: I4cd940136484e5ccf33db962314e19fd79debbbb diff --git a/sw/source/uibase/misc/glosdoc.cxx b/sw/source/uibase/misc/glosdoc.cxx index 3247d7932ab5..6c4c79a24cf9 100644 --- a/sw/source/uibase/misc/glosdoc.cxx +++ b/sw/source/uibase/misc/glosdoc.cxx @@ -446,8 +446,8 @@ void SwGlossaries::ShowError() std::vector<OUString> others; for (auto const& it : m_aInvalidPaths) { +#ifdef _WIN32 OUString path; -#if _WIN32 if (it.second && *it.second == ucb::IOErrorCode_ACCESS_DENIED && osl::FileBase::getSystemPathFromFileURL(it.first, path) == osl::FileBase::E_None && PathIsNetworkPathW(o3tl::toW(path.getStr())) == TRUE)
