diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2011-03-01 23:19:09 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2011-03-02 08:21:01 +0100 |
commit | a2c9473854d21cea408956d3b05b923a4d8edd3a (patch) | |
tree | 7c10d112e36955776fd445750f1abb599f84e05e | |
parent | fa802cfb216bf9ba5a39d12df343717fb5328823 (diff) |
Remove USE_SAVE_STATE
-rw-r--r-- | extensions/source/scanner/sanedlg.cxx | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/extensions/source/scanner/sanedlg.cxx b/extensions/source/scanner/sanedlg.cxx index fbd8390c0fde..25dd1d7e3f2a 100644 --- a/extensions/source/scanner/sanedlg.cxx +++ b/extensions/source/scanner/sanedlg.cxx @@ -40,8 +40,6 @@ #include <math.h> #include <sal/macros.h> -#define USE_SAVE_STATE - ResId SaneResId( sal_uInt32 nID ) { static ResMgr* pResMgr = ResMgr::CreateResMgr( "san" ); @@ -1169,7 +1167,6 @@ void SaneDlg::UpdateScanArea( BOOL bSend ) BOOL SaneDlg::LoadState() { -#ifdef USE_SAVE_STATE int i; if( ! Sane::IsSane() ) @@ -1235,14 +1232,10 @@ BOOL SaneDlg::LoadState() InitFields(); return TRUE; -#else - return FALSE; -#endif } void SaneDlg::SaveState() { -#ifdef USE_SAVE_STATE if( ! Sane::IsSane() ) return; @@ -1319,7 +1312,6 @@ void SaneDlg::SaveState() } } } -#endif } BOOL SaneDlg::SetAdjustedNumericalValue( |