diff options
author | corvid <corvid@lavabit.com> | 2009-09-20 02:47:53 +0000 |
---|---|---|
committer | corvid <corvid@lavabit.com> | 2009-09-20 02:47:53 +0000 |
commit | da3f5268045b5edff01b53f475a56cb0795c7bb1 (patch) | |
tree | dfef39b21438155350b5f755893fe5878a15b1cc /src/styleengine.cc | |
parent | 6a1945e459f5c4ecd0ec89b6501e0daf10f77b41 (diff) |
trim some spaces
Diffstat (limited to 'src/styleengine.cc')
-rw-r--r-- | src/styleengine.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/styleengine.cc b/src/styleengine.cc index 8bf78635..a54fdeb3 100644 --- a/src/styleengine.cc +++ b/src/styleengine.cc @@ -516,10 +516,10 @@ bool StyleEngine::computeLength (dw::core::style::Length *dest, * \brief Similar to StyleEngine::style(), but with backgroundColor set. * A normal style might have backgroundColor == NULL to indicate a transparent * background. This method ensures that backgroundColor is set. - */ + */ Style * StyleEngine::backgroundStyle () { StyleAttrs attrs = *style (); - + for (int i = stack->size () - 1; i >= 0 && ! attrs.backgroundColor; i--) attrs.backgroundColor = stack->getRef (i)->style->backgroundColor; @@ -542,7 +542,7 @@ Style * StyleEngine::style0 (CssPropertyList *nonCssProperties) { // Ensure that StyleEngine::style0() has not been called before for // this element. // Style computation is expensive so limit it as much as possible. - // If this assertion is hit, you need to rearrange the code that is + // If this assertion is hit, you need to rearrange the code that is // doing styleEngine calls to call setNonCssHints() before calling // style() or wordStyle() for each new element. assert (stack->getRef (stack->size () - 1)->style == NULL); |