summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThorsten Behrens <tbehrens@novell.com>2010-09-17 10:11:28 +0200
committerJan Holesovsky <kendy@suse.cz>2010-09-17 10:12:04 +0200
commitb7628798ec1a966c97a64d7cf0aa9f3859b78bef (patch)
tree7a60be16026a2e9c47d28886002b42ff14cac98e
parent261276ba3243b25f632db0f2fd2127c97604b935 (diff)
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.
-rw-r--r--cui/source/options/dbregisterednamesconfig.cxx2
-rw-r--r--cui/source/tabpages/textattr.cxx3
2 files changed, 2 insertions, 3 deletions
diff --git a/cui/source/options/dbregisterednamesconfig.cxx b/cui/source/options/dbregisterednamesconfig.cxx
index 38b9897ad4e9..333cc016ff9a 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 93330fbeb4dd..d275cbb00ba1 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 ) );
}