diff options
author | Peter Burow <pb@openoffice.org> | 2000-12-07 05:13:46 +0000 |
---|---|---|
committer | Peter Burow <pb@openoffice.org> | 2000-12-07 05:13:46 +0000 |
commit | 229c1ae19d7e92f829356b3a1d9001f683f2de6d (patch) | |
tree | 2940e74d9b8fb9d0efb601ceceb3c4455905c552 /svx | |
parent | e83c265afa699dafbe84fd7a59d1d932d2bfb284 (diff) |
fix: #80528# save the size
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/dialog/impgrf.cxx | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/svx/source/dialog/impgrf.cxx b/svx/source/dialog/impgrf.cxx index ae4ec792e890..b7fd133287b8 100644 --- a/svx/source/dialog/impgrf.cxx +++ b/svx/source/dialog/impgrf.cxx @@ -2,9 +2,9 @@ * * $RCSfile: impgrf.cxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: kso $ $Date: 2000-12-01 07:59:53 $ + * last change: $Author: pb $ $Date: 2000-12-07 06:13:46 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -511,8 +511,8 @@ void SvxGraphicPrevWin_Impl::Paint( const Rectangle& ) nCount = aMessage.GetTokenCount( sal_Unicode( ' ' ) ), x = 2, y = 2, - nSpaceW = GetTextWidth( aStrSpace ), - nCharH = GetTextHeight(); + nSpaceW = (USHORT)GetTextWidth( aStrSpace ), + nCharH = (USHORT)GetTextHeight(); for ( i = 0; i < nCount; i++ ) { String aWord = aMessage.GetToken( i, sal_Unicode( ' ' ) ); @@ -847,8 +847,7 @@ short SvxImportGraphicDialog::Execute() do { - InitSize( UniString::CreateFromAscii( - RTL_CONSTASCII_STRINGPARAM( "ImpGrfDialogSize" ) ) ); + InitSize( IMPGRF_CONFIGNAME ); nRet = SfxFileDialog::Execute(); String aGrfPath = GetPath(); |