summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2013-10-08 13:08:26 +0200
committerNoel Grandin <noel@peralex.com>2013-10-10 09:18:59 +0200
commit9fffa618a967a1f196619e7ae0c22cc15ba6a648 (patch)
treedbb6a6afb4f98299108661e53748b574bb1239ea
parentconvert sw/source/ui/misc/impfnote.hxx from String to OUString (diff)
downloadcore-9fffa618a967a1f196619e7ae0c22cc15ba6a648.tar.gz
core-9fffa618a967a1f196619e7ae0c22cc15ba6a648.zip
convert sc/source/ui/inc/zoomctrl.hxx from String to OUString
Change-Id: I60278f22fd2c4e39c860a4257e1847b3c8ac4f40
-rw-r--r--sw/source/ui/inc/zoomctrl.hxx2
-rw-r--r--sw/source/ui/utlui/zoomctrl.cxx4
2 files changed, 3 insertions, 3 deletions
diff --git a/sw/source/ui/inc/zoomctrl.hxx b/sw/source/ui/inc/zoomctrl.hxx
index 5829dff9295b..d44bb3108119 100644
--- a/sw/source/ui/inc/zoomctrl.hxx
+++ b/sw/source/ui/inc/zoomctrl.hxx
@@ -24,7 +24,7 @@
class SwZoomControl : public SvxZoomStatusBarControl
{
private:
- String sPreviewZoom;
+ OUString sPreviewZoom;
public:
virtual void Command( const CommandEvent& rCEvt );
virtual void StateChanged( sal_uInt16 nSID, SfxItemState eState,
diff --git a/sw/source/ui/utlui/zoomctrl.cxx b/sw/source/ui/utlui/zoomctrl.cxx
index 1b83b837a3d5..d64360aaab88 100644
--- a/sw/source/ui/utlui/zoomctrl.cxx
+++ b/sw/source/ui/utlui/zoomctrl.cxx
@@ -58,7 +58,7 @@ void SwZoomControl::StateChanged( sal_uInt16 nSID, SfxItemState eState,
void SwZoomControl::Paint( const UserDrawEvent& rUsrEvt )
{
- if(!sPreviewZoom.Len())
+ if(sPreviewZoom.isEmpty())
SvxZoomStatusBarControl::Paint(rUsrEvt);
else
GetStatusBar().SetItemText( GetId(), sPreviewZoom );
@@ -66,7 +66,7 @@ void SwZoomControl::Paint( const UserDrawEvent& rUsrEvt )
void SwZoomControl::Command( const CommandEvent& rCEvt )
{
- if(!sPreviewZoom.Len())
+ if(sPreviewZoom.isEmpty())
SvxZoomStatusBarControl::Command(rCEvt);
}