cui/source/tabpages/tpbitmap.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
New commits: commit 3a30799e377004f77ddcf5c1d6b62ca3e62c0905 Author: Katarina Behrens <katarina.behr...@cib.de> Date: Sat Mar 31 18:46:38 2018 +0200 Show preview correctly for relative size Change-Id: I847e72b3808e1c692aa70e1c1a00917ddef9cbb9 Reviewed-on: https://gerrit.libreoffice.org/52367 Tested-by: Jenkins <c...@libreoffice.org> Reviewed-by: Katarina Behrens <katarina.behr...@cib.de> diff --git a/cui/source/tabpages/tpbitmap.cxx b/cui/source/tabpages/tpbitmap.cxx index 3f9cab8712d1..1b9312715ac5 100644 --- a/cui/source/tabpages/tpbitmap.cxx +++ b/cui/source/tabpages/tpbitmap.cxx @@ -671,7 +671,6 @@ IMPL_LINK_NOARG( SvxBitmapTabPage, ModifyBitmapStyleHdl, ListBox&, void ) bool bIsTiled( eStylePos == TILED ); m_pSizeBox->Enable( !bIsStretched ); - m_pTsbScale->Enable( eStylePos == CUSTOM ); m_pPositionBox->Enable( !bIsStretched ); m_pPositionOffBox->Enable( bIsTiled ); m_pTileOffBox->Enable( bIsTiled ); @@ -687,7 +686,7 @@ IMPL_LINK_NOARG( SvxBitmapTabPage, ModifyBitmapStyleHdl, ListBox&, void ) case CUSTOM: case TILED: { - if(eStylePos == CUSTOM && m_pTsbScale->IsEnabled() && m_pTsbScale->GetState() == TRISTATE_TRUE) + if(m_pTsbScale->IsEnabled() && m_pTsbScale->GetState() == TRISTATE_TRUE) { aSetBitmapSize.setWidth( -m_pBitmapWidth->GetValue() ); aSetBitmapSize.setHeight( -m_pBitmapWidth->GetValue() ); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits