Kaydet (Commit) 9fffa618 authored tarafından Noel Grandin's avatar Noel Grandin

convert sc/source/ui/inc/zoomctrl.hxx from String to OUString

Change-Id: I60278f22fd2c4e39c860a4257e1847b3c8ac4f40
üst a3199044
......@@ -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,
......
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment