summaryrefslogtreecommitdiff
path: root/sc/inc
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@suse.com>2011-08-30 00:18:55 -0400
committerKohei Yoshida <kohei.yoshida@suse.com>2011-08-30 00:19:36 -0400
commit711abf15b1391a143998fbc0ec8c5b9378ac62f7 (patch)
treefe9e7530812cae6ae9a8b4d62b9c53b29191571a /sc/inc
parent3c2a26c84e70fd996855181d319970e2230b2459 (diff)
String / bool conversions for ScTableLink.
Diffstat (limited to 'sc/inc')
-rw-r--r--sc/inc/tablink.hxx26
1 files changed, 13 insertions, 13 deletions
diff --git a/sc/inc/tablink.hxx b/sc/inc/tablink.hxx
index 4dba3164f515..98f04225a963 100644
--- a/sc/inc/tablink.hxx
+++ b/sc/inc/tablink.hxx
@@ -42,13 +42,13 @@ class ScTableLink : public ::sfx2::SvBaseLink, public ScRefreshTimer
{
private:
TableLink_Impl* pImpl;
- String aFileName;
- String aFilterName;
- String aOptions;
- sal_Bool bInCreate;
- sal_Bool bInEdit;
- sal_Bool bAddUndo;
- sal_Bool bDoPaint;
+ rtl::OUString aFileName;
+ rtl::OUString aFilterName;
+ rtl::OUString aOptions;
+ bool bInCreate:1;
+ bool bInEdit:1;
+ bool bAddUndo:1;
+ bool bDoPaint:1;
public:
TYPEINFO();
@@ -65,13 +65,13 @@ public:
sal_Bool Refresh(const String& rNewFile, const String& rNewFilter,
const String* pNewOptions /* = NULL */, sal_uLong nNewRefresh );
- void SetInCreate(sal_Bool bSet) { bInCreate = bSet; }
- void SetAddUndo(sal_Bool bSet) { bAddUndo = bSet; }
- void SetPaint(sal_Bool bSet) { bDoPaint = bSet; }
+ void SetInCreate(bool bSet) { bInCreate = bSet; }
+ void SetAddUndo(bool bSet) { bAddUndo = bSet; }
+ void SetPaint(bool bSet) { bDoPaint = bSet; }
- const String& GetFileName() const { return aFileName; }
- const String& GetFilterName() const { return aFilterName; }
- const String& GetOptions() const { return aOptions; }
+ const rtl::OUString& GetFileName() const { return aFileName; }
+ const rtl::OUString& GetFilterName() const { return aFilterName; }
+ const rtl::OUString& GetOptions() const { return aOptions; }
sal_Bool IsUsed() const;