summaryrefslogtreecommitdiff
path: root/sw/source/ui/vba
diff options
context:
space:
mode:
Diffstat (limited to 'sw/source/ui/vba')
-rw-r--r--sw/source/ui/vba/vbaaddin.cxx2
-rw-r--r--sw/source/ui/vba/vbaaddins.cxx2
-rw-r--r--sw/source/ui/vba/vbaapplication.cxx2
-rw-r--r--sw/source/ui/vba/vbaautotextentry.cxx6
-rw-r--r--sw/source/ui/vba/vbabookmark.cxx2
-rw-r--r--sw/source/ui/vba/vbabookmarks.cxx2
-rw-r--r--sw/source/ui/vba/vbaborders.cxx4
-rw-r--r--sw/source/ui/vba/vbacell.cxx2
-rw-r--r--sw/source/ui/vba/vbacells.cxx2
-rw-r--r--sw/source/ui/vba/vbacolumn.cxx2
-rw-r--r--sw/source/ui/vba/vbacolumns.cxx2
-rw-r--r--sw/source/ui/vba/vbadialog.cxx2
-rw-r--r--sw/source/ui/vba/vbadialogs.cxx2
-rw-r--r--sw/source/ui/vba/vbadocument.cxx6
-rw-r--r--sw/source/ui/vba/vbadocumentproperties.cxx4
-rw-r--r--sw/source/ui/vba/vbadocuments.cxx2
-rw-r--r--sw/source/ui/vba/vbafield.cxx6
-rw-r--r--sw/source/ui/vba/vbafind.cxx2
-rw-r--r--sw/source/ui/vba/vbafont.cxx2
-rw-r--r--sw/source/ui/vba/vbaformfield.cxx2
-rw-r--r--sw/source/ui/vba/vbaformfields.cxx2
-rw-r--r--sw/source/ui/vba/vbaframe.cxx2
-rw-r--r--sw/source/ui/vba/vbaframes.cxx2
-rw-r--r--sw/source/ui/vba/vbaglobals.cxx4
-rw-r--r--sw/source/ui/vba/vbaheaderfooter.cxx6
-rw-r--r--sw/source/ui/vba/vbaheaderfooterhelper.cxx16
-rw-r--r--sw/source/ui/vba/vbaheadersfooters.cxx2
-rw-r--r--sw/source/ui/vba/vbalistformat.cxx2
-rw-r--r--sw/source/ui/vba/vbalistgalleries.cxx2
-rw-r--r--sw/source/ui/vba/vbalistgallery.cxx2
-rw-r--r--sw/source/ui/vba/vbalistlevel.cxx2
-rw-r--r--sw/source/ui/vba/vbalistlevels.cxx2
-rw-r--r--sw/source/ui/vba/vbalisttemplate.cxx2
-rw-r--r--sw/source/ui/vba/vbalisttemplates.cxx2
-rw-r--r--sw/source/ui/vba/vbaoptions.cxx16
-rw-r--r--sw/source/ui/vba/vbapagesetup.cxx6
-rw-r--r--sw/source/ui/vba/vbapane.cxx4
-rw-r--r--sw/source/ui/vba/vbapanes.cxx2
-rw-r--r--sw/source/ui/vba/vbaparagraph.cxx4
-rw-r--r--sw/source/ui/vba/vbaparagraphformat.cxx4
-rw-r--r--sw/source/ui/vba/vbarange.cxx6
-rw-r--r--sw/source/ui/vba/vbareplacement.cxx2
-rw-r--r--sw/source/ui/vba/vbarevision.cxx2
-rw-r--r--sw/source/ui/vba/vbarevisions.cxx2
-rw-r--r--sw/source/ui/vba/vbarow.cxx2
-rw-r--r--sw/source/ui/vba/vbarows.cxx2
-rw-r--r--sw/source/ui/vba/vbasection.cxx2
-rw-r--r--sw/source/ui/vba/vbasections.cxx2
-rw-r--r--sw/source/ui/vba/vbaselection.cxx12
-rw-r--r--sw/source/ui/vba/vbastyle.cxx2
-rw-r--r--sw/source/ui/vba/vbastyles.cxx8
-rw-r--r--sw/source/ui/vba/vbasystem.cxx2
-rw-r--r--sw/source/ui/vba/vbatable.cxx2
-rw-r--r--sw/source/ui/vba/vbatableofcontents.cxx2
-rw-r--r--sw/source/ui/vba/vbatables.cxx2
-rw-r--r--sw/source/ui/vba/vbatablesofcontents.cxx2
-rw-r--r--sw/source/ui/vba/vbatabstop.cxx2
-rw-r--r--sw/source/ui/vba/vbatabstops.cxx2
-rw-r--r--sw/source/ui/vba/vbatemplate.cxx2
-rw-r--r--sw/source/ui/vba/vbavariable.cxx2
-rw-r--r--sw/source/ui/vba/vbavariables.cxx2
-rw-r--r--sw/source/ui/vba/vbaview.cxx18
-rw-r--r--sw/source/ui/vba/vbawindow.cxx2
-rw-r--r--sw/source/ui/vba/vbawrapformat.cxx2
64 files changed, 112 insertions, 112 deletions
diff --git a/sw/source/ui/vba/vbaaddin.cxx b/sw/source/ui/vba/vbaaddin.cxx
index 336b953bf953..93c0a64a4a63 100644
--- a/sw/source/ui/vba/vbaaddin.cxx
+++ b/sw/source/ui/vba/vbaaddin.cxx
@@ -87,7 +87,7 @@ SwVbaAddin::getServiceNames()
if ( aServiceNames.getLength() == 0 )
{
aServiceNames.realloc( 1 );
- aServiceNames[ 0 ] = OUString("ooo.vba.word.Addin" );
+ aServiceNames[ 0 ] = "ooo.vba.word.Addin";
}
return aServiceNames;
}
diff --git a/sw/source/ui/vba/vbaaddins.cxx b/sw/source/ui/vba/vbaaddins.cxx
index 6956f9384d0a..ab62eed64c3c 100644
--- a/sw/source/ui/vba/vbaaddins.cxx
+++ b/sw/source/ui/vba/vbaaddins.cxx
@@ -92,7 +92,7 @@ SwVbaAddins::getServiceNames()
if ( sNames.getLength() == 0 )
{
sNames.realloc( 1 );
- sNames[0] = OUString("ooo.vba.word.Addins");
+ sNames[0] = "ooo.vba.word.Addins";
}
return sNames;
}
diff --git a/sw/source/ui/vba/vbaapplication.cxx b/sw/source/ui/vba/vbaapplication.cxx
index 35e6d6ec60c2..ac67ee0760aa 100644
--- a/sw/source/ui/vba/vbaapplication.cxx
+++ b/sw/source/ui/vba/vbaapplication.cxx
@@ -184,7 +184,7 @@ SwVbaApplication::getServiceNames()
if ( aServiceNames.getLength() == 0 )
{
aServiceNames.realloc( 1 );
- aServiceNames[ 0 ] = OUString("ooo.vba.word.Application" );
+ aServiceNames[ 0 ] = "ooo.vba.word.Application";
}
return aServiceNames;
}
diff --git a/sw/source/ui/vba/vbaautotextentry.cxx b/sw/source/ui/vba/vbaautotextentry.cxx
index d55358bd333b..9ac6382fbbba 100644
--- a/sw/source/ui/vba/vbaautotextentry.cxx
+++ b/sw/source/ui/vba/vbaautotextentry.cxx
@@ -63,7 +63,7 @@ uno::Reference< word::XRange > SAL_CALL SwVbaAutoTextEntry::Insert( const uno::R
uno::Reference< text::XTextViewCursor > xTVCursor = word::getXTextViewCursor( xModel );
uno::Reference< text::XTextRange > xCurrentRange( xTC->getEnd(), uno::UNO_QUERY_THROW );
xTVCursor->gotoRange( xCurrentRange, sal_False );
- OUString url = OUString( ".uno:Delete");
+ OUString url = ".uno:Delete";
dispatchRequests( xModel,url );
xTVCursor->gotoRange( xEndMarker->getEnd(), sal_False );
}
@@ -88,7 +88,7 @@ SwVbaAutoTextEntry::getServiceNames()
if ( aServiceNames.getLength() == 0 )
{
aServiceNames.realloc( 1 );
- aServiceNames[ 0 ] = OUString("ooo.vba.word.AutoTextEntry" );
+ aServiceNames[ 0 ] = "ooo.vba.word.AutoTextEntry";
}
return aServiceNames;
}
@@ -130,7 +130,7 @@ SwVbaAutoTextEntries::getServiceNames()
if ( sNames.getLength() == 0 )
{
sNames.realloc( 1 );
- sNames[0] = OUString("ooo.vba.word.AutoTextEntries");
+ sNames[0] = "ooo.vba.word.AutoTextEntries";
}
return sNames;
}
diff --git a/sw/source/ui/vba/vbabookmark.cxx b/sw/source/ui/vba/vbabookmark.cxx
index 4aac8ef39484..bde45edaa4c8 100644
--- a/sw/source/ui/vba/vbabookmark.cxx
+++ b/sw/source/ui/vba/vbabookmark.cxx
@@ -96,7 +96,7 @@ SwVbaBookmark::getServiceNames()
if ( aServiceNames.getLength() == 0 )
{
aServiceNames.realloc( 1 );
- aServiceNames[ 0 ] = OUString("ooo.vba.word.Bookmark" );
+ aServiceNames[ 0 ] = "ooo.vba.word.Bookmark";
}
return aServiceNames;
}
diff --git a/sw/source/ui/vba/vbabookmarks.cxx b/sw/source/ui/vba/vbabookmarks.cxx
index da372179f2e3..1479a64ac277 100644
--- a/sw/source/ui/vba/vbabookmarks.cxx
+++ b/sw/source/ui/vba/vbabookmarks.cxx
@@ -217,7 +217,7 @@ SwVbaBookmarks::getServiceNames()
if ( sNames.getLength() == 0 )
{
sNames.realloc( 1 );
- sNames[0] = OUString("ooo.vba.word.Bookmarks");
+ sNames[0] = "ooo.vba.word.Bookmarks";
}
return sNames;
}
diff --git a/sw/source/ui/vba/vbaborders.cxx b/sw/source/ui/vba/vbaborders.cxx
index 1e2d8ff7e690..2559f3e4e868 100644
--- a/sw/source/ui/vba/vbaborders.cxx
+++ b/sw/source/ui/vba/vbaborders.cxx
@@ -148,7 +148,7 @@ protected:
if ( aServiceNames.getLength() == 0 )
{
aServiceNames.realloc( 1 );
- aServiceNames[ 0 ] = OUString("ooo.vba.word.Border" );
+ aServiceNames[ 0 ] = "ooo.vba.word.Border";
}
return aServiceNames;
}
@@ -361,7 +361,7 @@ SwVbaBorders::getServiceNames()
if ( aServiceNames.getLength() == 0 )
{
aServiceNames.realloc( 1 );
- aServiceNames[ 0 ] = OUString("ooo.vba.word.Borders" );
+ aServiceNames[ 0 ] = "ooo.vba.word.Borders";
}
return aServiceNames;
}
diff --git a/sw/source/ui/vba/vbacell.cxx b/sw/source/ui/vba/vbacell.cxx
index 7756099e6423..2752a4249682 100644
--- a/sw/source/ui/vba/vbacell.cxx
+++ b/sw/source/ui/vba/vbacell.cxx
@@ -101,7 +101,7 @@ SwVbaCell::getServiceNames()
if ( aServiceNames.getLength() == 0 )
{
aServiceNames.realloc( 1 );
- aServiceNames[ 0 ] = OUString("ooo.vba.word.Cell" );
+ aServiceNames[ 0 ] = "ooo.vba.word.Cell";
}
return aServiceNames;
}
diff --git a/sw/source/ui/vba/vbacells.cxx b/sw/source/ui/vba/vbacells.cxx
index 37028bfd6a16..fe5b050508ad 100644
--- a/sw/source/ui/vba/vbacells.cxx
+++ b/sw/source/ui/vba/vbacells.cxx
@@ -205,7 +205,7 @@ SwVbaCells::getServiceNames()
if ( sNames.getLength() == 0 )
{
sNames.realloc( 1 );
- sNames[0] = OUString("ooo.vba.word.Cells");
+ sNames[0] = "ooo.vba.word.Cells";
}
return sNames;
}
diff --git a/sw/source/ui/vba/vbacolumn.cxx b/sw/source/ui/vba/vbacolumn.cxx
index 2093e4b9aae2..946fde9400b6 100644
--- a/sw/source/ui/vba/vbacolumn.cxx
+++ b/sw/source/ui/vba/vbacolumn.cxx
@@ -90,7 +90,7 @@ SwVbaColumn::getServiceNames()
if ( aServiceNames.getLength() == 0 )
{
aServiceNames.realloc( 1 );
- aServiceNames[ 0 ] = OUString("ooo.vba.word.Column" );
+ aServiceNames[ 0 ] = "ooo.vba.word.Column";
}
return aServiceNames;
}
diff --git a/sw/source/ui/vba/vbacolumns.cxx b/sw/source/ui/vba/vbacolumns.cxx
index f21c742ef449..344dbb6a03c0 100644
--- a/sw/source/ui/vba/vbacolumns.cxx
+++ b/sw/source/ui/vba/vbacolumns.cxx
@@ -142,7 +142,7 @@ SwVbaColumns::getServiceNames()
if ( sNames.getLength() == 0 )
{
sNames.realloc( 1 );
- sNames[0] = OUString("ooo.vba.word.Columns");
+ sNames[0] = "ooo.vba.word.Columns";
}
return sNames;
}
diff --git a/sw/source/ui/vba/vbadialog.cxx b/sw/source/ui/vba/vbadialog.cxx
index 73397041d631..1c8de59a088a 100644
--- a/sw/source/ui/vba/vbadialog.cxx
+++ b/sw/source/ui/vba/vbadialog.cxx
@@ -63,7 +63,7 @@ SwVbaDialog::getServiceNames()
if ( aServiceNames.getLength() == 0 )
{
aServiceNames.realloc( 1 );
- aServiceNames[ 0 ] = OUString("ooo.vba.word.Dialog" );
+ aServiceNames[ 0 ] = "ooo.vba.word.Dialog";
}
return aServiceNames;
}
diff --git a/sw/source/ui/vba/vbadialogs.cxx b/sw/source/ui/vba/vbadialogs.cxx
index db1f53019836..35707c0d3935 100644
--- a/sw/source/ui/vba/vbadialogs.cxx
+++ b/sw/source/ui/vba/vbadialogs.cxx
@@ -45,7 +45,7 @@ SwVbaDialogs::getServiceNames()
if ( aServiceNames.getLength() == 0 )
{
aServiceNames.realloc( 1 );
- aServiceNames[ 0 ] = OUString("ooo.vba.word.Dialogs" );
+ aServiceNames[ 0 ] = "ooo.vba.word.Dialogs";
}
return aServiceNames;
}
diff --git a/sw/source/ui/vba/vbadocument.cxx b/sw/source/ui/vba/vbadocument.cxx
index cb06a1e5e8e7..9752dde5c088 100644
--- a/sw/source/ui/vba/vbadocument.cxx
+++ b/sw/source/ui/vba/vbadocument.cxx
@@ -377,13 +377,13 @@ void SAL_CALL SwVbaDocument::PrintOut( const uno::Any& /*Background*/, const uno
void SAL_CALL SwVbaDocument::PrintPreview( ) throw (uno::RuntimeException)
{
- OUString url = OUString( ".uno:PrintPreview");
+ OUString url = ".uno:PrintPreview";
dispatchRequests( mxModel,url );
}
void SAL_CALL SwVbaDocument::ClosePrintPreview( ) throw (uno::RuntimeException)
{
- OUString url = OUString( ".uno:ClosePreview");
+ OUString url = ".uno:ClosePreview";
dispatchRequests( mxModel,url );
}
@@ -506,7 +506,7 @@ SwVbaDocument::getServiceNames()
if ( aServiceNames.getLength() == 0 )
{
aServiceNames.realloc( 1 );
- aServiceNames[ 0 ] = OUString("ooo.vba.word.Document" );
+ aServiceNames[ 0 ] = "ooo.vba.word.Document";
}
return aServiceNames;
}
diff --git a/sw/source/ui/vba/vbadocumentproperties.cxx b/sw/source/ui/vba/vbadocumentproperties.cxx
index 9a3701a033c8..613b08b69e50 100644
--- a/sw/source/ui/vba/vbadocumentproperties.cxx
+++ b/sw/source/ui/vba/vbadocumentproperties.cxx
@@ -632,7 +632,7 @@ SwVbaBuiltInDocumentProperty::getServiceNames()
if ( aServiceNames.getLength() == 0 )
{
aServiceNames.realloc( 1 );
- aServiceNames[ 0 ] = OUString("ooo.vba.word.DocumentProperty" );
+ aServiceNames[ 0 ] = "ooo.vba.word.DocumentProperty";
}
return aServiceNames;
}
@@ -786,7 +786,7 @@ SwVbaBuiltinDocumentProperties::getServiceNames()
if ( aServiceNames.getLength() == 0 )
{
aServiceNames.realloc( 1 );
- aServiceNames[ 0 ] = OUString("ooo.vba.word.DocumentProperties" );
+ aServiceNames[ 0 ] = "ooo.vba.word.DocumentProperties";
}
return aServiceNames;
}
diff --git a/sw/source/ui/vba/vbadocuments.cxx b/sw/source/ui/vba/vbadocuments.cxx
index e4fa861fd885..f79edda3baf5 100644
--- a/sw/source/ui/vba/vbadocuments.cxx
+++ b/sw/source/ui/vba/vbadocuments.cxx
@@ -163,7 +163,7 @@ SwVbaDocuments::getServiceNames()
if ( sNames.getLength() == 0 )
{
sNames.realloc( 1 );
- sNames[0] = OUString("ooo.vba.word.Documents");
+ sNames[0] = "ooo.vba.word.Documents";
}
return sNames;
}
diff --git a/sw/source/ui/vba/vbafield.cxx b/sw/source/ui/vba/vbafield.cxx
index 2a903040d95b..b2c34d08036f 100644
--- a/sw/source/ui/vba/vbafield.cxx
+++ b/sw/source/ui/vba/vbafield.cxx
@@ -62,7 +62,7 @@ SwVbaField::getServiceNames()
if ( aServiceNames.getLength() == 0 )
{
aServiceNames.realloc( 1 );
- aServiceNames[ 0 ] = OUString("ooo.vba.word.Field" );
+ aServiceNames[ 0 ] = "ooo.vba.word.Field";
}
return aServiceNames;
}
@@ -459,7 +459,7 @@ uno::Reference< text::XTextField > SwVbaFields::Create_Field_DocProperty( const
if( bCustom )
{
- sFieldService = OUString( "com.sun.star.text.textfield.docinfo.Custom" );
+ sFieldService = "com.sun.star.text.textfield.docinfo.Custom";
}
else if( sFieldService.isEmpty() )
{
@@ -530,7 +530,7 @@ SwVbaFields::getServiceNames()
if ( aServiceNames.getLength() == 0 )
{
aServiceNames.realloc( 1 );
- aServiceNames[ 0 ] = OUString("ooo.vba.word.Fields" );
+ aServiceNames[ 0 ] = "ooo.vba.word.Fields";
}
return aServiceNames;
}
diff --git a/sw/source/ui/vba/vbafind.cxx b/sw/source/ui/vba/vbafind.cxx
index 060ce939f0a1..52c32a9355d9 100644
--- a/sw/source/ui/vba/vbafind.cxx
+++ b/sw/source/ui/vba/vbafind.cxx
@@ -405,7 +405,7 @@ SwVbaFind::getServiceNames()
if ( aServiceNames.getLength() == 0 )
{
aServiceNames.realloc( 1 );
- aServiceNames[ 0 ] = OUString("ooo.vba.word.Find" );
+ aServiceNames[ 0 ] = "ooo.vba.word.Find";
}
return aServiceNames;
}
diff --git a/sw/source/ui/vba/vbafont.cxx b/sw/source/ui/vba/vbafont.cxx
index 7866611bed55..96b935d35fd3 100644
--- a/sw/source/ui/vba/vbafont.cxx
+++ b/sw/source/ui/vba/vbafont.cxx
@@ -227,7 +227,7 @@ SwVbaFont::getServiceNames()
if ( aServiceNames.getLength() == 0 )
{
aServiceNames.realloc( 1 );
- aServiceNames[ 0 ] = OUString("ooo.vba.word.Font" );
+ aServiceNames[ 0 ] = "ooo.vba.word.Font";
}
return aServiceNames;
}
diff --git a/sw/source/ui/vba/vbaformfield.cxx b/sw/source/ui/vba/vbaformfield.cxx
index f8e86c210594..969187a29349 100644
--- a/sw/source/ui/vba/vbaformfield.cxx
+++ b/sw/source/ui/vba/vbaformfield.cxx
@@ -120,7 +120,7 @@ SwVbaFormField::getServiceNames()
if ( aServiceNames.getLength() == 0 )
{
aServiceNames.realloc( 1 );
- aServiceNames[ 0 ] = OUString("ooo.vba.word.FormField" );
+ aServiceNames[ 0 ] = "ooo.vba.word.FormField";
}
return aServiceNames;
}
diff --git a/sw/source/ui/vba/vbaformfields.cxx b/sw/source/ui/vba/vbaformfields.cxx
index ba554fb07fd4..3a963f0c5472 100644
--- a/sw/source/ui/vba/vbaformfields.cxx
+++ b/sw/source/ui/vba/vbaformfields.cxx
@@ -187,7 +187,7 @@ SwVbaFormFields::getServiceNames()
if ( sNames.getLength() == 0 )
{
sNames.realloc( 1 );
- sNames[0] = OUString("ooo.vba.word.FormFields");
+ sNames[0] = "ooo.vba.word.FormFields";
}
return sNames;
}
diff --git a/sw/source/ui/vba/vbaframe.cxx b/sw/source/ui/vba/vbaframe.cxx
index 4b1564dde8f1..ca37cde4c81c 100644
--- a/sw/source/ui/vba/vbaframe.cxx
+++ b/sw/source/ui/vba/vbaframe.cxx
@@ -56,7 +56,7 @@ SwVbaFrame::getServiceNames()
if ( aServiceNames.getLength() == 0 )
{
aServiceNames.realloc( 1 );
- aServiceNames[ 0 ] = OUString("ooo.vba.word.Frame" );
+ aServiceNames[ 0 ] = "ooo.vba.word.Frame";
}
return aServiceNames;
}
diff --git a/sw/source/ui/vba/vbaframes.cxx b/sw/source/ui/vba/vbaframes.cxx
index 84863a268cd0..26316a1e643d 100644
--- a/sw/source/ui/vba/vbaframes.cxx
+++ b/sw/source/ui/vba/vbaframes.cxx
@@ -91,7 +91,7 @@ SwVbaFrames::getServiceNames()
if ( sNames.getLength() == 0 )
{
sNames.realloc( 1 );
- sNames[0] = OUString("ooo.vba.word.Frames");
+ sNames[0] = "ooo.vba.word.Frames";
}
return sNames;
}
diff --git a/sw/source/ui/vba/vbaglobals.cxx b/sw/source/ui/vba/vbaglobals.cxx
index 6772cd5384ff..94152662614b 100644
--- a/sw/source/ui/vba/vbaglobals.cxx
+++ b/sw/source/ui/vba/vbaglobals.cxx
@@ -41,7 +41,7 @@ SwVbaGlobals::SwVbaGlobals( uno::Sequence< uno::Any > const& aArgs, uno::Refere
{
OSL_TRACE("SwVbaGlobals::SwVbaGlobals()");
uno::Sequence< beans::PropertyValue > aInitArgs( 2 );
- aInitArgs[ 0 ].Name = OUString("Application");
+ aInitArgs[ 0 ].Name = "Application";
aInitArgs[ 0 ].Value = uno::makeAny( getApplication() );
aInitArgs[ 1 ].Name = sDocCtxName;
aInitArgs[ 1 ].Value = uno::makeAny( getXSomethingFromArgs< frame::XModel >( aArgs, 0 ) );
@@ -151,7 +151,7 @@ SwVbaGlobals::getServiceNames()
if ( aServiceNames.getLength() == 0 )
{
aServiceNames.realloc( 1 );
- aServiceNames[ 0 ] = OUString("ooo.vba.word.Globals" );
+ aServiceNames[ 0 ] = "ooo.vba.word.Globals";
}
return aServiceNames;
}
diff --git a/sw/source/ui/vba/vbaheaderfooter.cxx b/sw/source/ui/vba/vbaheaderfooter.cxx
index 9714e7623616..0b66b7c0e3d8 100644
--- a/sw/source/ui/vba/vbaheaderfooter.cxx
+++ b/sw/source/ui/vba/vbaheaderfooter.cxx
@@ -54,11 +54,11 @@ uno::Reference< word::XRange > SAL_CALL SwVbaHeaderFooter::getRange() throw (uno
OUString sPropsNameText;
if( mbHeader )
{
- sPropsNameText = OUString("HeaderText");
+ sPropsNameText = "HeaderText";
}
else
{
- sPropsNameText = OUString("FooterText");
+ sPropsNameText = "FooterText";
}
if( mnIndex == word::WdHeaderFooterIndex::wdHeaderFooterEvenPages )
{
@@ -96,7 +96,7 @@ SwVbaHeaderFooter::getServiceNames()
if ( aServiceNames.getLength() == 0 )
{
aServiceNames.realloc( 1 );
- aServiceNames[ 0 ] = OUString("ooo.vba.word.Pane" );
+ aServiceNames[ 0 ] = "ooo.vba.word.Pane";
}
return aServiceNames;
}
diff --git a/sw/source/ui/vba/vbaheaderfooterhelper.cxx b/sw/source/ui/vba/vbaheaderfooterhelper.cxx
index 4072b16ba56e..d68162cdf5f7 100644
--- a/sw/source/ui/vba/vbaheaderfooterhelper.cxx
+++ b/sw/source/ui/vba/vbaheaderfooterhelper.cxx
@@ -54,8 +54,8 @@ sal_Bool HeaderFooterHelper::isHeader( const uno::Reference< frame::XModel >& xM
if( !isHeaderFooter( xCurrentText ) )
return sal_False;
- OUString aPropIsShared = OUString("HeaderIsShared");
- OUString aPropText = OUString("HeaderText");
+ OUString aPropIsShared = "HeaderIsShared";
+ OUString aPropText = "HeaderText";
uno::Reference< style::XStyle > xPageStyle = word::getCurrentPageStyle( xModel );
uno::Reference< beans::XPropertySet > xPageProps( xPageStyle, uno::UNO_QUERY_THROW );
sal_Bool isShared = sal_True;
@@ -64,9 +64,9 @@ sal_Bool HeaderFooterHelper::isHeader( const uno::Reference< frame::XModel >& xM
{
uno::Reference< text::XPageCursor > xPageCursor( word::getXTextViewCursor( xModel ), uno::UNO_QUERY_THROW );
if( 0 == xPageCursor->getPage() % 2 )
- aPropText = OUString("HeaderTextLeft");
+ aPropText = "HeaderTextLeft";
else
- aPropText = OUString("HeaderTextRight");
+ aPropText = "HeaderTextRight";
}
uno::Reference< text::XText > xHeaderText( xPageProps->getPropertyValue( aPropText ), uno::UNO_QUERY_THROW );
@@ -120,8 +120,8 @@ sal_Bool HeaderFooterHelper::isFooter( const uno::Reference< frame::XModel >& xM
if( !isHeaderFooter( xCurrentText ) )
return sal_False;
- OUString aPropIsShared = OUString("FooterIsShared");
- OUString aPropText = OUString("FooterText");
+ OUString aPropIsShared = "FooterIsShared";
+ OUString aPropText = "FooterText";
uno::Reference< style::XStyle > xPageStyle = word::getCurrentPageStyle( xModel );
uno::Reference< beans::XPropertySet > xPageProps( xPageStyle, uno::UNO_QUERY_THROW );
sal_Bool isShared = sal_True;
@@ -130,9 +130,9 @@ sal_Bool HeaderFooterHelper::isFooter( const uno::Reference< frame::XModel >& xM
{
uno::Reference< text::XPageCursor > xPageCursor( word::getXTextViewCursor( xModel ), uno::UNO_QUERY_THROW );
if( 0 == xPageCursor->getPage() % 2 )
- aPropText = OUString("FooterTextLeft");
+ aPropText = "FooterTextLeft";
else
- aPropText = OUString("FooterTextRight");
+ aPropText = "FooterTextRight";
}
uno::Reference< text::XText > xFooterText( xPageProps->getPropertyValue( aPropText ), uno::UNO_QUERY_THROW );
diff --git a/sw/source/ui/vba/vbaheadersfooters.cxx b/sw/source/ui/vba/vbaheadersfooters.cxx
index b85be8af0fc8..69fa3f942d0f 100644
--- a/sw/source/ui/vba/vbaheadersfooters.cxx
+++ b/sw/source/ui/vba/vbaheadersfooters.cxx
@@ -132,7 +132,7 @@ SwVbaHeadersFooters::getServiceNames()
if ( sNames.getLength() == 0 )
{
sNames.realloc( 1 );
- sNames[0] = OUString("ooo.vba.word.HeadersFooters");
+ sNames[0] = "ooo.vba.word.HeadersFooters";
}
return sNames;
}
diff --git a/sw/source/ui/vba/vbalistformat.cxx b/sw/source/ui/vba/vbalistformat.cxx
index 9cd8f49ea24d..25db7bf3add3 100644
--- a/sw/source/ui/vba/vbalistformat.cxx
+++ b/sw/source/ui/vba/vbalistformat.cxx
@@ -102,7 +102,7 @@ SwVbaListFormat::getServiceNames()
if ( aServiceNames.getLength() == 0 )
{
aServiceNames.realloc( 1 );
- aServiceNames[ 0 ] = OUString("ooo.vba.word.ListFormat" );
+ aServiceNames[ 0 ] = "ooo.vba.word.ListFormat";
}
return aServiceNames;
}
diff --git a/sw/source/ui/vba/vbalistgalleries.cxx b/sw/source/ui/vba/vbalistgalleries.cxx
index 8d05b7f20028..5178e49b32d4 100644
--- a/sw/source/ui/vba/vbalistgalleries.cxx
+++ b/sw/source/ui/vba/vbalistgalleries.cxx
@@ -97,7 +97,7 @@ SwVbaListGalleries::getServiceNames()
if ( sNames.getLength() == 0 )
{
sNames.realloc( 1 );
- sNames[0] = OUString("ooo.vba.word.ListGalleries");
+ sNames[0] = "ooo.vba.word.ListGalleries";
}
return sNames;
}
diff --git a/sw/source/ui/vba/vbalistgallery.cxx b/sw/source/ui/vba/vbalistgallery.cxx
index 812e930d73cb..e767c9b1f264 100644
--- a/sw/source/ui/vba/vbalistgallery.cxx
+++ b/sw/source/ui/vba/vbalistgallery.cxx
@@ -54,7 +54,7 @@ SwVbaListGallery::getServiceNames()
if ( aServiceNames.getLength() == 0 )
{
aServiceNames.realloc( 1 );
- aServiceNames[ 0 ] = OUString("ooo.vba.word.ListGallery" );
+ aServiceNames[ 0 ] = "ooo.vba.word.ListGallery";
}
return aServiceNames;
}
diff --git a/sw/source/ui/vba/vbalistlevel.cxx b/sw/source/ui/vba/vbalistlevel.cxx
index 72ea2fb902d4..030ae9a90ae4 100644
--- a/sw/source/ui/vba/vbalistlevel.cxx
+++ b/sw/source/ui/vba/vbalistlevel.cxx
@@ -381,7 +381,7 @@ SwVbaListLevel::getServiceNames()
if ( aServiceNames.getLength() == 0 )
{
aServiceNames.realloc( 1 );
- aServiceNames[ 0 ] = OUString("ooo.vba.word.ListLevel" );
+ aServiceNames[ 0 ] = "ooo.vba.word.ListLevel";
}
return aServiceNames;
}
diff --git a/sw/source/ui/vba/vbalistlevels.cxx b/sw/source/ui/vba/vbalistlevels.cxx
index a53b6db6a975..edefd64f3ddd 100644
--- a/sw/source/ui/vba/vbalistlevels.cxx
+++ b/sw/source/ui/vba/vbalistlevels.cxx
@@ -100,7 +100,7 @@ SwVbaListLevels::getServiceNames()
if ( sNames.getLength() == 0 )
{
sNames.realloc( 1 );
- sNames[0] = OUString("ooo.vba.word.ListLevels");
+ sNames[0] = "ooo.vba.word.ListLevels";
}
return sNames;
}
diff --git a/sw/source/ui/vba/vbalisttemplate.cxx b/sw/source/ui/vba/vbalisttemplate.cxx
index d62f5962e8f9..1188f2297ad7 100644
--- a/sw/source/ui/vba/vbalisttemplate.cxx
+++ b/sw/source/ui/vba/vbalisttemplate.cxx
@@ -61,7 +61,7 @@ SwVbaListTemplate::getServiceNames()
if ( aServiceNames.getLength() == 0 )
{
aServiceNames.realloc( 1 );
- aServiceNames[ 0 ] = OUString("ooo.vba.word.ListTemplate" );
+ aServiceNames[ 0 ] = "ooo.vba.word.ListTemplate";
}
return aServiceNames;
}
diff --git a/sw/source/ui/vba/vbalisttemplates.cxx b/sw/source/ui/vba/vbalisttemplates.cxx
index d2db3e81cfa1..749d92f644c5 100644
--- a/sw/source/ui/vba/vbalisttemplates.cxx
+++ b/sw/source/ui/vba/vbalisttemplates.cxx
@@ -94,7 +94,7 @@ SwVbaListTemplates::getServiceNames()
if ( sNames.getLength() == 0 )
{
sNames.realloc( 1 );
- sNames[0] = OUString("ooo.vba.word.ListTemplates");
+ sNames[0] = "ooo.vba.word.ListTemplates";
}
return sNames;
}
diff --git a/sw/source/ui/vba/vbaoptions.cxx b/sw/source/ui/vba/vbaoptions.cxx
index bdbcfb2d5812..0dcd5df92b06 100644
--- a/sw/source/ui/vba/vbaoptions.cxx
+++ b/sw/source/ui/vba/vbaoptions.cxx
@@ -45,39 +45,39 @@ SwVbaOptions::DefaultFilePath( sal_Int32 _path ) throw ( uno::RuntimeException )
{
case word::WdDefaultFilePath::wdDocumentsPath:
{
- msDefaultFilePath = OUString("Work");
+ msDefaultFilePath = "Work";
break;
}
case word::WdDefaultFilePath::wdPicturesPath:
{
- msDefaultFilePath = OUString("Gallery");
+ msDefaultFilePath = "Gallery";
break;
}
case word::WdDefaultFilePath::wdUserTemplatesPath:
case word::WdDefaultFilePath::wdWorkgroupTemplatesPath:
{
- msDefaultFilePath = OUString("Template");
+ msDefaultFilePath = "Template";
break;
}
case word::WdDefaultFilePath::wdStartupPath:
{
- msDefaultFilePath = OUString("Addin");
+ msDefaultFilePath = "Addin";
break;
}
case word::WdDefaultFilePath::wdUserOptionsPath:
{
- msDefaultFilePath = OUString("UserConfig");
+ msDefaultFilePath = "UserConfig";
break;
}
case word::WdDefaultFilePath::wdToolsPath:
case word::WdDefaultFilePath::wdProgramPath:
{
- msDefaultFilePath = OUString("Module");
+ msDefaultFilePath = "Module";
break;
}
case word::WdDefaultFilePath::wdTempFilePath:
{
- msDefaultFilePath = OUString("Temp");
+ msDefaultFilePath = "Temp";
break;
}
default:
@@ -268,7 +268,7 @@ SwVbaOptions::getServiceNames()
if ( aServiceNames.getLength() == 0 )
{
aServiceNames.realloc( 1 );
- aServiceNames[ 0 ] = OUString("ooo.vba.word.Options" );
+ aServiceNames[ 0 ] = "ooo.vba.word.Options";
}
return aServiceNames;
}
diff --git a/sw/source/ui/vba/vbapagesetup.cxx b/sw/source/ui/vba/vbapagesetup.cxx
index 190d12298e9f..eb734294342a 100644
--- a/sw/source/ui/vba/vbapagesetup.cxx
+++ b/sw/source/ui/vba/vbapagesetup.cxx
@@ -149,9 +149,9 @@ void SAL_CALL SwVbaPageSetup::setDifferentFirstPageHeaderFooter( sal_Bool status
OUString newStyle;
if( status )
- newStyle = OUString("First Page");
+ newStyle = "First Page";
else
- newStyle = OUString("Standard");
+ newStyle = "Standard";
uno::Reference< beans::XPropertySet > xStyleProps( word::getCurrentPageStyle( mxModel ), uno::UNO_QUERY_THROW );
sal_Int32 nTopMargin = 0;
@@ -256,7 +256,7 @@ SwVbaPageSetup::getServiceNames()
if ( aServiceNames.getLength() == 0 )
{
aServiceNames.realloc( 1 );
- aServiceNames[ 0 ] = OUString("ooo.vba.word.PageSetup" );
+ aServiceNames[ 0 ] = "ooo.vba.word.PageSetup";
}
return aServiceNames;
}
diff --git a/sw/source/ui/vba/vbapane.cxx b/sw/source/ui/vba/vbapane.cxx
index 40b9e163c485..bf5d6c36a682 100644
--- a/sw/source/ui/vba/vbapane.cxx
+++ b/sw/source/ui/vba/vbapane.cxx
@@ -43,7 +43,7 @@ SwVbaPane::View() throw ( css::uno::RuntimeException )
void SAL_CALL
SwVbaPane::Close( ) throw ( css::uno::RuntimeException )
{
- OUString url = OUString( ".uno:CloseWin");
+ OUString url = ".uno:CloseWin";
dispatchRequests( mxModel,url );
}
@@ -60,7 +60,7 @@ SwVbaPane::getServiceNames()
if ( aServiceNames.getLength() == 0 )
{
aServiceNames.realloc( 1 );
- aServiceNames[ 0 ] = OUString("ooo.vba.word.Pane" );
+ aServiceNames[ 0 ] = "ooo.vba.word.Pane";
}
return aServiceNames;
}
diff --git a/sw/source/ui/vba/vbapanes.cxx b/sw/source/ui/vba/vbapanes.cxx
index f7971f784260..8bf6b45ab87f 100644
--- a/sw/source/ui/vba/vbapanes.cxx
+++ b/sw/source/ui/vba/vbapanes.cxx
@@ -109,7 +109,7 @@ SwVbaPanes::getServiceNames()
if ( sNames.getLength() == 0 )
{
sNames.realloc( 1 );
- sNames[0] = OUString("ooo.vba.word.Panes");
+ sNames[0] = "ooo.vba.word.Panes";
}
return sNames;
}
diff --git a/sw/source/ui/vba/vbaparagraph.cxx b/sw/source/ui/vba/vbaparagraph.cxx
index abcb5484caba..c7547ef92eae 100644
--- a/sw/source/ui/vba/vbaparagraph.cxx
+++ b/sw/source/ui/vba/vbaparagraph.cxx
@@ -67,7 +67,7 @@ SwVbaParagraph::getServiceNames()
if ( aServiceNames.getLength() == 0 )
{
aServiceNames.realloc( 1 );
- aServiceNames[ 0 ] = OUString("ooo.vba.word.Paragraph" );
+ aServiceNames[ 0 ] = "ooo.vba.word.Paragraph";
}
return aServiceNames;
}
@@ -170,7 +170,7 @@ SwVbaParagraphs::getServiceNames()
if ( sNames.getLength() == 0 )
{
sNames.realloc( 1 );
- sNames[0] = OUString("ooo.vba.word.Paragraphs");
+ sNames[0] = "ooo.vba.word.Paragraphs";
}
return sNames;
}
diff --git a/sw/source/ui/vba/vbaparagraphformat.cxx b/sw/source/ui/vba/vbaparagraphformat.cxx
index e47ddcc153f1..2bd8ed34aac9 100644
--- a/sw/source/ui/vba/vbaparagraphformat.cxx
+++ b/sw/source/ui/vba/vbaparagraphformat.cxx
@@ -183,7 +183,7 @@ sal_Int32 SAL_CALL SwVbaParagraphFormat::getOutlineLevel() throw (uno::RuntimeEx
{
sal_Int32 nLevel = word::WdOutlineLevel::wdOutlineLevelBodyText;
OUString aHeading;
- const OUString HEADING = OUString("Heading");
+ const OUString HEADING = "Heading";
mxParaProps->getPropertyValue("ParaStyleName") >>= aHeading;
if( aHeading.startsWith( HEADING ) )
{
@@ -560,7 +560,7 @@ SwVbaParagraphFormat::getServiceNames()
if ( aServiceNames.getLength() == 0 )
{
aServiceNames.realloc( 1 );
- aServiceNames[ 0 ] = OUString("ooo.vba.word.ParagraphFormat" );
+ aServiceNames[ 0 ] = "ooo.vba.word.ParagraphFormat";
}
return aServiceNames;
}
diff --git a/sw/source/ui/vba/vbarange.cxx b/sw/source/ui/vba/vbarange.cxx
index 86bbf607bb1e..c575567490fc 100644
--- a/sw/source/ui/vba/vbarange.cxx
+++ b/sw/source/ui/vba/vbarange.cxx
@@ -260,11 +260,11 @@ void SwVbaRange::GetStyleInfo(OUString& aStyleName, OUString& aStyleType ) throw
uno::Reference< beans::XPropertySet > xProp( mxTextCursor, uno::UNO_QUERY_THROW );
if( ( xProp->getPropertyValue("CharStyleName") >>= aStyleName ) && !aStyleName.isEmpty() )
{
- aStyleType = OUString("CharacterStyles");
+ aStyleType = "CharacterStyles";
}
else if( ( xProp->getPropertyValue("ParaStyleName") >>= aStyleName ) && !aStyleName.isEmpty() )
{
- aStyleType = OUString("ParagraphStyles");
+ aStyleType = "ParagraphStyles";
}
if( aStyleType.isEmpty() )
{
@@ -420,7 +420,7 @@ SwVbaRange::getServiceNames()
if ( aServiceNames.getLength() == 0 )
{
aServiceNames.realloc( 1 );
- aServiceNames[ 0 ] = OUString("ooo.vba.word.Range" );
+ aServiceNames[ 0 ] = "ooo.vba.word.Range";
}
return aServiceNames;
}
diff --git a/sw/source/ui/vba/vbareplacement.cxx b/sw/source/ui/vba/vbareplacement.cxx
index 13ace911d77f..f899020e426f 100644
--- a/sw/source/ui/vba/vbareplacement.cxx
+++ b/sw/source/ui/vba/vbareplacement.cxx
@@ -61,7 +61,7 @@ SwVbaReplacement::getServiceNames()
if ( aServiceNames.getLength() == 0 )
{
aServiceNames.realloc( 1 );
- aServiceNames[ 0 ] = OUString("ooo.vba.word.Replacement" );
+ aServiceNames[ 0 ] = "ooo.vba.word.Replacement";
}
return aServiceNames;
}
diff --git a/sw/source/ui/vba/vbarevision.cxx b/sw/source/ui/vba/vbarevision.cxx
index ae45f7473408..b98d4207b3ff 100644
--- a/sw/source/ui/vba/vbarevision.cxx
+++ b/sw/source/ui/vba/vbarevision.cxx
@@ -86,7 +86,7 @@ SwVbaRevision::getServiceNames()
if ( aServiceNames.getLength() == 0 )
{
aServiceNames.realloc( 1 );
- aServiceNames[ 0 ] = OUString("ooo.vba.word.Revision" );
+ aServiceNames[ 0 ] = "ooo.vba.word.Revision";
}
return aServiceNames;
}
diff --git a/sw/source/ui/vba/vbarevisions.cxx b/sw/source/ui/vba/vbarevisions.cxx
index 8ad58e83468e..98bde2b12215 100644
--- a/sw/source/ui/vba/vbarevisions.cxx
+++ b/sw/source/ui/vba/vbarevisions.cxx
@@ -170,7 +170,7 @@ SwVbaRevisions::getServiceNames()
if ( sNames.getLength() == 0 )
{
sNames.realloc( 1 );
- sNames[0] = OUString("ooo.vba.word.Revisions");
+ sNames[0] = "ooo.vba.word.Revisions";
}
return sNames;
}
diff --git a/sw/source/ui/vba/vbarow.cxx b/sw/source/ui/vba/vbarow.cxx
index 19868dd7eeaa..fd3008ae22a7 100644
--- a/sw/source/ui/vba/vbarow.cxx
+++ b/sw/source/ui/vba/vbarow.cxx
@@ -117,7 +117,7 @@ SwVbaRow::getServiceNames()
if ( aServiceNames.getLength() == 0 )
{
aServiceNames.realloc( 1 );
- aServiceNames[ 0 ] = OUString("ooo.vba.word.Row" );
+ aServiceNames[ 0 ] = "ooo.vba.word.Row";
}
return aServiceNames;
}
diff --git a/sw/source/ui/vba/vbarows.cxx b/sw/source/ui/vba/vbarows.cxx
index 4b51ffb1b72f..2600ac2efc15 100644
--- a/sw/source/ui/vba/vbarows.cxx
+++ b/sw/source/ui/vba/vbarows.cxx
@@ -361,7 +361,7 @@ SwVbaRows::getServiceNames()
if ( sNames.getLength() == 0 )
{
sNames.realloc( 1 );
- sNames[0] = OUString("ooo.vba.word.Rows");
+ sNames[0] = "ooo.vba.word.Rows";
}
return sNames;
}
diff --git a/sw/source/ui/vba/vbasection.cxx b/sw/source/ui/vba/vbasection.cxx
index 5fb2aff82661..95032bf4b3e1 100644
--- a/sw/source/ui/vba/vbasection.cxx
+++ b/sw/source/ui/vba/vbasection.cxx
@@ -78,7 +78,7 @@ SwVbaSection::getServiceNames()
if ( aServiceNames.getLength() == 0 )
{
aServiceNames.realloc( 1 );
- aServiceNames[ 0 ] = OUString("ooo.vba.word.Section" );
+ aServiceNames[ 0 ] = "ooo.vba.word.Section";
}
return aServiceNames;
}
diff --git a/sw/source/ui/vba/vbasections.cxx b/sw/source/ui/vba/vbasections.cxx
index 18ef74a5812e..aa4d7bb72d4f 100644
--- a/sw/source/ui/vba/vbasections.cxx
+++ b/sw/source/ui/vba/vbasections.cxx
@@ -184,7 +184,7 @@ SwVbaSections::getServiceNames()
if ( sNames.getLength() == 0 )
{
sNames.realloc( 1 );
- sNames[0] = OUString("ooo.vba.word.Sections");
+ sNames[0] = "ooo.vba.word.Sections";
}
return sNames;
}
diff --git a/sw/source/ui/vba/vbaselection.cxx b/sw/source/ui/vba/vbaselection.cxx
index fc30b2479ea3..676baf762c9f 100644
--- a/sw/source/ui/vba/vbaselection.cxx
+++ b/sw/source/ui/vba/vbaselection.cxx
@@ -219,7 +219,7 @@ SwVbaSelection::Delete( const uno::Any& _unit, const uno::Any& _count ) throw (
}
}
}
- OUString url = OUString( ".uno:Delete");
+ OUString url = ".uno:Delete";
dispatchRequests( mxModel,url );
}
@@ -548,7 +548,7 @@ SwVbaSelection::getFont() throw ( uno::RuntimeException )
void SAL_CALL
SwVbaSelection::TypeBackspace() throw ( uno::RuntimeException )
{
- OUString url = OUString( ".uno:SwBackspace");
+ OUString url = ".uno:SwBackspace";
dispatchRequests( mxModel,url );
}
@@ -1041,7 +1041,7 @@ uno::Any SAL_CALL SwVbaSelection::Cells( const uno::Any& index ) throw (uno::Run
void SAL_CALL SwVbaSelection::Copy( ) throw (uno::RuntimeException)
{
- OUString url = OUString( ".uno:Copy");
+ OUString url = ".uno:Copy";
dispatchRequests( mxModel,url );
}
@@ -1053,7 +1053,7 @@ void SAL_CALL SwVbaSelection::CopyAsPicture( ) throw (uno::RuntimeException)
void SAL_CALL SwVbaSelection::Paste( ) throw (uno::RuntimeException)
{
- OUString url = OUString( ".uno:Paste");
+ OUString url = ".uno:Paste";
dispatchRequests( mxModel,url );
}
@@ -1101,7 +1101,7 @@ void SAL_CALL SwVbaSelection::WholeStory( ) throw (uno::RuntimeException)
// insert an empty line
uno::Reference< text::XTextRange > xFirstCellRange = word::getFirstObjectPosition( xText );
mxTextViewCursor->gotoRange( xFirstCellRange, sal_False );
- OUString url = OUString( ".uno:InsertPara");
+ OUString url = ".uno:InsertPara";
dispatchRequests( mxModel,url );
}
}
@@ -1175,7 +1175,7 @@ SwVbaSelection::getServiceNames()
if ( aServiceNames.getLength() == 0 )
{
aServiceNames.realloc( 1 );
- aServiceNames[ 0 ] = OUString("ooo.vba.word.Selection" );
+ aServiceNames[ 0 ] = "ooo.vba.word.Selection";
}
return aServiceNames;
}
diff --git a/sw/source/ui/vba/vbastyle.cxx b/sw/source/ui/vba/vbastyle.cxx
index b96dc992028b..53409662f52e 100644
--- a/sw/source/ui/vba/vbastyle.cxx
+++ b/sw/source/ui/vba/vbastyle.cxx
@@ -232,7 +232,7 @@ SwVbaStyle::getServiceNames()
if ( aServiceNames.getLength() == 0 )
{
aServiceNames.realloc( 1 );
- aServiceNames[ 0 ] = OUString("ooo.vba.word.XStyle" );
+ aServiceNames[ 0 ] = "ooo.vba.word.XStyle";
}
return aServiceNames;
}
diff --git a/sw/source/ui/vba/vbastyles.cxx b/sw/source/ui/vba/vbastyles.cxx
index 728dcea48965..6a39e8ca7791 100644
--- a/sw/source/ui/vba/vbastyles.cxx
+++ b/sw/source/ui/vba/vbastyles.cxx
@@ -310,18 +310,18 @@ SwVbaStyles::Item( const uno::Any& Index1, const uno::Any& Index2 ) throw (uno::
case word::WdStyleType::wdStyleTypeParagraph:
case word::WdStyleType::wdStyleTypeTable:
{
- aStyleType = OUString("ParagraphStyles");
+ aStyleType = "ParagraphStyles";
break;
}
case word::WdStyleType::wdStyleTypeCharacter:
{
- aStyleType = OUString("CharacterStyles");
+ aStyleType = "CharacterStyles";
break;
}
case word::WdStyleType::wdStyleTypeList:
{
// should use Paragraph style and set the property "NumberingStyleName"
- aStyleType = OUString("ParagraphStyles");
+ aStyleType = "ParagraphStyles";
break;
}
default:
@@ -361,7 +361,7 @@ SwVbaStyles::getServiceNames()
if ( aServiceNames.getLength() == 0 )
{
aServiceNames.realloc( 1 );
- aServiceNames[ 0 ] = OUString("ooo.vba.word.XStyles" );
+ aServiceNames[ 0 ] = "ooo.vba.word.XStyles";
}
return aServiceNames;
}
diff --git a/sw/source/ui/vba/vbasystem.cxx b/sw/source/ui/vba/vbasystem.cxx
index f521227caee5..6ca213bce526 100644
--- a/sw/source/ui/vba/vbasystem.cxx
+++ b/sw/source/ui/vba/vbasystem.cxx
@@ -277,7 +277,7 @@ SwVbaSystem::getServiceNames()
if ( aServiceNames.getLength() == 0 )
{
aServiceNames.realloc( 1 );
- aServiceNames[ 0 ] = OUString("ooo.vba.word.System" );
+ aServiceNames[ 0 ] = "ooo.vba.word.System";
}
return aServiceNames;
}
diff --git a/sw/source/ui/vba/vbatable.cxx b/sw/source/ui/vba/vbatable.cxx
index 7b425c67b245..398422adcd5a 100644
--- a/sw/source/ui/vba/vbatable.cxx
+++ b/sw/source/ui/vba/vbatable.cxx
@@ -130,7 +130,7 @@ SwVbaTable::getServiceNames()
if ( aServiceNames.getLength() == 0 )
{
aServiceNames.realloc( 1 );
- aServiceNames[ 0 ] = OUString("ooo.vba.word.Table" );
+ aServiceNames[ 0 ] = "ooo.vba.word.Table";
}
return aServiceNames;
}
diff --git a/sw/source/ui/vba/vbatableofcontents.cxx b/sw/source/ui/vba/vbatableofcontents.cxx
index fda2e0e95acf..49731cfea8be 100644
--- a/sw/source/ui/vba/vbatableofcontents.cxx
+++ b/sw/source/ui/vba/vbatableofcontents.cxx
@@ -106,7 +106,7 @@ SwVbaTableOfContents::getServiceNames()
if ( aServiceNames.getLength() == 0 )
{
aServiceNames.realloc( 1 );
- aServiceNames[ 0 ] = OUString("ooo.vba.word.TableOfContents" );
+ aServiceNames[ 0 ] = "ooo.vba.word.TableOfContents";
}
return aServiceNames;
}
diff --git a/sw/source/ui/vba/vbatables.cxx b/sw/source/ui/vba/vbatables.cxx
index f08b965044bd..1dc799b5fb87 100644
--- a/sw/source/ui/vba/vbatables.cxx
+++ b/sw/source/ui/vba/vbatables.cxx
@@ -228,7 +228,7 @@ SwVbaTables::getServiceNames()
if ( aServiceNames.getLength() == 0 )
{
aServiceNames.realloc( 1 );
- aServiceNames[ 0 ] = OUString("ooo.vba.word.Tables" );
+ aServiceNames[ 0 ] = "ooo.vba.word.Tables";
}
return aServiceNames;
}
diff --git a/sw/source/ui/vba/vbatablesofcontents.cxx b/sw/source/ui/vba/vbatablesofcontents.cxx
index cf6e36d4961f..755d2a2cfdba 100644
--- a/sw/source/ui/vba/vbatablesofcontents.cxx
+++ b/sw/source/ui/vba/vbatablesofcontents.cxx
@@ -177,7 +177,7 @@ SwVbaTablesOfContents::getServiceNames()
if ( sNames.getLength() == 0 )
{
sNames.realloc( 1 );
- sNames[0] = OUString("ooo.vba.word.TablesOfContents");
+ sNames[0] = "ooo.vba.word.TablesOfContents";
}
return sNames;
}
diff --git a/sw/source/ui/vba/vbatabstop.cxx b/sw/source/ui/vba/vbatabstop.cxx
index d780309e6a2c..55b32f6ac1ab 100644
--- a/sw/source/ui/vba/vbatabstop.cxx
+++ b/sw/source/ui/vba/vbatabstop.cxx
@@ -44,7 +44,7 @@ SwVbaTabStop::getServiceNames()
if ( aServiceNames.getLength() == 0 )
{
aServiceNames.realloc( 1 );
- aServiceNames[ 0 ] = OUString("ooo.vba.word.TabStop" );
+ aServiceNames[ 0 ] = "ooo.vba.word.TabStop";
}
return aServiceNames;
}
diff --git a/sw/source/ui/vba/vbatabstops.cxx b/sw/source/ui/vba/vbatabstops.cxx
index bdacbe2908ff..c4ea6eae7761 100644
--- a/sw/source/ui/vba/vbatabstops.cxx
+++ b/sw/source/ui/vba/vbatabstops.cxx
@@ -262,7 +262,7 @@ SwVbaTabStops::getServiceNames()
if ( sNames.getLength() == 0 )
{
sNames.realloc( 1 );
- sNames[0] = OUString("ooo.vba.word.TabStops");
+ sNames[0] = "ooo.vba.word.TabStops";
}
return sNames;
}
diff --git a/sw/source/ui/vba/vbatemplate.cxx b/sw/source/ui/vba/vbatemplate.cxx
index c641baa9b723..0da51fd934d9 100644
--- a/sw/source/ui/vba/vbatemplate.cxx
+++ b/sw/source/ui/vba/vbatemplate.cxx
@@ -127,7 +127,7 @@ SwVbaTemplate::getServiceNames()
if ( aServiceNames.getLength() == 0 )
{
aServiceNames.realloc( 1 );
- aServiceNames[ 0 ] = OUString("ooo.vba.word.Template" );
+ aServiceNames[ 0 ] = "ooo.vba.word.Template";
}
return aServiceNames;
}
diff --git a/sw/source/ui/vba/vbavariable.cxx b/sw/source/ui/vba/vbavariable.cxx
index 0f2ef343533a..404fe6cdc5e9 100644
--- a/sw/source/ui/vba/vbavariable.cxx
+++ b/sw/source/ui/vba/vbavariable.cxx
@@ -88,7 +88,7 @@ SwVbaVariable::getServiceNames()
if ( aServiceNames.getLength() == 0 )
{
aServiceNames.realloc( 1 );
- aServiceNames[ 0 ] = OUString("ooo.vba.word.Variable" );
+ aServiceNames[ 0 ] = "ooo.vba.word.Variable";
}
return aServiceNames;
}
diff --git a/sw/source/ui/vba/vbavariables.cxx b/sw/source/ui/vba/vbavariables.cxx
index c1a4b2d6deb6..ad93d0a188a3 100644
--- a/sw/source/ui/vba/vbavariables.cxx
+++ b/sw/source/ui/vba/vbavariables.cxx
@@ -87,7 +87,7 @@ SwVbaVariables::getServiceNames()
if ( sNames.getLength() == 0 )
{
sNames.realloc( 1 );
- sNames[0] = OUString("ooo.vba.word.Variables");
+ sNames[0] = "ooo.vba.word.Variables";
}
return sNames;
}
diff --git a/sw/source/ui/vba/vbaview.cxx b/sw/source/ui/vba/vbaview.cxx
index 6bc0569f4241..a00b1324a9c5 100644
--- a/sw/source/ui/vba/vbaview.cxx
+++ b/sw/source/ui/vba/vbaview.cxx
@@ -256,10 +256,10 @@ uno::Reference< text::XTextRange > SwVbaView::getHFTextRange( sal_Int32 nType )
case word::WdSeekView::wdSeekPrimaryFooter:
case word::WdSeekView::wdSeekEvenPagesFooter:
{
- aPropIsOn = OUString("FooterIsOn");
- aPropIsShared = OUString("FooterIsShared");
- aPropBodyDistance = OUString("FooterBodyDistance");
- aPropText = OUString("FooterText");
+ aPropIsOn = "FooterIsOn";
+ aPropIsShared = "FooterIsShared";
+ aPropBodyDistance = "FooterBodyDistance";
+ aPropText = "FooterText";
break;
}
case word::WdSeekView::wdSeekCurrentPageHeader:
@@ -267,10 +267,10 @@ uno::Reference< text::XTextRange > SwVbaView::getHFTextRange( sal_Int32 nType )
case word::WdSeekView::wdSeekPrimaryHeader:
case word::WdSeekView::wdSeekEvenPagesHeader:
{
- aPropIsOn = OUString("HeaderIsOn");
- aPropIsShared = OUString("HeaderIsShared");
- aPropBodyDistance = OUString("HeaderBodyDistance");
- aPropText = OUString("HeaderText");
+ aPropIsOn = "HeaderIsOn";
+ aPropIsShared = "HeaderIsShared";
+ aPropBodyDistance = "HeaderBodyDistance";
+ aPropText = "HeaderText";
break;
}
}
@@ -383,7 +383,7 @@ SwVbaView::getServiceNames()
if ( aServiceNames.getLength() == 0 )
{
aServiceNames.realloc( 1 );
- aServiceNames[ 0 ] = OUString("ooo.vba.word.View" );
+ aServiceNames[ 0 ] = "ooo.vba.word.View";
}
return aServiceNames;
}
diff --git a/sw/source/ui/vba/vbawindow.cxx b/sw/source/ui/vba/vbawindow.cxx
index 9649402606f1..f57c329739bf 100644
--- a/sw/source/ui/vba/vbawindow.cxx
+++ b/sw/source/ui/vba/vbawindow.cxx
@@ -141,7 +141,7 @@ SwVbaWindow::getServiceNames()
if ( aServiceNames.getLength() == 0 )
{
aServiceNames.realloc( 1 );
- aServiceNames[ 0 ] = OUString("ooo.vba.word.Window" );
+ aServiceNames[ 0 ] = "ooo.vba.word.Window";
}
return aServiceNames;
}
diff --git a/sw/source/ui/vba/vbawrapformat.cxx b/sw/source/ui/vba/vbawrapformat.cxx
index eabbd835ac00..65e00efe5a1c 100644
--- a/sw/source/ui/vba/vbawrapformat.cxx
+++ b/sw/source/ui/vba/vbawrapformat.cxx
@@ -225,7 +225,7 @@ SwVbaWrapFormat::getServiceNames()
if ( aServiceNames.getLength() == 0 )
{
aServiceNames.realloc( 1 );
- aServiceNames[ 0 ] = OUString("ooo.vba.word.WrapFormat" );
+ aServiceNames[ 0 ] = "ooo.vba.word.WrapFormat";
}
return aServiceNames;
}