summaryrefslogtreecommitdiff
path: root/svx/source/dialog/swframeexample.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'svx/source/dialog/swframeexample.cxx')
-rw-r--r--svx/source/dialog/swframeexample.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/svx/source/dialog/swframeexample.cxx b/svx/source/dialog/swframeexample.cxx
index 245864645af8..ceacc555d0e6 100644
--- a/svx/source/dialog/swframeexample.cxx
+++ b/svx/source/dialog/swframeexample.cxx
@@ -75,17 +75,17 @@ void SvxSwFrameExample::InitColors_Impl()
bool bHC = rSettings.GetHighContrastMode();
- m_aFrameColor = Color( COL_LIGHTGREEN );
- m_aAlignColor = Color( COL_LIGHTRED );
- m_aTransColor = Color( COL_TRANSPARENT );
+ m_aFrameColor = COL_LIGHTGREEN;
+ m_aAlignColor = COL_LIGHTRED;
+ m_aTransColor = COL_TRANSPARENT;
m_aTxtCol = bHC?
svtools::ColorConfig().GetColorValue(svtools::FONTCOLOR).nColor :
- Color( COL_GRAY );
- m_aPrintAreaCol = bHC? m_aTxtCol : Color( COL_GRAY );
+ COL_GRAY;
+ m_aPrintAreaCol = bHC? m_aTxtCol : COL_GRAY;
m_aBorderCol = m_aTxtCol;
- m_aBlankCol = bHC? m_aTxtCol : Color( COL_LIGHTGRAY );
- m_aBlankFrameCol = bHC? m_aTxtCol : Color( COL_GRAY );
+ m_aBlankCol = bHC? m_aTxtCol : COL_LIGHTGRAY;
+ m_aBlankFrameCol = bHC? m_aTxtCol : COL_GRAY;
}
void SvxSwFrameExample::DataChanged(const DataChangedEvent& rDCEvt)
e1190534a0c58085472288c51670'>const_cast: convert some C-style casts and remove some redundant onesStephan Bergmann 2015-03-19mbOwnTblStyle->bOwnTblStyle, its not a memberCaolán McNamara 2015-03-18CppCheck cleaning : unnecessary affectationMichaël Lefèvre 2014-12-15no point checking for null before deleteCaolán McNamara 2014-12-15oox: Use appropriate OUString functions on string constantsStephan Bergmann 2014-07-15bnc#887225: OOXML import: Correctly apply table style for lastRow.Matúš Kukan 2014-06-25remove whitespacesMarkus Mohrhard 2014-06-23Move oox/drawingml/table/ internal headers to oox/inc.Matúš Kukan 2014-04-23oox: sal_Bool->boolNoel Grandin 2014-04-03oox: sal_Bool->boolNoel Grandin 2013-11-11convert OUString !compareToAscii to equalsAsciiNoel Grandin 2013-06-03Fix issue #i120723#: Table style is lost when import PPTX by AOOZhe Wang 2013-04-01Prefer prefix ++/-- operators for non-primitive typesJulien Nabet 2012-12-07drop some static OUStringsCaolán McNamara 2012-12-07::rtl:: prefixes removalJosé Guilherme Vanz 2012-08-30-Werror,-Wunused-value (Clang towards 3.2)Stephan Bergmann 2012-07-17re-base on ALv2 code. Includes:Michael Meeks 2012-04-02don't leak pDefaultTableStyleCaolán McNamara 2012-03-14Remove unused code in drawingml/table.Mariana Marasoiu