summaryrefslogtreecommitdiff
path: root/sot/source/sdstor
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-09-12 21:55:05 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-09-13 10:15:20 +0100
commitc216006f0a35c812ca999d8f68eaeb8e453c58fa (patch)
treea18b64fd5c58a30864b30f1dfa6ccb301655ae3e /sot/source/sdstor
parentf64dc2c9fbc81d68315ee3a2dbc69411b9087ddb (diff)
remove commented out CHARSET_ANSI foo
Diffstat (limited to 'sot/source/sdstor')
-rw-r--r--sot/source/sdstor/stgelem.cxx28
1 files changed, 0 insertions, 28 deletions
diff --git a/sot/source/sdstor/stgelem.cxx b/sot/source/sdstor/stgelem.cxx
index efbbc21d40bb..26091e0c1cab 100644
--- a/sot/source/sdstor/stgelem.cxx
+++ b/sot/source/sdstor/stgelem.cxx
@@ -226,34 +226,6 @@ void StgHeader::SetMasters( sal_Int32 n )
///////////////////////////// class StgEntry /////////////////////////////
-// This class is only a wrapper around teh dir entry structure
-// which retrieves and sets data.
-
-// The name must be smaller than 32 chars. Conversion into Unicode
-// is easy, since the 1st 256 characters of the Windows ANSI set
-// equal the 1st 256 Unicode characters.
-/*
-void ToUnicode_Impl( String& rName )
-{
- rName.Erase( 32 );
- rName.Convert( ::GetSystemCharSet(), CHARSET_ANSI );
- // brute force is OK
- sal_uInt8* p = (sal_uInt8*) rName.GetCharStr();
- for( sal_uInt16 i = 0; i < rName.Len(); i++, p++ )
- {
- // check each character and substitute blanks for illegal ones
- sal_uInt8 cChar = *p;
- if( cChar == '!' || cChar == ':' || cChar == '\\' || cChar == '/' )
- *p = ' ';
- }
-}
-*/
-/*
-static void FromUnicode( String& rName )
-{
- rName.Convert( CHARSET_ANSI, ::GetSystemCharSet() );
-}
-*/
sal_Bool StgEntry::Init()
{
memset( this, 0, sizeof (StgEntry) - sizeof( String ) );