[Libreoffice-commits] core.git: sd/source
Stephan Bergmann (via logerrit)
logerrit at kemper.freedesktop.org
Fri Mar 20 18:16:17 UTC 2020
sd/source/ui/sidebar/MasterPageObserver.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit ada297f24bb3aec806d084ecd92234646098eda2
Author: Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Fri Mar 20 16:01:29 2020 +0100
Commit: Stephan Bergmann <sbergman at redhat.com>
CommitDate: Fri Mar 20 19:15:52 2020 +0100
-Werror,-Wvoid-pointer-to-int-cast (LLVM 10 trunk clang-cl)
Change-Id: I63d0c782cb7d6ae63eb3350d4d5d0d2db9a45e9d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90802
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman at redhat.com>
diff --git a/sd/source/ui/sidebar/MasterPageObserver.cxx b/sd/source/ui/sidebar/MasterPageObserver.cxx
index 28f1938f583d..b103fbaa620c 100644
--- a/sd/source/ui/sidebar/MasterPageObserver.cxx
+++ b/sd/source/ui/sidebar/MasterPageObserver.cxx
@@ -74,7 +74,7 @@ private:
struct DrawDocHash {
size_t operator()(SdDrawDocument* argument) const
- { return reinterpret_cast<unsigned long>(argument); }
+ { return reinterpret_cast<sal_uIntPtr>(argument); }
};
typedef std::unordered_map<SdDrawDocument*,
MasterPageObserver::MasterPageNameSet,
More information about the Libreoffice-commits
mailing list