[Libreoffice-commits] core.git: svx/source
Julien Nabet (via logerrit)
logerrit at kemper.freedesktop.org
Wed Mar 11 09:03:33 UTC 2020
svx/source/engine3d/float3d.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit ec6c252c52413b389aaa22fe6df979feb0429da2
Author: Julien Nabet <serval2412 at yahoo.fr>
AuthorDate: Tue Mar 10 23:17:14 2020 +0100
Commit: Caolán McNamara <caolanm at redhat.com>
CommitDate: Wed Mar 11 10:02:53 2020 +0100
tdf#131261: fix Cannot set "Flat" shading mode in 3D Effects dialog
Regression from:
https://cgit.freedesktop.org/libreoffice/core/commit/?id=278f01eadd513608e306ea6b85d52fb115a6dedf
author Caolán McNamara <caolanm at redhat.com> 2020-01-23 15:28:08 +0000
committer Caolán McNamara <caolanm at redhat.com> 2020-01-24 15:59:50 +0100
commit 278f01eadd513608e306ea6b85d52fb115a6dedf (patch)
tree dc4e9a62dc3753353fd1202a28f84d1599cf3996
parent d52384260c4a8f096945b33b89430398ffa69431 (diff)
weld Svx3DWin
Change-Id: I7d7d5cb0f40da310103a1c281b381818948257f1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90311
Tested-by: Jenkins
Tested-by: Caolán McNamara <caolanm at redhat.com>
Reviewed-by: Caolán McNamara <caolanm at redhat.com>
diff --git a/svx/source/engine3d/float3d.cxx b/svx/source/engine3d/float3d.cxx
index 9ae74ec12a8a..181c5c71a705 100644
--- a/svx/source/engine3d/float3d.cxx
+++ b/svx/source/engine3d/float3d.cxx
@@ -1786,7 +1786,7 @@ void Svx3DWin::GetAttr( SfxItemSet& rAttrs )
// Representation
// Shade mode
- if( m_xLbShademode->get_active() )
+ if( m_xLbShademode->get_active() != -1 )
{
nValue = m_xLbShademode->get_active();
rAttrs.Put(Svx3DShadeModeItem(nValue));
More information about the Libreoffice-commits
mailing list