summaryrefslogtreecommitdiff
path: root/sw/source/uibase/uiview
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-11-04 12:47:02 +0200
committerNoel Grandin <noel@peralex.com>2015-11-04 12:47:39 +0200
commitf927cf4d23432341921c55e6983edf9c8ebe7ff7 (patch)
tree494c7f6547456c7e015c6a3e97f24e9925593668 /sw/source/uibase/uiview
parenta66c83d90cdfb8714ef9096d60a60ae807812063 (diff)
loplugin:stringconstant
Change-Id: Ic135382652966e80c288f3407508bdaf0c60316e
Diffstat (limited to 'sw/source/uibase/uiview')
-rw-r--r--sw/source/uibase/uiview/srcview.cxx2
-rw-r--r--sw/source/uibase/uiview/view.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/sw/source/uibase/uiview/srcview.cxx b/sw/source/uibase/uiview/srcview.cxx
index 259d8ec9aabf..fe991822fab2 100644
--- a/sw/source/uibase/uiview/srcview.cxx
+++ b/sw/source/uibase/uiview/srcview.cxx
@@ -319,7 +319,7 @@ void SwSrcView::Execute(SfxRequest& rReq)
{
// filter not found
OUString sHtml("HTML");
- xFltMgr->appendFilter( sHtml, OUString("*.html;*.htm") );
+ xFltMgr->appendFilter( sHtml, "*.html;*.htm" );
xFltMgr->setCurrentFilter( sHtml ) ;
}
diff --git a/sw/source/uibase/uiview/view.cxx b/sw/source/uibase/uiview/view.cxx
index d6f7783d39b5..4eb4d60596c3 100644
--- a/sw/source/uibase/uiview/view.cxx
+++ b/sw/source/uibase/uiview/view.cxx
@@ -984,7 +984,7 @@ SwView::SwView( SfxViewFrame *_pFrame, SfxViewShell* pOldSh )
uno::Reference< frame::XFrame > xFrame = pVFrame->GetFrame().GetFrameInterface();
uno::Reference< frame::XFrame > xBeamerFrame = xFrame->findFrame(
- OUString("_beamer"), frame::FrameSearchFlag::CHILDREN);
+ "_beamer", frame::FrameSearchFlag::CHILDREN);
if(xBeamerFrame.is())
{
SwDBData aData = m_pWrtShell->GetDBData();