diff options
| author | Dana Jansens <danakj@orodu.net> | 2002-04-21 02:17:34 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2002-04-21 02:17:34 +0000 |
| commit | 18499a6920309d6ddfe70767f8a90e2778a96ba7 (patch) | |
| tree | c98c66b096dc3089ee848a2ebd9f5be1895b0bae /src/Toolbar.cc | |
| parent | 32951060f693424bd173888e16382a02949c450e (diff) | |
specify the std:: namespace for the ostrstreams.
Diffstat (limited to 'src/Toolbar.cc')
| -rw-r--r-- | src/Toolbar.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Toolbar.cc b/src/Toolbar.cc index 5f226c2d..12f778eb 100644 --- a/src/Toolbar.cc +++ b/src/Toolbar.cc @@ -215,7 +215,7 @@ Toolbar::~Toolbar() { void Toolbar::setOnTop(bool b) { m_ontop = b; - ostrstream s; + std::ostrstream s; s << "session.screen" << screen.getScreenNumber() << ".toolbar.onTop" << ends; config.setValue(s.str(), m_ontop ? "True" : "False"); s.rdbuf()->freeze(0); @@ -223,7 +223,7 @@ void Toolbar::setOnTop(bool b) { void Toolbar::setAutoHide(bool b) { m_autohide = b; - ostrstream s; + std::ostrstream s; s << "session.screen" << screen.getScreenNumber() << ".toolbar.autoHide" << ends; config.setValue(s.str(), m_autohide ? "True" : "False"); @@ -232,7 +232,7 @@ void Toolbar::setAutoHide(bool b) { void Toolbar::setWidthPercent(int w) { m_width_percent = w; - ostrstream s; + std::ostrstream s; s << "session.screen" << screen.getScreenNumber() << ".toolbar.widthPercent" << ends; config.setValue(s.str(), m_width_percent); @@ -241,7 +241,7 @@ void Toolbar::setWidthPercent(int w) { void Toolbar::setPlacement(int p) { m_placement = p; - ostrstream s; + std::ostrstream s; s << "session.screen" << screen.getScreenNumber() << ".toolbar.placement" << ends; const char *placement; |
