summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorRüdiger Timm <rt@openoffice.org>2006-02-09 13:20:17 +0000
committerRüdiger Timm <rt@openoffice.org>2006-02-09 13:20:17 +0000
commit2de984d39a12098fc8e03fc774301846a803ad6f (patch)
treed0461a95f2fb4d070a1adc4a0d3d0f0cc6fff2bc /svtools
parent9f4e2ca346582e615817560406116db86db07044 (diff)
INTEGRATION: CWS iconswitching2 (1.15.16); FILE MERGED
2006/01/31 20:01:39 kendy 1.15.16.2: #i60434# Changed the configuration key name from SymbolsStyle to SymbolStyle. 2006/01/16 18:20:53 kendy 1.15.16.1: #i60434# Make use of Crystal icons.
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/config/miscopt.cxx24
1 files changed, 12 insertions, 12 deletions
diff --git a/svtools/source/config/miscopt.cxx b/svtools/source/config/miscopt.cxx
index 491eda8859e5..54924565011e 100644
--- a/svtools/source/config/miscopt.cxx
+++ b/svtools/source/config/miscopt.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: miscopt.cxx,v $
*
- * $Revision: 1.15 $
+ * $Revision: 1.16 $
*
- * last change: $Author: kz $ $Date: 2006-01-05 18:12:59 $
+ * last change: $Author: rt $ $Date: 2006-02-09 14:20:17 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -107,8 +107,8 @@ using namespace ::com::sun::star;
#define PROPERTYHANDLE_TOOLBOXSTYLE 2
#define PROPERTYNAME_USESYSTEMFILEDIALOG ASCII_STR("UseSystemFileDialog")
#define PROPERTYHANDLE_USESYSTEMFILEDIALOG 3
-#define PROPERTYNAME_SYMBOLSSTYLE ASCII_STR("SymbolsStyle")
-#define PROPERTYHANDLE_SYMBOLSSTYLE 4
+#define PROPERTYNAME_SYMBOLSTYLE ASCII_STR("SymbolStyle")
+#define PROPERTYHANDLE_SYMBOLSTYLE 4
#define PROPERTYCOUNT 5
@@ -285,7 +285,7 @@ static sal_Int16 implSymbolsStyleFromVCL( ULONG nStyle )
case STYLE_SYMBOLS_DEFAULT: return SFX_SYMBOLS_STYLE_DEFAULT;
case STYLE_SYMBOLS_HICONTRAST: return SFX_SYMBOLS_STYLE_HICONTRAST;
case STYLE_SYMBOLS_INDUSTRIAL: return SFX_SYMBOLS_STYLE_INDUSTRIAL;
-// case STYLE_SYMBOLS_CRYSTAL: return SFX_SYMBOLS_STYLE_CRYSTAL;
+ case STYLE_SYMBOLS_CRYSTAL: return SFX_SYMBOLS_STYLE_CRYSTAL;
}
return SFX_SYMBOLS_STYLE_AUTO;
@@ -299,7 +299,7 @@ static ULONG implSymbolsStyleToVCL( sal_Int16 nStyle )
case SFX_SYMBOLS_STYLE_DEFAULT: return STYLE_SYMBOLS_DEFAULT;
case SFX_SYMBOLS_STYLE_HICONTRAST: return STYLE_SYMBOLS_HICONTRAST;
case SFX_SYMBOLS_STYLE_INDUSTRIAL: return STYLE_SYMBOLS_INDUSTRIAL;
-// case SFX_SYMBOLS_STYLE_CRYSTAL: return STYLE_SYMBOLS_CRYSTAL;
+ case SFX_SYMBOLS_STYLE_CRYSTAL: return STYLE_SYMBOLS_CRYSTAL;
}
return STYLE_SYMBOLS_AUTO;
@@ -375,13 +375,13 @@ SvtMiscOptions_Impl::SvtMiscOptions_Impl()
break;
}
- case PROPERTYHANDLE_SYMBOLSSTYLE :
+ case PROPERTYHANDLE_SYMBOLSTYLE :
{
::rtl::OUString aSymbolsStyle;
if( seqValues[nProperty] >>= aSymbolsStyle )
SetSymbolsStyleName( aSymbolsStyle );
else
- DBG_ERROR("Wrong type of \"Misc\\SymbolsStyle\"!" );
+ DBG_ERROR("Wrong type of \"Misc\\SymbolStyle\"!" );
m_bIsSymbolsStyleRO = seqRO[nProperty];
break;
}
@@ -461,12 +461,12 @@ void SvtMiscOptions_Impl::Load( const Sequence< OUString >& rPropertyNames )
DBG_ERROR("Wrong type of \"Misc\\PluginsEnabled\"!" );
}
break;
- case PROPERTYHANDLE_SYMBOLSSTYLE : {
+ case PROPERTYHANDLE_SYMBOLSTYLE : {
::rtl::OUString aSymbolsStyle;
if( seqValues[nProperty] >>= aSymbolsStyle )
SetSymbolsStyleName( aSymbolsStyle );
else
- DBG_ERROR("Wrong type of \"Misc\\SymbolsStyle\"!" );
+ DBG_ERROR("Wrong type of \"Misc\\SymbolStyle\"!" );
}
break;
}
@@ -605,7 +605,7 @@ void SvtMiscOptions_Impl::Commit()
break;
}
- case PROPERTYHANDLE_SYMBOLSSTYLE :
+ case PROPERTYHANDLE_SYMBOLSTYLE :
{
if ( !m_bIsSymbolsStyleRO )
seqValues[nProperty] <<= GetSymbolsStyleName();
@@ -629,7 +629,7 @@ Sequence< OUString > SvtMiscOptions_Impl::GetPropertyNames()
PROPERTYNAME_SYMBOLSET,
PROPERTYNAME_TOOLBOXSTYLE,
PROPERTYNAME_USESYSTEMFILEDIALOG,
- PROPERTYNAME_SYMBOLSSTYLE
+ PROPERTYNAME_SYMBOLSTYLE
};
// Initialize return sequence with these list ...