[ooo-build-commit] .: cui/source

Jan Holesovsky kendy at kemper.freedesktop.org
Fri Sep 17 03:35:49 PDT 2010


 cui/source/options/dbregisterednamesconfig.cxx |    2 +-
 cui/source/tabpages/textattr.cxx               |    3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)

New commits:
commit d07b53d22dd8b3731776fe74947b514af1c4ffe3
Author: Thorsten Behrens <tbehrens at novell.com>
Date:   Fri Sep 17 10:11:28 2010 +0200

    fit-list-to-size.diff: Shrink font automatically when text overflows.
    
    i#94086
    
    Scale-font-down if typing text in Impress and the text box becomes too small.

diff --git a/cui/source/options/dbregisterednamesconfig.cxx b/cui/source/options/dbregisterednamesconfig.cxx
index be8e30a..cb2dc15 100644
--- a/cui/source/options/dbregisterednamesconfig.cxx
+++ b/cui/source/options/dbregisterednamesconfig.cxx
@@ -133,7 +133,7 @@ namespace svx
         }
         catch( const Exception& )
         {
-            DBG_UNHANDLED_EXCEPTION();
+                        //DBG_UNHANDLED_EXCEPTION();
         }
     }
 
diff --git a/cui/source/tabpages/textattr.cxx b/cui/source/tabpages/textattr.cxx
index 5e36b6b..5eef69b 100644
--- a/cui/source/tabpages/textattr.cxx
+++ b/cui/source/tabpages/textattr.cxx
@@ -451,8 +451,7 @@ BOOL SvxTextAttrPage::FillItemSet( SfxItemSet& rAttrs)
             default: ; //prevent warning
                 DBG_ERROR( "svx::SvxTextAttrPage::FillItemSet(), unhandled state!" );
             case STATE_NOCHECK: eFTS = SDRTEXTFIT_NONE; break;
-            //case STATE_CHECK: eFTS = SDRTEXTFIT_RESIZEATTR; break;
-            case STATE_CHECK: eFTS = SDRTEXTFIT_PROPORTIONAL; break;
+            case STATE_CHECK: eFTS = SDRTEXTFIT_AUTOFIT; break;
         }
         rAttrs.Put( SdrTextFitToSizeTypeItem( eFTS ) );
     }


More information about the ooo-build-commit mailing list