Kaydet (Commit) ccf21f4d authored tarafından Rüdiger Timm's avatar Rüdiger Timm

INTEGRATION: CWS salstrintern (1.8.22); FILE MERGED

2007/02/08 15:06:11 mmeeks 1.8.22.1: Issue number: i#74344#
Submitted by: mmeeks
undo custom & incomplete 'intern'ing code & use OUString::internConvert
instead for more speed, efficiency & savings.
üst 44c44a4d
...@@ -4,9 +4,9 @@ ...@@ -4,9 +4,9 @@
* *
* $RCSfile: binaryreadhandler.hxx,v $ * $RCSfile: binaryreadhandler.hxx,v $
* *
* $Revision: 1.8 $ * $Revision: 1.9 $
* *
* last change: $Author: kz $ $Date: 2006-11-06 14:46:59 $ * last change: $Author: rt $ $Date: 2007-04-03 13:57:56 $
* *
* The Contents of this file are made available subject to * The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1. * the terms of GNU Lesser General Public License Version 2.1.
...@@ -96,17 +96,6 @@ namespace configmgr ...@@ -96,17 +96,6 @@ namespace configmgr
ComponentDataFactory m_aNodeFactory; ComponentDataFactory m_aNodeFactory;
rtl::OUString m_aComponentName; rtl::OUString m_aComponentName;
// pool recent strings for re-use
enum NamePool {
GroupName,
SetName,
InstanceName,
InstanceModule,
ValueName,
LastEntry
};
int m_nInsert[LastEntry];
rtl::OUString m_aPreviousName[LastEntry][8];
public: public:
BinaryReadHandler(rtl::OUString const & _aFileURL, rtl::OUString const & _aComponentName, MultiServiceFactory const & _aFactory); BinaryReadHandler(rtl::OUString const & _aFileURL, rtl::OUString const & _aComponentName, MultiServiceFactory const & _aFactory);
~BinaryReadHandler(); ~BinaryReadHandler();
...@@ -167,7 +156,7 @@ namespace configmgr ...@@ -167,7 +156,7 @@ namespace configmgr
uno::Any& _aValue, uno::Any& _aDefaultValue,uno::Type& _aType) uno::Any& _aValue, uno::Any& _aDefaultValue,uno::Type& _aType)
SAL_THROW( (io::IOException, uno::RuntimeException) ); SAL_THROW( (io::IOException, uno::RuntimeException) );
void readName(rtl::OUString &_aString, NamePool ePool) void readName(rtl::OUString &_aString)
SAL_THROW( (io::IOException, uno::RuntimeException) ); SAL_THROW( (io::IOException, uno::RuntimeException) );
}; };
// --------------------------------------------------------------------------- // ---------------------------------------------------------------------------
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment