diff options
-rw-r--r-- | cui/source/customize/acccfg.cxx | 4 | ||||
-rw-r--r-- | cui/source/customize/cfg.cxx | 2 | ||||
-rw-r--r-- | cui/source/dialogs/hlinettp.cxx | 2 | ||||
-rw-r--r-- | cui/source/options/doclinkdialog.cxx | 2 | ||||
-rw-r--r-- | cui/source/options/optinet2.cxx | 2 | ||||
-rw-r--r-- | cui/source/options/optjava.cxx | 6 | ||||
-rw-r--r-- | cui/source/options/optlingu.cxx | 2 | ||||
-rw-r--r-- | cui/source/options/treeopt.cxx | 4 | ||||
-rw-r--r-- | cui/source/options/webconninfo.cxx | 2 | ||||
-rw-r--r-- | cui/source/tabpages/tpbitmap.cxx | 2 | ||||
-rw-r--r-- | cui/source/tabpages/tpgradnt.cxx | 2 | ||||
-rw-r--r-- | cui/source/tabpages/tphatch.cxx | 2 | ||||
-rw-r--r-- | cui/source/tabpages/tplnedef.cxx | 2 |
13 files changed, 17 insertions, 17 deletions
diff --git a/cui/source/customize/acccfg.cxx b/cui/source/customize/acccfg.cxx index 48dff09649b2..642f2ca18865 100644 --- a/cui/source/customize/acccfg.cxx +++ b/cui/source/customize/acccfg.cxx @@ -1417,8 +1417,8 @@ void SfxAcceleratorConfigPage::StartFileDialog( WinBits nBits, const OUString& r m_pFileDlg = new sfx2::FileDialogHelper( nDialogType, 0 ); m_pFileDlg->SetTitle( rTitle ); - m_pFileDlg->AddFilter( aFilterAllStr, OUString(FILEDIALOG_FILTER_ALL) ); - m_pFileDlg->AddFilter( aFilterCfgStr, OUString("*.cfg") ); + m_pFileDlg->AddFilter( aFilterAllStr, FILEDIALOG_FILTER_ALL ); + m_pFileDlg->AddFilter( aFilterCfgStr, "*.cfg" ); m_pFileDlg->SetCurrentFilter( aFilterCfgStr ); Link<sfx2::FileDialogHelper*,void> aDlgClosedLink = bSave ? LINK( this, SfxAcceleratorConfigPage, SaveHdl ) diff --git a/cui/source/customize/cfg.cxx b/cui/source/customize/cfg.cxx index 623770ef5077..f338b22c0433 100644 --- a/cui/source/customize/cfg.cxx +++ b/cui/source/customize/cfg.cxx @@ -4985,7 +4985,7 @@ IMPL_LINK_NOARG_TYPED( SvxIconSelectorDialog, ImportHdl, Button *, void) } aImportDialog.SetCurrentFilter( - OUString("PNG - Portable Network Graphic")); + "PNG - Portable Network Graphic"); if ( ERRCODE_NONE == aImportDialog.Execute() ) { diff --git a/cui/source/dialogs/hlinettp.cxx b/cui/source/dialogs/hlinettp.cxx index f406ee35cf6a..31579db9748a 100644 --- a/cui/source/dialogs/hlinettp.cxx +++ b/cui/source/dialogs/hlinettp.cxx @@ -136,7 +136,7 @@ void SvxHyperlinkInternetTp::FillDlgFields(const OUString& rStrURL) void SvxHyperlinkInternetTp::setAnonymousFTPUser() { - m_pEdLogin->SetText(OUString(sAnonymous)); + m_pEdLogin->SetText(sAnonymous); SvAddressParser aAddress( SvtUserOptions().GetEmail() ); m_pEdPassword->SetText( aAddress.Count() ? aAddress.GetEmailAddress(0) : OUString() ); diff --git a/cui/source/options/doclinkdialog.cxx b/cui/source/options/doclinkdialog.cxx index 5e08c75c447a..b22ca4b02b58 100644 --- a/cui/source/options/doclinkdialog.cxx +++ b/cui/source/options/doclinkdialog.cxx @@ -164,7 +164,7 @@ namespace svx { ::sfx2::FileDialogHelper aFileDlg( ui::dialogs::TemplateDescription::FILEOPEN_READONLY_VERSION, 0); - const SfxFilter* pFilter = SfxFilter::GetFilterByName(OUString("StarOffice XML (Base)")); + const SfxFilter* pFilter = SfxFilter::GetFilterByName("StarOffice XML (Base)"); if ( pFilter ) { aFileDlg.AddFilter(pFilter->GetUIName(),pFilter->GetDefaultExtension()); diff --git a/cui/source/options/optinet2.cxx b/cui/source/options/optinet2.cxx index a37d5e3263e5..5ea938b21fd5 100644 --- a/cui/source/options/optinet2.cxx +++ b/cui/source/options/optinet2.cxx @@ -1075,7 +1075,7 @@ IMPL_LINK_TYPED( SvxEMailTabPage, FileDialogHdl_Impl, Button*, pButton, void ) OUString sUrl; osl::FileBase::getFileURLFromSystemPath(sPath, sUrl); aHelper.SetDisplayDirectory(sUrl); - aHelper.AddFilter( m_sDefaultFilterName, OUString("*")); + aHelper.AddFilter( m_sDefaultFilterName, "*"); if ( ERRCODE_NONE == aHelper.Execute() ) { diff --git a/cui/source/options/optjava.cxx b/cui/source/options/optjava.cxx index 8d53c397d4a9..c42b6a419ef7 100644 --- a/cui/source/options/optjava.cxx +++ b/cui/source/options/optjava.cxx @@ -107,14 +107,14 @@ public: rBar.LogicToPixel(Size(15, 0), MAP_APPFONT).Width()); long nVersionWidth = 12 + std::max(rBar.GetTextWidth(rBar.GetItemText(3)), - GetTextWidth(OUString("0.0.0_00-icedtea"))); + GetTextWidth("0.0.0_00-icedtea")); long nFeatureWidth = 12 + std::max(rBar.GetTextWidth(rBar.GetItemText(4)), GetTextWidth(m_sAccessibilityText)); long nVendorWidth = std::max(GetSizePixel().Width() - (nCheckWidth + nVersionWidth + nFeatureWidth), 6 + std::max(rBar.GetTextWidth(rBar.GetItemText(2)), - GetTextWidth(OUString("Sun Microsystems Inc.")))); + GetTextWidth("Sun Microsystems Inc."))); long aStaticTabs[]= { 4, 0, 0, 0, 0, 0 }; aStaticTabs[2] = nCheckWidth; aStaticTabs[3] = aStaticTabs[2] + nVendorWidth; @@ -975,7 +975,7 @@ IMPL_LINK_NOARG_TYPED(SvxJavaClassPathDlg, AddArchiveHdl_Impl, Button*, void) { sfx2::FileDialogHelper aDlg( TemplateDescription::FILEOPEN_SIMPLE, 0 ); aDlg.SetTitle( CUI_RES( RID_SVXSTR_ARCHIVE_TITLE ) ); - aDlg.AddFilter( CUI_RES( RID_SVXSTR_ARCHIVE_HEADLINE ), OUString("*.jar;*.zip") ); + aDlg.AddFilter( CUI_RES( RID_SVXSTR_ARCHIVE_HEADLINE ), "*.jar;*.zip" ); OUString sFolder; if ( m_pPathList->GetSelectEntryCount() > 0 ) { diff --git a/cui/source/options/optlingu.cxx b/cui/source/options/optlingu.cxx index bde39e982489..e6231826d6f5 100644 --- a/cui/source/options/optlingu.cxx +++ b/cui/source/options/optlingu.cxx @@ -155,7 +155,7 @@ bool KillFile_Impl( const OUString& rURL ) try { Content aCnt( rURL, uno::Reference< css::ucb::XCommandEnvironment >(), comphelper::getProcessComponentContext() ); - aCnt.executeCommand( OUString("delete"), makeAny( true ) ); + aCnt.executeCommand( "delete", makeAny( true ) ); } catch( css::ucb::CommandAbortedException& ) { diff --git a/cui/source/options/treeopt.cxx b/cui/source/options/treeopt.cxx index ed946e35a565..72e503145f9f 100644 --- a/cui/source/options/treeopt.cxx +++ b/cui/source/options/treeopt.cxx @@ -1611,7 +1611,7 @@ void OfaTreeOptionsDialog::Initialize( const Reference< XFrame >& _xFrame ) AddTabPage( nPageId, rTextArray.GetString(i), nGroup ); } #ifdef DBG_UTIL - AddTabPage( RID_SW_TP_OPTTEST_PAGE, OUString("Internal Test"), nGroup ); + AddTabPage( RID_SW_TP_OPTTEST_PAGE, "Internal Test", nGroup ); #endif } @@ -1627,7 +1627,7 @@ void OfaTreeOptionsDialog::Initialize( const Reference< XFrame >& _xFrame ) AddTabPage( nPageId, rHTMLArray.GetString(i), nGroup ); } #ifdef DBG_UTIL - AddTabPage( RID_SW_TP_OPTTEST_PAGE, OUString("Internal Test"), nGroup ); + AddTabPage( RID_SW_TP_OPTTEST_PAGE, "Internal Test", nGroup ); #endif } } diff --git a/cui/source/options/webconninfo.cxx b/cui/source/options/webconninfo.cxx index c70479645811..4649f3eac485 100644 --- a/cui/source/options/webconninfo.cxx +++ b/cui/source/options/webconninfo.cxx @@ -90,7 +90,7 @@ void PasswordTable::setColWidths() return; long nUserNameWidth = 12 + std::max(rBar.GetTextWidth(rBar.GetItemText(2)), - GetTextWidth(OUString("XXXXXXXXXXXX"))); + GetTextWidth("XXXXXXXXXXXX")); long nWebSiteWidth = std::max( 12 + rBar.GetTextWidth(rBar.GetItemText(1)), GetSizePixel().Width() - nUserNameWidth); diff --git a/cui/source/tabpages/tpbitmap.cxx b/cui/source/tabpages/tpbitmap.cxx index d9fc6138557f..000936a56ad3 100644 --- a/cui/source/tabpages/tpbitmap.cxx +++ b/cui/source/tabpages/tpbitmap.cxx @@ -891,7 +891,7 @@ IMPL_LINK_NOARG_TYPED(SvxBitmapTabPage, ClickSaveHdl_Impl, Button*, void) aFile.Append( m_pBitmapList->GetName() ); if( aFile.getExtension().isEmpty() ) - aFile.SetExtension( OUString("sob") ); + aFile.SetExtension( "sob" ); } aDlg.SetDisplayDirectory( aFile.GetMainURL( INetURLObject::NO_DECODE ) ); diff --git a/cui/source/tabpages/tpgradnt.cxx b/cui/source/tabpages/tpgradnt.cxx index ba6e72c8a9c6..60d9a60a1fd9 100644 --- a/cui/source/tabpages/tpgradnt.cxx +++ b/cui/source/tabpages/tpgradnt.cxx @@ -766,7 +766,7 @@ IMPL_LINK_NOARG_TYPED(SvxGradientTabPage, ClickSaveHdl_Impl, Button*, void) aFile.Append( m_pGradientList->GetName() ); if( aFile.getExtension().isEmpty() ) - aFile.SetExtension( OUString("sog") ); + aFile.SetExtension( "sog" ); } aDlg.SetDisplayDirectory( aFile.GetMainURL( INetURLObject::NO_DECODE ) ); diff --git a/cui/source/tabpages/tphatch.cxx b/cui/source/tabpages/tphatch.cxx index 490be9dbf4d4..46be349633f7 100644 --- a/cui/source/tabpages/tphatch.cxx +++ b/cui/source/tabpages/tphatch.cxx @@ -790,7 +790,7 @@ IMPL_LINK_NOARG_TYPED(SvxHatchTabPage, ClickSaveHdl_Impl, Button*, void) aFile.Append( m_pHatchingList->GetName() ); if( aFile.getExtension().isEmpty() ) - aFile.SetExtension( OUString("soh") ); + aFile.SetExtension( "soh" ); } aDlg.SetDisplayDirectory( aFile.GetMainURL( INetURLObject::NO_DECODE ) ); diff --git a/cui/source/tabpages/tplnedef.cxx b/cui/source/tabpages/tplnedef.cxx index 4ed6ca472e1a..89d4a8209ace 100644 --- a/cui/source/tabpages/tplnedef.cxx +++ b/cui/source/tabpages/tplnedef.cxx @@ -841,7 +841,7 @@ IMPL_LINK_NOARG_TYPED(SvxLineDefTabPage, ClickSaveHdl_Impl, Button*, void) aFile.Append( pDashList->GetName() ); if( aFile.getExtension().isEmpty() ) - aFile.SetExtension( OUString("sod") ); + aFile.SetExtension( "sod" ); } aDlg.SetDisplayDirectory( aFile.GetMainURL( INetURLObject::NO_DECODE ) ); |