diff options
Diffstat (limited to 'sd/source/ui/presenter/PresenterTextView.cxx')
-rwxr-xr-x | sd/source/ui/presenter/PresenterTextView.cxx | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/sd/source/ui/presenter/PresenterTextView.cxx b/sd/source/ui/presenter/PresenterTextView.cxx index ba90a92939ca..991beade0f2f 100755 --- a/sd/source/ui/presenter/PresenterTextView.cxx +++ b/sd/source/ui/presenter/PresenterTextView.cxx @@ -363,10 +363,10 @@ EditEngine* PresenterTextView::Implementation::CreateEditEngine (void) SvtLinguConfig().GetOptions( aOpt ); // struct FontDta { - INT16 nFallbackLang; - INT16 nLang; - USHORT nFontType; - USHORT nFontInfoId; + sal_Int16 nFallbackLang; + sal_Int16 nLang; + sal_uInt16 nFontType; + sal_uInt16 nFontInfoId; } aTable[3] = { // info to get western font to be used @@ -403,8 +403,8 @@ EditEngine* PresenterTextView::Implementation::CreateEditEngine (void) pEditEngine = new EditEngine (mpEditEngineItemPool); - pEditEngine->EnableUndo (TRUE); - pEditEngine->SetDefTab (USHORT( + pEditEngine->EnableUndo (sal_True); + pEditEngine->SetDefTab (sal_uInt16( Application::GetDefaultDevice()->GetTextWidth( UniString::CreateFromAscii("XXXX")))); @@ -458,8 +458,8 @@ void PresenterTextView::Implementation::SetBackgroundColor (const Color aColor) DBG_ASSERT(mpEditEngine!=NULL, "EditEngine missing"); DBG_ASSERT(mpEditEngineItemPool!=NULL, "EditEngineItemPool missing"); mpEditEngine->SetBackgroundColor(aColor); - mpEditEngine->EnableAutoColor(FALSE); - mpEditEngine->ForceAutoColor(FALSE); + mpEditEngine->EnableAutoColor(sal_False); + mpEditEngine->ForceAutoColor(sal_False); } @@ -576,7 +576,7 @@ Reference<rendering::XBitmap> PresenterTextView::Implementation::GetBitmap (void delete mpOutputDevice; mpOutputDevice = new VirtualDevice(*Application::GetDefaultDevice(), 0, 0); mpOutputDevice->SetMapMode(MAP_PIXEL); - mpOutputDevice->SetOutputSizePixel(maSize, TRUE); + mpOutputDevice->SetOutputSizePixel(maSize, sal_True); mpOutputDevice->SetLineColor(); mpOutputDevice->SetFillColor(); mpOutputDevice->SetBackground(Wallpaper()); |