summaryrefslogtreecommitdiff
path: root/sdext/source/minimizer
diff options
context:
space:
mode:
Diffstat (limited to 'sdext/source/minimizer')
-rw-r--r--sdext/source/minimizer/configurationaccess.cxx4
-rw-r--r--sdext/source/minimizer/fileopendialog.cxx2
-rw-r--r--sdext/source/minimizer/impoptimizer.cxx4
-rw-r--r--sdext/source/minimizer/informationdialog.cxx8
-rw-r--r--sdext/source/minimizer/optimizationstats.cxx2
-rw-r--r--sdext/source/minimizer/optimizerdialog.cxx42
-rw-r--r--sdext/source/minimizer/pagecollector.cxx4
-rw-r--r--sdext/source/minimizer/pppoptimizer.cxx12
-rw-r--r--sdext/source/minimizer/pppoptimizerdialog.cxx12
9 files changed, 45 insertions, 45 deletions
diff --git a/sdext/source/minimizer/configurationaccess.cxx b/sdext/source/minimizer/configurationaccess.cxx
index d2761493beed..942fc2b1c7b6 100644
--- a/sdext/source/minimizer/configurationaccess.cxx
+++ b/sdext/source/minimizer/configurationaccess.cxx
@@ -349,7 +349,7 @@ Reference< XInterface > ConfigurationAccess::GetConfigurationNode(
return xNode;
}
-com::sun::star::uno::Any ConfigurationAccess::GetConfigProperty( const PPPOptimizerTokenEnum ePropertyToken ) const
+css::uno::Any ConfigurationAccess::GetConfigProperty( const PPPOptimizerTokenEnum ePropertyToken ) const
{
Any aRetValue;
const OptimizerSettings& rSettings( maSettings.front() );
@@ -383,7 +383,7 @@ com::sun::star::uno::Any ConfigurationAccess::GetConfigProperty( const PPPOptimi
return aRetValue;
}
-void ConfigurationAccess::SetConfigProperty( const PPPOptimizerTokenEnum ePropertyToken, const com::sun::star::uno::Any& rValue )
+void ConfigurationAccess::SetConfigProperty( const PPPOptimizerTokenEnum ePropertyToken, const css::uno::Any& rValue )
{
OptimizerSettings& rSettings( maSettings.front() );
try
diff --git a/sdext/source/minimizer/fileopendialog.cxx b/sdext/source/minimizer/fileopendialog.cxx
index c327ea55a50e..0cf2b82cf538 100644
--- a/sdext/source/minimizer/fileopendialog.cxx
+++ b/sdext/source/minimizer/fileopendialog.cxx
@@ -65,7 +65,7 @@ FileOpenDialog::FileOpenDialog( const Reference< XComponentContext >& rxContext
{
xAccess->setValue( ExtendedFilePickerElementIds::CHECKBOX_AUTOEXTENSION, 0, Any( true ) );
}
- catch( com::sun::star::uno::Exception& )
+ catch( css::uno::Exception& )
{}
}
diff --git a/sdext/source/minimizer/impoptimizer.cxx b/sdext/source/minimizer/impoptimizer.cxx
index 318ab61250ac..db7a788ab037 100644
--- a/sdext/source/minimizer/impoptimizer.cxx
+++ b/sdext/source/minimizer/impoptimizer.cxx
@@ -265,7 +265,7 @@ Reference< XGraphic > ImpCompressGraphic( const Reference< XComponentContext >&
if ( xGraphicPropertySet->getPropertyValue( "MimeType" ) >>= aSourceMimeType )
{
sal_Int8 nGraphicType( xGraphic->getType() );
- if ( nGraphicType == com::sun::star::graphic::GraphicType::PIXEL )
+ if ( nGraphicType == css::graphic::GraphicType::PIXEL )
{
bool bTransparent = false;
bool bAlpha = false;
@@ -615,7 +615,7 @@ bool ImpOptimizer::Optimize( const Sequence< PropertyValue >& rArguments )
case TK_InformationDialog: rArguments[ i ].Value >>= mxInformationDialog; break;
case TK_Settings :
{
- com::sun::star::uno::Sequence< com::sun::star::beans::PropertyValue > aSettings;
+ css::uno::Sequence< css::beans::PropertyValue > aSettings;
int j, nJCount;
rArguments[ i ].Value >>= aSettings;
for ( j = 0, nJCount = aSettings.getLength(); j < nJCount; j++ )
diff --git a/sdext/source/minimizer/informationdialog.cxx b/sdext/source/minimizer/informationdialog.cxx
index 84987e6cace5..d50d20b0eb1a 100644
--- a/sdext/source/minimizer/informationdialog.cxx
+++ b/sdext/source/minimizer/informationdialog.cxx
@@ -296,7 +296,7 @@ void InformationDialog::InitDialog()
if ( k >= 0 )
aInfoString = aInfoString.replaceAt( k, aTitlePlaceholder.getLength(), aTitle );
- com::sun::star::uno::Reference< com::sun::star::awt::XItemListener > xItemListener;
+ css::uno::Reference< css::awt::XItemListener > xItemListener;
InsertImage( *this,
OUString( "aboutimage" ),
OUString( "private:standardimage/query" ),
@@ -359,15 +359,15 @@ bool InformationDialog::execute()
void OKActionListener::actionPerformed( const ActionEvent& rEvent )
- throw ( com::sun::star::uno::RuntimeException, std::exception )
+ throw ( css::uno::RuntimeException, std::exception )
{
if ( rEvent.ActionCommand == "button" )
{
mrInformationDialog.endExecute( true );
}
}
-void OKActionListener::disposing( const ::com::sun::star::lang::EventObject& /* Source */ )
- throw ( com::sun::star::uno::RuntimeException, std::exception )
+void OKActionListener::disposing( const css::lang::EventObject& /* Source */ )
+ throw ( css::uno::RuntimeException, std::exception )
{
}
diff --git a/sdext/source/minimizer/optimizationstats.cxx b/sdext/source/minimizer/optimizationstats.cxx
index 762257011c83..03a07e21eb60 100644
--- a/sdext/source/minimizer/optimizationstats.cxx
+++ b/sdext/source/minimizer/optimizationstats.cxx
@@ -54,7 +54,7 @@ const uno::Any* OptimizationStats::GetStatusValue( const PPPOptimizerTokenEnum e
-com::sun::star::beans::PropertyValues OptimizationStats::GetStatusSequence()
+css::beans::PropertyValues OptimizationStats::GetStatusSequence()
{
int i = 0;
uno::Sequence< PropertyValue > aStatsSequence( maStats.size() );
diff --git a/sdext/source/minimizer/optimizerdialog.cxx b/sdext/source/minimizer/optimizerdialog.cxx
index 0a37e6b3e670..a21141163fb8 100644
--- a/sdext/source/minimizer/optimizerdialog.cxx
+++ b/sdext/source/minimizer/optimizerdialog.cxx
@@ -329,7 +329,7 @@ OUString OptimizerDialog::GetSelectedString( OUString const & token )
-void OptimizerDialog::UpdateStatus( const com::sun::star::uno::Sequence< com::sun::star::beans::PropertyValue >& rStatus )
+void OptimizerDialog::UpdateStatus( const css::uno::Sequence< css::beans::PropertyValue >& rStatus )
{
if ( mxReschedule.is() )
{
@@ -489,15 +489,15 @@ void ItemListener::itemStateChanged( const ItemEvent& Event )
}
}
-void ItemListener::disposing( const ::com::sun::star::lang::EventObject& /* Source */ )
- throw ( com::sun::star::uno::RuntimeException, std::exception )
+void ItemListener::disposing( const css::lang::EventObject& /* Source */ )
+ throw ( css::uno::RuntimeException, std::exception )
{
}
void ActionListener::actionPerformed( const ActionEvent& rEvent )
- throw ( com::sun::star::uno::RuntimeException, std::exception )
+ throw ( css::uno::RuntimeException, std::exception )
{
switch( TKGet( rEvent.ActionCommand ) )
{
@@ -639,15 +639,15 @@ void ActionListener::actionPerformed( const ActionEvent& rEvent )
default: break;
}
}
-void ActionListener::disposing( const ::com::sun::star::lang::EventObject& /* Source */ )
- throw ( com::sun::star::uno::RuntimeException, std::exception )
+void ActionListener::disposing( const css::lang::EventObject& /* Source */ )
+ throw ( css::uno::RuntimeException, std::exception )
{
}
void ActionListenerListBox0Pg0::actionPerformed( const ActionEvent& rEvent )
- throw ( com::sun::star::uno::RuntimeException, std::exception )
+ throw ( css::uno::RuntimeException, std::exception )
{
if ( !rEvent.ActionCommand.isEmpty() )
{
@@ -658,30 +658,30 @@ void ActionListenerListBox0Pg0::actionPerformed( const ActionEvent& rEvent )
}
mrOptimizerDialog.UpdateControlStates();
}
-void ActionListenerListBox0Pg0::disposing( const ::com::sun::star::lang::EventObject& /* Source */ )
- throw ( com::sun::star::uno::RuntimeException, std::exception )
+void ActionListenerListBox0Pg0::disposing( const css::lang::EventObject& /* Source */ )
+ throw ( css::uno::RuntimeException, std::exception )
{
}
void TextListenerFormattedField0Pg1::textChanged( const TextEvent& /* rEvent */ )
- throw ( com::sun::star::uno::RuntimeException, std::exception )
+ throw ( css::uno::RuntimeException, std::exception )
{
double fDouble = 0;
Any aAny = mrOptimizerDialog.getControlProperty( "FormattedField0Pg1", "EffectiveValue" );
if ( aAny >>= fDouble )
mrOptimizerDialog.SetConfigProperty( TK_JPEGQuality, Any( (sal_Int32)fDouble ) );
}
-void TextListenerFormattedField0Pg1::disposing( const ::com::sun::star::lang::EventObject& /* Source */ )
- throw ( com::sun::star::uno::RuntimeException, std::exception )
+void TextListenerFormattedField0Pg1::disposing( const css::lang::EventObject& /* Source */ )
+ throw ( css::uno::RuntimeException, std::exception )
{
}
void TextListenerComboBox0Pg1::textChanged( const TextEvent& /* rEvent */ )
- throw ( com::sun::star::uno::RuntimeException, std::exception )
+ throw ( css::uno::RuntimeException, std::exception )
{
OUString aString;
Any aAny = mrOptimizerDialog.getControlProperty( "ComboBox0Pg1", "Text" );
@@ -702,15 +702,15 @@ void TextListenerComboBox0Pg1::textChanged( const TextEvent& /* rEvent */ )
mrOptimizerDialog.SetConfigProperty( TK_ImageResolution, Any( aString.toInt32() ) );
}
}
-void TextListenerComboBox0Pg1::disposing( const ::com::sun::star::lang::EventObject& /* Source */ )
- throw ( com::sun::star::uno::RuntimeException, std::exception )
+void TextListenerComboBox0Pg1::disposing( const css::lang::EventObject& /* Source */ )
+ throw ( css::uno::RuntimeException, std::exception )
{
}
void SpinListenerFormattedField0Pg1::up( const SpinEvent& /* rEvent */ )
- throw ( com::sun::star::uno::RuntimeException, std::exception )
+ throw ( css::uno::RuntimeException, std::exception )
{
double fDouble;
Any aAny = mrOptimizerDialog.getControlProperty( "FormattedField0Pg1", "EffectiveValue" );
@@ -724,7 +724,7 @@ void SpinListenerFormattedField0Pg1::up( const SpinEvent& /* rEvent */ )
}
}
void SpinListenerFormattedField0Pg1::down( const SpinEvent& /* rEvent */ )
- throw ( com::sun::star::uno::RuntimeException, std::exception )
+ throw ( css::uno::RuntimeException, std::exception )
{
double fDouble;
Any aAny = mrOptimizerDialog.getControlProperty( "FormattedField0Pg1", "EffectiveValue" );
@@ -738,19 +738,19 @@ void SpinListenerFormattedField0Pg1::down( const SpinEvent& /* rEvent */ )
}
}
void SpinListenerFormattedField0Pg1::first( const SpinEvent& /* rEvent */ )
- throw ( com::sun::star::uno::RuntimeException, std::exception )
+ throw ( css::uno::RuntimeException, std::exception )
{
mrOptimizerDialog.setControlProperty( "FormattedField0Pg1", "EffectiveValue", Any( static_cast< double >( 0 ) ) );
mrOptimizerDialog.SetConfigProperty( TK_JPEGQuality, Any( (sal_Int32)0 ) );
}
void SpinListenerFormattedField0Pg1::last( const SpinEvent& /* rEvent */ )
- throw ( com::sun::star::uno::RuntimeException, std::exception )
+ throw ( css::uno::RuntimeException, std::exception )
{
mrOptimizerDialog.setControlProperty( "FormattedField0Pg1", "EffectiveValue", Any( static_cast< double >( 100 ) ) );
mrOptimizerDialog.SetConfigProperty( TK_JPEGQuality, Any( (sal_Int32)100 ) );
}
-void SpinListenerFormattedField0Pg1::disposing( const ::com::sun::star::lang::EventObject& /* Source */ )
- throw ( com::sun::star::uno::RuntimeException, std::exception )
+void SpinListenerFormattedField0Pg1::disposing( const css::lang::EventObject& /* Source */ )
+ throw ( css::uno::RuntimeException, std::exception )
{
}
diff --git a/sdext/source/minimizer/pagecollector.cxx b/sdext/source/minimizer/pagecollector.cxx
index 753119a77295..a45ac6826be1 100644
--- a/sdext/source/minimizer/pagecollector.cxx
+++ b/sdext/source/minimizer/pagecollector.cxx
@@ -36,7 +36,7 @@ using namespace ::com::sun::star::beans;
using namespace ::com::sun::star::container;
using namespace ::com::sun::star::presentation;
-void PageCollector::CollectCustomShowPages( const com::sun::star::uno::Reference< com::sun::star::frame::XModel >& rxModel, const OUString& rCustomShowName, std::vector< Reference< XDrawPage > >& rUsedPageList )
+void PageCollector::CollectCustomShowPages( const css::uno::Reference< css::frame::XModel >& rxModel, const OUString& rCustomShowName, std::vector< Reference< XDrawPage > >& rUsedPageList )
{
try
{
@@ -78,7 +78,7 @@ void PageCollector::CollectCustomShowPages( const com::sun::star::uno::Reference
}
}
-void PageCollector::CollectNonCustomShowPages( const com::sun::star::uno::Reference< com::sun::star::frame::XModel >& rxModel, const OUString& rCustomShowName, std::vector< Reference< XDrawPage > >& rNonUsedPageList )
+void PageCollector::CollectNonCustomShowPages( const css::uno::Reference< css::frame::XModel >& rxModel, const OUString& rCustomShowName, std::vector< Reference< XDrawPage > >& rNonUsedPageList )
{
try
{
diff --git a/sdext/source/minimizer/pppoptimizer.cxx b/sdext/source/minimizer/pppoptimizer.cxx
index f6341f6fd7d3..74219a8d3716 100644
--- a/sdext/source/minimizer/pppoptimizer.cxx
+++ b/sdext/source/minimizer/pppoptimizer.cxx
@@ -50,7 +50,7 @@ PPPOptimizer::~PPPOptimizer()
// XDispatchProvider
-Reference< com::sun::star::frame::XDispatch > SAL_CALL PPPOptimizer::queryDispatch(
+Reference< css::frame::XDispatch > SAL_CALL PPPOptimizer::queryDispatch(
const URL& aURL, const OUString& /* aTargetFrameName */, sal_Int32 /* nSearchFlags */ ) throw( RuntimeException, std::exception )
{
Reference < XDispatch > xRet;
@@ -64,12 +64,12 @@ Reference< com::sun::star::frame::XDispatch > SAL_CALL PPPOptimizer::queryDispat
-Sequence< Reference< com::sun::star::frame::XDispatch > > SAL_CALL PPPOptimizer::queryDispatches(
- const Sequence< com::sun::star::frame::DispatchDescriptor >& aDescripts ) throw( RuntimeException, std::exception )
+Sequence< Reference< css::frame::XDispatch > > SAL_CALL PPPOptimizer::queryDispatches(
+ const Sequence< css::frame::DispatchDescriptor >& aDescripts ) throw( RuntimeException, std::exception )
{
- Sequence< Reference< com::sun::star::frame::XDispatch> > aReturn( aDescripts.getLength() );
- Reference< com::sun::star::frame::XDispatch>* pReturn = aReturn.getArray();
- const com::sun::star::frame::DispatchDescriptor* pDescripts = aDescripts.getConstArray();
+ Sequence< Reference< css::frame::XDispatch> > aReturn( aDescripts.getLength() );
+ Reference< css::frame::XDispatch>* pReturn = aReturn.getArray();
+ const css::frame::DispatchDescriptor* pDescripts = aDescripts.getConstArray();
for (sal_Int32 i = 0; i < aDescripts.getLength(); ++i, ++pReturn, ++pDescripts )
{
*pReturn = queryDispatch( pDescripts->FeatureURL, pDescripts->FrameName, pDescripts->SearchFlags );
diff --git a/sdext/source/minimizer/pppoptimizerdialog.cxx b/sdext/source/minimizer/pppoptimizerdialog.cxx
index 312cf087a31b..049c77ef9549 100644
--- a/sdext/source/minimizer/pppoptimizerdialog.cxx
+++ b/sdext/source/minimizer/pppoptimizerdialog.cxx
@@ -70,7 +70,7 @@ Sequence< OUString > SAL_CALL PPPOptimizerDialog::getSupportedServiceNames()
return PPPOptimizerDialog_getSupportedServiceNames();
}
-Reference< com::sun::star::frame::XDispatch > SAL_CALL PPPOptimizerDialog::queryDispatch(
+Reference< css::frame::XDispatch > SAL_CALL PPPOptimizerDialog::queryDispatch(
const URL& aURL, const OUString& /* aTargetFrameName */, sal_Int32 /* nSearchFlags */ ) throw( RuntimeException, std::exception )
{
Reference < XDispatch > xRet;
@@ -80,12 +80,12 @@ Reference< com::sun::star::frame::XDispatch > SAL_CALL PPPOptimizerDialog::query
return xRet;
}
-Sequence< Reference< com::sun::star::frame::XDispatch > > SAL_CALL PPPOptimizerDialog::queryDispatches(
- const Sequence< com::sun::star::frame::DispatchDescriptor >& aDescripts ) throw( RuntimeException, std::exception )
+Sequence< Reference< css::frame::XDispatch > > SAL_CALL PPPOptimizerDialog::queryDispatches(
+ const Sequence< css::frame::DispatchDescriptor >& aDescripts ) throw( RuntimeException, std::exception )
{
- Sequence< Reference< com::sun::star::frame::XDispatch> > aReturn( aDescripts.getLength() );
- Reference< com::sun::star::frame::XDispatch>* pReturn = aReturn.getArray();
- const com::sun::star::frame::DispatchDescriptor* pDescripts = aDescripts.getConstArray();
+ Sequence< Reference< css::frame::XDispatch> > aReturn( aDescripts.getLength() );
+ Reference< css::frame::XDispatch>* pReturn = aReturn.getArray();
+ const css::frame::DispatchDescriptor* pDescripts = aDescripts.getConstArray();
for (sal_Int32 i = 0; i < aDescripts.getLength(); ++i, ++pReturn, ++pDescripts )
{
*pReturn = queryDispatch( pDescripts->FeatureURL, pDescripts->FrameName, pDescripts->SearchFlags );