diff options
author | Krisztian Pinter <pin.terminator@gmail.com> | 2013-02-19 21:45:07 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2013-02-20 23:22:48 +0000 |
commit | 9a8cc22f88b1274b2f254c6f6adf1ad76b8304dd (patch) | |
tree | 9c30712d923d627c4a418a3567d70183eb606b03 /filter/source/flash/impswfdialog.cxx | |
parent | 1a5c827302bfa0f6fcc5d2e6a6fcbf52c370455d (diff) |
RTL_CONSTASCII_USTRINGPARAM removals
Change-Id: I389c863f7ea83071a3d3b43a33f505e9e1ce7d16
Reviewed-on: https://gerrit.libreoffice.org/2285
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
Diffstat (limited to 'filter/source/flash/impswfdialog.cxx')
-rw-r--r-- | filter/source/flash/impswfdialog.cxx | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/filter/source/flash/impswfdialog.cxx b/filter/source/flash/impswfdialog.cxx index 05f0677e22ac..18f74ec5c054 100644 --- a/filter/source/flash/impswfdialog.cxx +++ b/filter/source/flash/impswfdialog.cxx @@ -52,9 +52,9 @@ ImpSWFDialog::ImpSWFDialog( Window* pParent, ResMgr& rResMgr, Sequence< Property maBtnOK( this, ResId( BTN_OK, rResMgr ) ), maBtnCancel( this, ResId( BTN_CANCEL, rResMgr ) ), maBtnHelp( this, ResId( BTN_HELP, rResMgr ) ), - maConfigItem( String( RTL_CONSTASCII_USTRINGPARAM( "Office.Common/Filter/Flash/Export/" ) ), &rFilterData ) + maConfigItem( "Office.Common/Filter/Flash/Export/", &rFilterData ) { - const sal_uLong nCompressMode = maConfigItem.ReadInt32( String( RTL_CONSTASCII_USTRINGPARAM( "CompressMode" ) ), 75 ); + const sal_uLong nCompressMode = maConfigItem.ReadInt32( "CompressMode", 75 ); maNumFldQuality.SetValue( nCompressMode ); maCheckExportAll.Check(); @@ -85,14 +85,14 @@ ImpSWFDialog::~ImpSWFDialog() Sequence< PropertyValue > ImpSWFDialog::GetFilterData() { sal_Int32 nCompressMode = (sal_Int32)maNumFldQuality.GetValue(); - maConfigItem.WriteInt32( OUString( RTL_CONSTASCII_USTRINGPARAM( "CompressMode" ) ), nCompressMode ); - maConfigItem.WriteBool( OUString( RTL_CONSTASCII_USTRINGPARAM( "ExportAll" ) ), maCheckExportAll.IsChecked() ); - maConfigItem.WriteBool( OUString( RTL_CONSTASCII_USTRINGPARAM( "ExportBackgrounds" ) ), maCheckExportBackgrounds.IsChecked() ); - maConfigItem.WriteBool( OUString( RTL_CONSTASCII_USTRINGPARAM( "ExportBackgroundObjects" ) ), maCheckExportBackgroundObjects.IsChecked() ); - maConfigItem.WriteBool( OUString( RTL_CONSTASCII_USTRINGPARAM( "ExportSlideContents" ) ), maCheckExportSlideContents.IsChecked() ); - maConfigItem.WriteBool( OUString( RTL_CONSTASCII_USTRINGPARAM( "ExportSound" ) ), maCheckExportSound.IsChecked() ); - maConfigItem.WriteBool( OUString( RTL_CONSTASCII_USTRINGPARAM( "ExportOLEAsJPEG" ) ), maCheckExportOLEAsJPEG.IsChecked() ); - maConfigItem.WriteBool( OUString( RTL_CONSTASCII_USTRINGPARAM( "ExportMultipleFiles" ) ), maCheckExportMultipleFiles.IsChecked() ); + maConfigItem.WriteInt32( "CompressMode" , nCompressMode ); + maConfigItem.WriteBool( "ExportAll", maCheckExportAll.IsChecked() ); + maConfigItem.WriteBool( "ExportBackgrounds", maCheckExportBackgrounds.IsChecked() ); + maConfigItem.WriteBool( "ExportBackgroundObjects", maCheckExportBackgroundObjects.IsChecked() ); + maConfigItem.WriteBool( "ExportSlideContents", maCheckExportSlideContents.IsChecked() ); + maConfigItem.WriteBool( "ExportSound", maCheckExportSound.IsChecked() ); + maConfigItem.WriteBool( "ExportOLEAsJPEG", maCheckExportOLEAsJPEG.IsChecked() ); + maConfigItem.WriteBool( "ExportMultipleFiles", maCheckExportMultipleFiles.IsChecked() ); Sequence< PropertyValue > aRet( maConfigItem.GetFilterData() ); |