summaryrefslogtreecommitdiffstats
path: root/src/sp-font-face.cpp
diff options
context:
space:
mode:
authorKris De Gussem <kris.degussem@gmail.com>2012-04-09 19:24:32 +0000
committerKris <Kris.De.Gussem@hotmail.com>2012-04-09 19:24:32 +0000
commitcdefc3a1c5cb127007c4c013f58a5bec21aa36a3 (patch)
tree45d3c2621b3a2b2f5f5ecdaf6d98d75292ed240b /src/sp-font-face.cpp
parentcppcheck stuff (diff)
downloadinkscape-cdefc3a1c5cb127007c4c013f58a5bec21aa36a3.tar.gz
inkscape-cdefc3a1c5cb127007c4c013f58a5bec21aa36a3.zip
code cleanup: dropping some unused code
(bzr r11202)
Diffstat (limited to 'src/sp-font-face.cpp')
-rw-r--r--src/sp-font-face.cpp32
1 files changed, 0 insertions, 32 deletions
diff --git a/src/sp-font-face.cpp b/src/sp-font-face.cpp
index 05f71cbf6..e9faabdc6 100644
--- a/src/sp-font-face.cpp
+++ b/src/sp-font-face.cpp
@@ -27,38 +27,6 @@
#include <cstring>
-//TODO: apparently unused. Maybe should be removed.
-class ObjectContainer
-{
-
-public:
- ObjectContainer(double def){
- this->isset = false;
- this->default_value = def;
- }
-
- double get(){
- if (this->isset)
- return this->obj;
- else
- return this->default_value;
- }
-
- void set(double val){
- this->obj = val;
- this->isset = true;
- }
-
- void unset(){
- this->isset = false;
- }
-
-private:
- double obj;
- double default_value;
- bool isset;
-};
-
static std::vector<FontFaceStyleType> sp_read_fontFaceStyleType(gchar const *value){
std::vector<FontFaceStyleType> v;