summaryrefslogtreecommitdiff
path: root/starmath/source/view.cxx
diff options
context:
space:
mode:
authorLuboš Luňák <l.lunak@suse.cz>2013-04-07 12:06:47 +0200
committerLuboš Luňák <l.lunak@suse.cz>2013-04-07 14:23:11 +0200
commit1946794ae09ba732022fe6a74ea45e304ab70b84 (patch)
treee32bd7ba61fa021ecc7f8c85959df8ca837d6e81 /starmath/source/view.cxx
parent5b08c6e7a21dda94d5b755eea0b1ed1e9c199bec (diff)
mass removal of rtl:: prefixes for O(U)String*
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk have kept them, in order not to break external API (the automatic using declaration is LO-internal). Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
Diffstat (limited to 'starmath/source/view.cxx')
-rw-r--r--starmath/source/view.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/starmath/source/view.cxx b/starmath/source/view.cxx
index 964e284f3df6..bca602edade9 100644
--- a/starmath/source/view.cxx
+++ b/starmath/source/view.cxx
@@ -527,7 +527,7 @@ void SmGraphicWindow::KeyInput(const KeyEvent& rKEvt)
rCursor.MoveAfterBracket(pBraceNode);
}else{
if(code != 0){
- rCursor.InsertText(rtl::OUString(code));
+ rCursor.InsertText(OUString(code));
}else if (! (GetView() && GetView()->KeyInput(rKEvt)) )
ScrollableWindow::KeyInput(rKEvt);
}
@@ -1003,7 +1003,7 @@ Size SmViewShell::GetTextLineSize(OutputDevice& rDevice, const String& rLine)
if (nTabs > 0)
{
- long TabPos = rDevice.GetTextWidth(rtl::OUString('n')) * 8;
+ long TabPos = rDevice.GetTextWidth(OUString('n')) * 8;
aSize.Width() = 0;
@@ -1093,7 +1093,7 @@ void SmViewShell::DrawTextLine(OutputDevice& rDevice, const Point& rPosition, co
if (nTabs > 0)
{
- long TabPos = rDevice.GetTextWidth(rtl::OUString('n')) * 8;
+ long TabPos = rDevice.GetTextWidth(OUString('n')) * 8;
for (sal_uInt16 i = 0; i < nTabs; i++)
{
@@ -1453,7 +1453,7 @@ bool SmViewShell::Insert( SfxMedium& rMedium )
uno::Reference< container::XNameAccess > xNameAccess( xStorage, uno::UNO_QUERY );
if ( xNameAccess.is() && xNameAccess->getElementNames().getLength() )
{
- if ( xNameAccess->hasByName( rtl::OUString("content.xml") ) || xNameAccess->hasByName( rtl::OUString("Content.xml") ))
+ if ( xNameAccess->hasByName( OUString("content.xml") ) || xNameAccess->hasByName( OUString("Content.xml") ))
{
// is this a fabulous math package ?
Reference<com::sun::star::frame::XModel> xModel(pDoc->GetModel());
@@ -1953,7 +1953,7 @@ SmViewShell::SmViewShell(SfxViewFrame *pFrame_, SfxViewShell *):
SetStatusText(OUString());
SetWindow(&aGraphic);
- SfxShell::SetName(rtl::OUString("SmView"));
+ SfxShell::SetName(OUString("SmView"));
SfxShell::SetUndoManager( &GetDoc()->GetEditEngine().GetUndoManager() );
SetHelpId( HID_SMA_VIEWSHELL_DOCUMENT );
}