diff options
-rw-r--r-- | sc/source/ui/view/output.cxx | 30 |
1 files changed, 4 insertions, 26 deletions
diff --git a/sc/source/ui/view/output.cxx b/sc/source/ui/view/output.cxx index 37b8c3166c03..1e87dc6e4e51 100644 --- a/sc/source/ui/view/output.cxx +++ b/sc/source/ui/view/output.cxx @@ -24,7 +24,6 @@ #include <editeng/brushitem.hxx> #include <editeng/editdata.hxx> #include <svtools/colorcfg.hxx> -#include "svtools/optionsdrawinglayer.hxx" #include <svx/rotmodit.hxx> #include <editeng/shaditem.hxx> #include <editeng/svxfont.hxx> @@ -1273,7 +1272,10 @@ void ScOutputData::DrawClear() } } -namespace { + +// +// Linien +// long lclGetSnappedX( OutputDevice& rDev, long nPosX, bool bSnapPixel ) { @@ -1290,32 +1292,8 @@ size_t lclGetArrayColFromCellInfoX( sal_uInt16 nCellInfoX, sal_uInt16 nCellInfoF return static_cast< size_t >( bRTL ? (nCellInfoLastX + 2 - nCellInfoX) : (nCellInfoX - nCellInfoFirstX) ); } -/** - * Temporarily turn off antialiasing. - */ -class AntiAliasingSwitch -{ - SvtOptionsDrawinglayer maDrawOpt; - bool mbOldSetting; -public: - AntiAliasingSwitch(bool bOn) : mbOldSetting(maDrawOpt.IsAntiAliasing()) - { - maDrawOpt.SetAntiAliasing(bOn); - } - - ~AntiAliasingSwitch() - { - maDrawOpt.SetAntiAliasing(mbOldSetting); - } -}; - -} - void ScOutputData::DrawFrame() { - // No anti-aliasing for drawing cell borders. - AntiAliasingSwitch aAASwitch(false); - sal_uLong nOldDrawMode = mpDev->GetDrawMode(); Color aSingleColor; |