Browse Source

Remove unused colorIndexed member.

As all the indexed colors will be converted to rgb in the library when
reads an existing .xlsx file.

When write a .xlsx file, we never write indexed color.
master
Debao Zhang 11 years ago
parent
commit
af4de1afdb
  1. 7
      src/xlsx/xlsxformat.cpp
  2. 1
      src/xlsx/xlsxformat.h
  3. 1
      src/xlsx/xlsxformat_p.h

7
src/xlsx/xlsxformat.cpp

@ -42,7 +42,6 @@ FormatPrivate::FormatPrivate(Format *p) :
dxf_indexValid = false; dxf_indexValid = false;
theme = 0; theme = 0;
color_indexed = 0;
} }
/*! /*!
@ -983,10 +982,4 @@ int Format::theme() const
return d->theme; return d->theme;
} }
int Format::colorIndexed() const
{
Q_D(const Format);
return d->color_indexed;
}
QT_END_NAMESPACE_XLSX QT_END_NAMESPACE_XLSX

1
src/xlsx/xlsxformat.h

@ -253,7 +253,6 @@ private:
void setDxfIndex(int index); void setDxfIndex(int index);
int theme() const; int theme() const;
int colorIndexed() const;
FormatPrivate * const d_ptr; FormatPrivate * const d_ptr;
}; };

1
src/xlsx/xlsxformat_p.h

@ -266,7 +266,6 @@ public:
bool dxf_indexValid; bool dxf_indexValid;
int theme; int theme;
int color_indexed;
Format *q_ptr; Format *q_ptr;
}; };

Loading…
Cancel
Save