summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorKhaled Hosny <khaled@libreoffice.org>2024-02-26 17:47:59 +0200
committerAndras Timar <andras.timar@collabora.com>2024-03-07 13:54:19 +0100
commit5fdb5f0c2beded2de6013d59b51c818e4b906c0a (patch)
tree3314b508e7b5d6ea925a82a174918bb9ab0eb162 /vcl
parent748fbc5efcb82dc8100b4c3303076132efa87bfd (diff)
tdf#159251: Revert "vcl: Allow pushing/popping OutputDevice’s RTLEnabled
...state" This reverts commit 611694b707eb43e4c0f20b781f6869016a3ba099. Change-Id: I044e6a1fb08f482c6b494e87f9c23e2303b97fd1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/163951 Tested-by: Jenkins Reviewed-by: خالد حسني <khaled@libreoffice.org> Signed-off-by: Xisco Fauli <xiscofauli@libreoffice.org> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/164019
Diffstat (limited to 'vcl')
-rw-r--r--vcl/source/gdi/mtfxmldump.cxx2
-rw-r--r--vcl/source/outdev/stack.cxx6
2 files changed, 0 insertions, 8 deletions
diff --git a/vcl/source/gdi/mtfxmldump.cxx b/vcl/source/gdi/mtfxmldump.cxx
index e6b1adc80eac..2792297feeca 100644
--- a/vcl/source/gdi/mtfxmldump.cxx
+++ b/vcl/source/gdi/mtfxmldump.cxx
@@ -63,8 +63,6 @@ OUString collectPushFlags(vcl::PushFlags nFlags)
aStrings.emplace_back("PushTextLanguage");
if (nFlags & vcl::PushFlags::OVERLINECOLOR)
aStrings.emplace_back("PushOverlineColor");
- if (nFlags & vcl::PushFlags::RTLENABLED)
- aStrings.emplace_back("PushRTLEnabled");
OUString aString;
diff --git a/vcl/source/outdev/stack.cxx b/vcl/source/outdev/stack.cxx
index 129348051e3d..72ef63af551d 100644
--- a/vcl/source/outdev/stack.cxx
+++ b/vcl/source/outdev/stack.cxx
@@ -84,9 +84,6 @@ void OutputDevice::Push(vcl::PushFlags nFlags)
if (nFlags & vcl::PushFlags::REFPOINT && mbRefPoint)
rState.mpRefPoint = maRefPoint;
- if (nFlags & vcl::PushFlags::RTLENABLED)
- rState.mbRTLEnabled = IsRTLEnabled();
-
if (mpAlphaVDev)
mpAlphaVDev->Push();
}
@@ -187,9 +184,6 @@ void OutputDevice::Pop()
SetRefPoint();
}
- if ( rState.mnFlags & vcl::PushFlags::RTLENABLED )
- EnableRTL( rState.mbRTLEnabled );
-
maOutDevStateStack.pop_back();
mpMetaFile = pOldMetaFile;