summaryrefslogtreecommitdiff
path: root/reportdesign
diff options
context:
space:
mode:
authorTakeshi Abe <tabe@fixedpoint.jp>2012-02-10 23:00:44 +0900
committerTakeshi Abe <tabe@fixedpoint.jp>2012-02-10 23:01:07 +0900
commit2b1758a2dc82200468905f7865468972a691b6a3 (patch)
treec6f43ff867ccd1f73b86ea8ad8f88429d16807e7 /reportdesign
parent05720546215976d8d42fa7321f455c641147db9f (diff)
Prefer equalsAsciiL(RTL_CONSTASCII_STRINGPARAM(...)) to equalsAscii(...)
Diffstat (limited to 'reportdesign')
-rw-r--r--reportdesign/source/ui/report/ReportController.cxx14
1 files changed, 7 insertions, 7 deletions
diff --git a/reportdesign/source/ui/report/ReportController.cxx b/reportdesign/source/ui/report/ReportController.cxx
index ded47ec89da2..bde3c7ff4d1a 100644
--- a/reportdesign/source/ui/report/ReportController.cxx
+++ b/reportdesign/source/ui/report/ReportController.cxx
@@ -2818,19 +2818,19 @@ void SAL_CALL OReportController::restoreViewData(const uno::Any& i_data) throw(
}
else
{
- if ( commandName->equalsAscii( "ShowRuler" ) )
+ if ( commandName->equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("ShowRuler")) )
OSL_VERIFY( rCommandValue >>= m_bShowRuler );
- else if ( commandName->equalsAscii( "HelplinesMove" ) )
+ else if ( commandName->equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("HelplinesMove")) )
OSL_VERIFY( rCommandValue >>= m_bHelplinesMove );
- else if ( commandName->equalsAscii( "GridVisible" ) )
+ else if ( commandName->equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("GridVisible")) )
OSL_VERIFY( rCommandValue >>= m_bGridVisible );
- else if ( commandName->equalsAscii( "GridUse" ) )
+ else if ( commandName->equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("GridUse")) )
OSL_VERIFY( rCommandValue >>= m_bGridUse );
- else if ( commandName->equalsAscii( "ControlProperties" ) )
+ else if ( commandName->equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("ControlProperties")) )
OSL_VERIFY( rCommandValue >>= m_bShowProperties );
- else if ( commandName->equalsAscii( "LastPropertyBrowserPage" ) )
+ else if ( commandName->equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("LastPropertyBrowserPage")) )
OSL_VERIFY( rCommandValue >>= m_sLastActivePage );
- else if ( commandName->equalsAscii( "SplitPosition" ) )
+ else if ( commandName->equalsAsciiL(RTL_CONSTASCII_STRINGPARAM("SplitPosition")) )
OSL_VERIFY( rCommandValue >>= m_nSplitPos );
}
}