summaryrefslogtreecommitdiff
path: root/starmath/source/document.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'starmath/source/document.cxx')
-rw-r--r--starmath/source/document.cxx12
1 files changed, 6 insertions, 6 deletions
diff --git a/starmath/source/document.cxx b/starmath/source/document.cxx
index bc392a4d13c6..62c402a0ba09 100644
--- a/starmath/source/document.cxx
+++ b/starmath/source/document.cxx
@@ -277,8 +277,8 @@ void SmDocShell::ArrangeFormula()
// format/draw formulas always from left to right,
// and numbers should not be converted
- ComplexTextLayoutFlags nLayoutMode = pOutDev->GetLayoutMode();
- pOutDev->SetLayoutMode( ComplexTextLayoutFlags::Default );
+ vcl::text::ComplexTextLayoutFlags nLayoutMode = pOutDev->GetLayoutMode();
+ pOutDev->SetLayoutMode( vcl::text::ComplexTextLayoutFlags::Default );
LanguageType nDigitLang = pOutDev->GetDigitLanguage();
pOutDev->SetDigitLanguage( LANGUAGE_ENGLISH );
@@ -353,8 +353,8 @@ void SmDocShell::DrawFormula(OutputDevice &rDev, Point &rPosition, bool bDrawSel
// format/draw formulas always from left to right
// and numbers should not be converted
- ComplexTextLayoutFlags nLayoutMode = rDev.GetLayoutMode();
- rDev.SetLayoutMode( ComplexTextLayoutFlags::Default );
+ vcl::text::ComplexTextLayoutFlags nLayoutMode = rDev.GetLayoutMode();
+ rDev.SetLayoutMode( vcl::text::ComplexTextLayoutFlags::Default );
LanguageType nDigitLang = rDev.GetDigitLanguage();
rDev.SetDigitLanguage( LANGUAGE_ENGLISH );
@@ -419,7 +419,7 @@ SmPrinterAccess::SmPrinterAccess( SmDocShell &rDocShell )
pPrinter = rDocShell.GetPrt();
if ( pPrinter )
{
- pPrinter->Push( PushFlags::MAPMODE );
+ pPrinter->Push( vcl::PushFlags::MAPMODE );
if ( SfxObjectCreateMode::EMBEDDED == rDocShell.GetCreateMode() )
{
// if it is an embedded object (without its own printer)
@@ -446,7 +446,7 @@ SmPrinterAccess::SmPrinterAccess( SmDocShell &rDocShell )
if ( !pRefDev || pPrinter.get() == pRefDev.get() )
return;
- pRefDev->Push( PushFlags::MAPMODE );
+ pRefDev->Push( vcl::PushFlags::MAPMODE );
if ( SfxObjectCreateMode::EMBEDDED != rDocShell.GetCreateMode() )
return;