summaryrefslogtreecommitdiff
path: root/sw/source/filter/html/htmldrawreader.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/filter/html/htmldrawreader.cxx')
-rw-r--r--sw/source/filter/html/htmldrawreader.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/sw/source/filter/html/htmldrawreader.cxx b/sw/source/filter/html/htmldrawreader.cxx
index c383adea2bef..dfbd0172b9e1 100644
--- a/sw/source/filter/html/htmldrawreader.cxx
+++ b/sw/source/filter/html/htmldrawreader.cxx
@@ -513,7 +513,7 @@ void SwHTMLParser::NewMarquee( HTMLTable *pCurTable )
if( aTwipSz.Width() < MINFLY )
aTwipSz.Width() = MINFLY;
- m_pMarquee->SetLogicRect( Rectangle( 0, 0, aTwipSz.Width(), aTwipSz.Height() ) );
+ m_pMarquee->SetLogicRect( tools::Rectangle( 0, 0, aTwipSz.Width(), aTwipSz.Height() ) );
// und das Objekt in das Dok einfuegen
InsertDrawObject( m_pMarquee, aSpace, eVertOri, eHoriOri, aStyleItemSet,
@@ -538,8 +538,8 @@ void SwHTMLParser::EndMarquee()
{
// Da es keine fixe Hoehe gibt, das Text-Objekt erstmal breiter
// als den Text machen, damit nicht umgebrochen wird.
- const Rectangle& rOldRect = m_pMarquee->GetLogicRect();
- m_pMarquee->SetLogicRect( Rectangle( rOldRect.TopLeft(),
+ const tools::Rectangle& rOldRect = m_pMarquee->GetLogicRect();
+ m_pMarquee->SetLogicRect( tools::Rectangle( rOldRect.TopLeft(),
Size( USHRT_MAX, 240 ) ) );
}
@@ -575,9 +575,9 @@ void SwHTMLParser::ResizeDrawObject( SdrObject* pObj, SwTwips nWidth )
return;
// die alte Groesse
- const Rectangle& rOldRect = pObj->GetLogicRect();
+ const tools::Rectangle& rOldRect = pObj->GetLogicRect();
Size aNewSz( nWidth, rOldRect.GetSize().Height() );
- pObj->SetLogicRect( Rectangle( rOldRect.TopLeft(), aNewSz ) );
+ pObj->SetLogicRect( tools::Rectangle( rOldRect.TopLeft(), aNewSz ) );
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */