diff options
-rw-r--r-- | svx/inc/svx/sdshcitm.hxx | 18 | ||||
-rw-r--r-- | svx/source/table/svdotable.cxx | 3 |
2 files changed, 10 insertions, 11 deletions
diff --git a/svx/inc/svx/sdshcitm.hxx b/svx/inc/svx/sdshcitm.hxx index cc559997397e..31513480fd15 100644 --- a/svx/inc/svx/sdshcitm.hxx +++ b/svx/inc/svx/sdshcitm.hxx @@ -22,16 +22,16 @@ #include <svx/xcolit.hxx> #include <svx/svddef.hxx> -//--------------------- -// class SdrShadowColorItem -//--------------------- -class SdrShadowColorItem: public XColorItem { +class SdrShadowColorItem: public XColorItem +{ public: - SdrShadowColorItem() {} - SdrShadowColorItem(long nIndex, const Color& rTheColor): XColorItem(SDRATTR_SHADOWCOLOR,nIndex,rTheColor) {} - - SdrShadowColorItem(const String& rName, const Color& rTheColor): XColorItem(SDRATTR_SHADOWCOLOR,rName,rTheColor) {} - + SdrShadowColorItem() + { + } + SdrShadowColorItem(const String& rName, const Color& rTheColor) + : XColorItem(SDRATTR_SHADOWCOLOR, rName, rTheColor) + { + } }; #endif diff --git a/svx/source/table/svdotable.cxx b/svx/source/table/svdotable.cxx index d0e34eb1f8e0..fd1c8dad7fba 100644 --- a/svx/source/table/svdotable.cxx +++ b/svx/source/table/svdotable.cxx @@ -1842,8 +1842,7 @@ void SdrTableObj::EndTextEdit(SdrOutliner& rOutl) { // if its only one paragraph, check if it is empty OUString aStr(rOutl.GetText(p1stPara)); - - if(aStr.isEmpty()) + if (aStr.isEmpty()) { // gotcha! nParaAnz = 0; |