#12578: "Replace Colors" gives wrong result if Properties > Colors tab is opened

git-svn-id: file:///svn/Scribus/trunk/Scribus@19397 11d20701-8431-0410-a711-e3c959e3b870
remove unnecessarily long if() blocks

git-svn-id: file:///svn/Scribus/trunk/Scribus@19398 11d20701-8431-0410-a711-e3c959e3b870
code indentation fix

git-svn-id: file:///svn/Scribus/trunk/Scribus@19399 11d20701-8431-0410-a711-e3c959e3b870