diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-11-15 14:19:37 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-11-16 07:54:24 +0100 |
commit | 13b89618c49adfd77d184f22e23420a7b6d4678b (patch) | |
tree | 089702c613bd099b478fbeb28ba04a09eef6b8b1 /include/editeng/editeng.hxx | |
parent | Removed duplicated include (diff) | |
download | core-13b89618c49adfd77d184f22e23420a7b6d4678b.tar.gz core-13b89618c49adfd77d184f22e23420a7b6d4678b.zip |
use implict conversion operator in TypedWhichId
instead of spreading calls to Which() everywhere.
Change-Id: Ie32d106e44f5cb583908eeebe254ab8b8168ae61
Reviewed-on: https://gerrit.libreoffice.org/44760
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'include/editeng/editeng.hxx')
-rw-r--r-- | include/editeng/editeng.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/editeng/editeng.hxx b/include/editeng/editeng.hxx index 4f0be32b9dee..b426c4cdae0b 100644 --- a/include/editeng/editeng.hxx +++ b/include/editeng/editeng.hxx @@ -323,7 +323,7 @@ public: template<class T> const T& GetParaAttrib( sal_Int32 nPara, TypedWhichId<T> nWhich ) { - return static_cast<const T&>(GetParaAttrib(nPara, nWhich.Which())); + return static_cast<const T&>(GetParaAttrib(nPara, sal_uInt16(nWhich))); } vcl::Font GetStandardFont( sal_Int32 nPara ); |