diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-01-30 01:42:16 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-01-30 10:49:35 +0000 |
commit | a50ee91a17374d3ccfe277d9a0d27599a6ada789 (patch) | |
tree | 8e00be384a6396497db674e6043bbb6012e4ca96 /svx | |
parent | 015a93d6b6ba88382ca5cb13a59dda3e47e08eb6 (diff) |
SdrShadowColorItem(long nIndex, ...) variant never used
Change-Id: Ibae83ceac3c2e1f678c35a12d68ef3779879314d
Diffstat (limited to 'svx')
-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; |