diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2020-11-24 22:57:02 +0300 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2020-11-25 05:21:22 +0100 |
commit | aac9c35c7405859a38f634ee95b8aba5f62db84d (patch) | |
tree | dd61b9879f08f8f917475f3c8da360c4db468f03 /sw | |
parent | cb084f475db33a2cfc62bc9c8de37b8c3c87b3c7 (diff) |
Fix --disable-pch build on Windows
Restore inclusion of <unotools/transliterationwrapper.hxx>, added
in 63f7efe613f4f7436eddd90933c1916d2e689648 to fix exactly the same
problem that reappeared now after removing it in commit
fe88ffb661053f8fff9bd77affdf4de820c43ca8.
This partially reverts fe88ffb661053f8fff9bd77affdf4de820c43ca8,
making the inclusion conditional.
Change-Id: Iab6893549377e1b8f2f96150b09b7294c9476fa2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106555
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/source/core/doc/docfld.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sw/source/core/doc/docfld.cxx b/sw/source/core/doc/docfld.cxx index ad21d076a3ac..68b6df983e4a 100644 --- a/sw/source/core/doc/docfld.cxx +++ b/sw/source/core/doc/docfld.cxx @@ -24,6 +24,9 @@ #include <comphelper/string.hxx> #include <osl/diagnose.h> #include <unotools/charclass.hxx> +#ifndef UNX +#include <unotools/transliterationwrapper.hxx> +#endif #include <doc.hxx> #include <IDocumentFieldsAccess.hxx> #include <IDocumentState.hxx> |