summaryrefslogtreecommitdiff
path: root/unotools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-08-04 09:34:18 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-08-04 09:36:47 +0100
commit4665608ae8824128d9cc0bf8a21c47140cb5dd05 (patch)
tree66f9b9a685f7a7151871f238b6ab6e6255dd82d4 /unotools
parent9c0bcbaa53871c1f416828b21695e8ce6eb82e7e (diff)
callcatcher: remove unused methods
Diffstat (limited to 'unotools')
-rw-r--r--unotools/inc/unotools/accelcfg.hxx1
-rw-r--r--unotools/source/config/accelcfg.cxx25
2 files changed, 0 insertions, 26 deletions
diff --git a/unotools/inc/unotools/accelcfg.hxx b/unotools/inc/unotools/accelcfg.hxx
index 9bc3f2178e34..633ab38bf6f8 100644
--- a/unotools/inc/unotools/accelcfg.hxx
+++ b/unotools/inc/unotools/accelcfg.hxx
@@ -60,7 +60,6 @@ public:
SvtAcceleratorConfiguration();
// get special accelerators
- static SvtAcceleratorConfiguration* CreateFromStream( SvStream& rStream );
static String GetStreamName();
static SvStream* GetDefaultStream( StreamMode );
diff --git a/unotools/source/config/accelcfg.cxx b/unotools/source/config/accelcfg.cxx
index c1748e3b411c..ca7200f07bb5 100644
--- a/unotools/source/config/accelcfg.cxx
+++ b/unotools/source/config/accelcfg.cxx
@@ -173,31 +173,6 @@ SvtAcceleratorConfiguration::SvtAcceleratorConfiguration()
pImp = pOptions;
}
-SvtAcceleratorConfiguration* SvtAcceleratorConfiguration::CreateFromStream( SvStream& rStream )
-{
- SvtAcceleratorConfiguration* pRet = new SvtAcceleratorConfiguration;
- ::utl::OInputStreamWrapper aHelper( rStream );
- com::sun::star::uno::Reference < ::com::sun::star::io::XInputStream > xOut( &aHelper );
- try
- {
- pRet->pImp = new SvtAcceleratorConfig_Impl( xOut );
- }
- catch ( RuntimeException& )
- {
- DELETEZ( pRet );
- }
- catch( SAXException& )
- {
- DELETEZ( pRet );
- }
- catch( ::com::sun::star::io::IOException& )
- {
- DELETEZ( pRet );
- }
-
- return pRet;
-}
-
// -----------------------------------------------------------------------
SvtAcceleratorConfiguration::~SvtAcceleratorConfiguration()