diff options
author | Ivan Timofeev <timofeev.i.s@gmail.com> | 2012-10-01 21:32:31 +0400 |
---|---|---|
committer | Ivan Timofeev <timofeev.i.s@gmail.com> | 2012-10-02 20:54:07 +0400 |
commit | 6fa4242439466be61c159d54cd85c2c44b631c32 (patch) | |
tree | 66c3501ef02a2df6759a5946b3cbe8d9b2b4d479 /starmath | |
parent | String -> OUString (diff) | |
download | core-6fa4242439466be61c159d54cd85c2c44b631c32.tar.gz core-6fa4242439466be61c159d54cd85c2c44b631c32.zip |
remove unused method
Change-Id: I7acca32fdf9902ce598bdbed32cccdecf9a08907
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/inc/utility.hxx | 6 | ||||
-rw-r--r-- | starmath/source/utility.cxx | 5 |
2 files changed, 0 insertions, 11 deletions
diff --git a/starmath/inc/utility.hxx b/starmath/inc/utility.hxx index 9ea1281eb96f..52aa72e60928 100644 --- a/starmath/inc/utility.hxx +++ b/starmath/inc/utility.hxx @@ -27,10 +27,6 @@ #include <tools/fract.hxx> -class String; - -///////////////////////////////////////////////////////////////// - inline long SmPtsTo100th_mm(long nNumPts) // returns the length (in 100th of mm) that corresponds to the length // 'nNumPts' (in units points). @@ -126,7 +122,6 @@ class SmPickList : public SfxPtrArr protected: sal_uInt16 nSize; - virtual void *CreateItem(const String& rString) = 0; virtual void *CreateItem(const void *pItem) = 0; virtual void DestroyItem(void *pItem) = 0; @@ -172,7 +167,6 @@ class SmFontDialog; class SmFontPickList : public SmPickList { protected: - virtual void *CreateItem(const String& rString); virtual void *CreateItem(const void *pItem); virtual void DestroyItem(void *pItem); diff --git a/starmath/source/utility.cxx b/starmath/source/utility.cxx index f1d64400073b..7cef6dec786e 100644 --- a/starmath/source/utility.cxx +++ b/starmath/source/utility.cxx @@ -129,11 +129,6 @@ void SmPickList::Clear() /**************************************************************************/ -void * SmFontPickList::CreateItem(const String& /*rString*/) -{ - return new Font(); -} - void * SmFontPickList::CreateItem(const void *pItem) { return new Font(*((Font *) pItem)); |